Activating virtual environment in: Building Neo4j App w/ Python

In Setting up the Project -> Set up a new Environment:

The directions for creating a virtual environment aren't working. After creating the virtual environment by running the provided command: `python -m venv neoflix` then trying to activate the environment with the provided command: `source neoflix/bin/activate` , I am getting the response "bash: neoflix/bin/activate: No such file or directory".

The command: `pip install neo4j` does not work either.

Hi @jessica_baker ,

Here is the link for the Neo4j Python driver: https://neo4j.com/docs/api/python-driver/current/. Please refer to it for the installation and also for the initial examples. As for the Python venv, you have to check where it is located in your machine and then make the command as source <venv_path>/bin/activate and it will work.

Regards,

Busymo

Follow this procedure:

  1. pip install venv
  2. py -m venv neoflix
  3. pip install -r requirements.txt
  4. flask --app api run