I just changed my project's interpreter to python 3.6 and have to install git library again.
When i run the command "pip install --proxy=some_proxy git" i get the following error message:
"Could not find a version that satisfies the requirement git (from versions: ) No matching distribution found for git".
Why does it happen ?
pip should be bundled with 3.6. Check the bin directory in your distribution, alternatively try pip3 .
You can use pip to install directly from a git repository. To install flask the shortest version of the command is pip install git+https://github.com/pallets/flask.git . Notice how pip has stored the specific commit hash used when installing.
Key terms. pip is the preferred installer program. Starting with Python 3.4, it is included by default with the Python binary installers. A virtual environment is a semi-isolated Python environment that allows packages to be installed for use by a particular application, rather than being installed system wide.
Install setuptools for Python3 : apt-get install python3-setuptools. Now pip for Python3 could be installed by: python3 -m easy_install pip. Now you can use pip with the specific version of Python to install package for Python 3 by: pip-3.2 install [package]
I was getting the same error. Using
pip install gitpython
solved the problem
The error means that there is no such package as git
. Check the name of the package you want to install.
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