http://tryhelloworld.co.kr/courses/%EC%9E%A5%EA%B3%A0%EB%A5%BC-%ED%99%9C%EC%9A%A9%ED%95%9C-%EC%9B%B9%EC%82%AC%EC%9D%B4%ED%8A%B8-%EB%A7%8C%EB%93%A4%EA%B8%B0/lessons/%EC%9E%A5%EA%B3%A0-%ED%94%84%EB%A1%9C%EC%A0%9D%ED%8A%B8-%EB%A7%8C%EB%93%A4%EA%B8%B0 I'm practicing after watching the lecture.
The environment is ubuntu14.04 as a server, and Python 2.7 version seems to be installed first (not for sure) Therefore, when the python 2.7 version was deleted, there was a dependency problem in the system, so it was not deleted, so it was installed at the same time as the newly installed python 3.5.
I opened it because you said that the progress should be made in pip3 version.
After running django-admin with pip3, the following message appeared while running manage.py.
ImportError: No module named django
I checked the version of pip3 to catch the error above
The version of pip is 1.5.4, and pip 1.5.4 from /usr/lib/python3/dist-packages (python 3.5) The version of pip3 I installed earlier was pip 8.1.1 from /usr/local/lib/python 3.4/dist-packages (python 3.4)
That's what it says, but the version is much higher. I wonder if it's because of the version.
Is it possible to change the Python version of pip3 to 3.5 instead of 3.4 automatically matched?
python3.4 -m pip --version
python3.5 -m pip --version
python django
Did you do python3 manage.py runserver
after pip3 install django
?
You didn't do python manage.py runserver
, did you?
It's a self-answer!
What I was curious about is that the pip3 version is matched with 3.4 The low 1.5.4 pip version is matched by Python 3.5.
There was an error when I wanted to run server with Python 3.5.
I looked it up and I was able to upgrade my pip Haha
sudo python3.5 -m pip install --upgrade pip After upgrading to
sudo python3.5 -m pip -V If you check the version with the , it's upgraded well
Thank you to Jung Doo-sik for answering!
922 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
573 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
576 Who developed the "avformat-59.dll" that comes with FFmpeg?
623 Uncaught (inpromise) Error on Electron: An object could not be cloned
© 2024 OneMinuteCode. All rights reserved.