I'm trying to install BitTornado for Python 2.7 using requirements.txt, I get the following error:
Collecting requirements.txt Could not find a version that satisfies the requirement requirements.txt (from versions: ) No matching distribution found for requirements.txt
Here is my code in requirements.txt:
-e git+https://github.com/effigies/BitTornado.git#egg=python2.7
I also tried -e git+https://github.com/effigies/[email protected] but still not working. Does someone know why is this happening?
Note: "python2.7" is the branch name
Thanks in Advance
One of the most common problems with running Python tools like pip is the “not on PATH” error. This means that Python cannot find the tool you're trying to run in your current directory. In most cases, you'll need to navigate to the directory in which the tool is installed before you can run the command to launch it.
Requirements files serve as a list of items to be installed by pip, when using pip install. Files that use this format are often called “pip requirements. txt files”, since requirements. txt is usually what these files are named (although, that is not a requirement).
Typically the requirements. txt file is located in the root directory of your project. Notice we have a line for each package, then a version number. This is important because as you start developing your python applications, you will develop the application with specific versions of the packages in mind.
The correct command is pip install -r requirements.txt
. Note the -r
option; without it, pip thinks you want to install a package named requirements.txt
, which doesn't exist.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With