cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

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".  

 

1 ACCEPTED SOLUTION

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

View solution in original post

2 REPLIES 2

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