Django

sincei 2018-05-30

そういえば記事を作っていなかった。

https://djangogirlsjapan.gitbooks.io/workshop_tutorialjp/django_installation/

WSL Ubuntu 16.04

まずは Python 3.6 を入れよう

https://askubuntu.com/questions/865554/how-do-i-install-python-3-6-using-apt-get

$ sudo add-apt-repository ppa:deadsnakes/ppa
$ sudo apt-get update
$ sudo apt-get install python3.6

$ python3 -V
Python 3.5.2

$ python3.6 -V
Python 3.6.5

だが pip がない

$ python3.6 -m pip
/usr/bin/python3.6: No module named pip

https://qiita.com/TKYK38/items/2a73696a9d8f1f856f68

https://pip.pypa.io/en/stable/installing/

こうするのか

$ sudo apt-get install python3.6-dev
$ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
$ sudo python3.6 get-pip.py

$ python3.6 -m pip -V
pip 10.0.1 from /usr/local/lib/python3.6/dist-packages/pip (python 3.6)

これでよし

django.txt · 最終更新: 2018/05/30 18:22 by Takuya Nishimoto
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0