・ Python 2.7.13 ・ Packages related to flask that suits the environment
・ Completely offline PC (Windows 10 / with administrator privileges)
・ Online PC (Windows 7 / no administrator authority) ・ USB memory
https://www.python.org/ This time I used 2.7 series.
It's getting annoying
http://qiita.com/maisuto/items/404e5803372a44419d60 I saw this.
If you install it normally, it will be in C: \ Python27. The DLL is python27.dll located in C: \ Windows \ System32.
You can process it on a USB memory without copying it separately.
https://bootstrap.pypa.io/get-pip.py Download this as it is and put it directly under Python27 in 5. Put python27.dll in the same place. ↑ If you do this, it will work even if you do not pass the path because it is the same location as python.exe. ↑ You don't have to install it, and it works without administrator privileges.
It can be anywhere (I think) This time I made it in F: \ Python27 \ tmp
cd /D F:/Python27
python.exe get-pip.py --download .tmp --no-binary :all: flask
If you can download it, it will be in the folder you created.
Anywhere (ry
pip install --no-deps E:Python27\tmp\click-6.7.tar.gz
Install all files like this. I tried wildcards but something didn't work so I did it manually.
http://methane.github.io/flask-handson/start.html I did it from the middle of this. did it.
Recommended Posts