V
V
Vladimir Gunaev2018-09-24 14:22:49
Django
Vladimir Gunaev, 2018-09-24 14:22:49

When installing django, I get an error, what should I do?

$ pip install Django
Requirement already satisfied: Django in c:\users\gunaevart\appdata\local\programs\python\python37-32\lib\site-packages (2.1.1)
Requirement already satisfied: pytz in c:\users\ gunaevart\appdata\local\programs\python\python37-32\lib\site-packages (from Django) (2018.5)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Zubenko, 2018-09-24
@JawsIk

My friend I had something like this, when the virtual environment was not installed correctly. It was on windows 7, and even when I created the project through PyCharm and he (PyCharm) created the virtual environment. So in the terminal line I saw (venv) [email protected]:
but when I called pip freeze, I saw that all modules were pulled from the global version of python. And it turns out that I want to install Django, but I already have it installed in the global version and there was some kind of conflict. I had to go into the virtual environment folder and edit activate.bat. But that's a completely different story.
The answer is for you to find out if you have "plasticine stuck together" between the global version of python and your virtual environment (if there is one, of course). And if it is, then a possible solution would be to correct this conflict.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question