Error Python with PIP

Asked

Viewed 64 times

-2

I tried following command to install the dependencies of my project

pip install -e $PROJETO/calculo-bonus

I am Getting following error:

ERROR: /calculo-bonus is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with svn+, git+, hg+, or bzr+).

1 answer

0


The correct way to install dependencies using Pip is via a file .txt.

To generate this file you need to run the command:

pip freeze > requirements.txt

After running this command just do the installation of the dependencies in your project, for this just run the command:

pip install -r requirements.txt

If you already installed the dependencies in a env previous just load the virtual environment again, using the command:

source env/bin/active

Browser other questions tagged

You are not signed in. Login or sign up in order to post.