Answer the question
In order to leave comments, you need to log in
Why doesn't pip work in virtualenv?
Trying to start a django project on OS X. Installed virtualenv with python and pip which is in /Libraries/**
Making virtualenv envs/django. source envs/django/bin/activate. I write pip install django. Returns Could not find any downloads that satisfy the requirement django. No distributions at all found for django. Well, with any package, has anyone had such a problem? And how do you work on a mac with python, separate from the installed interpreter in the dependencies of the operating system or with it?
Answer the question
In order to leave comments, you need to log in
Because it doesn't exist yet and needs to be installed:
curl https://bootstrap.pypa.io/get-pip.py > ~/tmp/get-pip.py
python ~/tmp/get-pip.py
As I understand it, on Mac OS, the resources of the built-in python are symlinked, somehow cleverly linked, and so on. In vain I tried to do something extra with the python that is on the poppy as an OS X dependency. Advice to everyone, do not remove or modify the python installed on the poppy. Reinstalled the system, everything worked, he restored the symlinks, package configuration, etc. If you installed via brew, brew reinstall python might help. But it's better to use virtualenv and a wrapper for it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question