M
M
missisli2015-02-04 20:39:21
Django
missisli, 2015-02-04 20:39:21

Why isn't Django boom boom on Python3?

So we are:
sudo pip install django
Then we are: And everything is fine. But then we: And he is like this:
python -c 'import django'
python3 -c 'import django'

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named 'django'

And we are - what for!?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
President42, 2015-02-04
@missisli

And then we kind of guess that "pip install" installs the libraries for Python 2.x
And we take it, we go to Google, which friendly offers us a look at pip3

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question