Python 3.5.4 + get-pip.py を Windows 2000で
Python 3.2.5 + get-pip.py を Windows 2000で
Python 3.3.4 + get-pip.py を Windows 2000で
Python 3.4.5 の pip をWindows 2000でアップデートしてみた
同様に Python 3.3.5
でやってみた。
Python 3.3 は 3.3.7 が最新なのだけどバイナリは公開されてないようだ・ω・
Python 3.3も 専用のget-pip.py を使います
https://bootstrap.pypa.io/3.3/get-pip.py
python-3.5.4-embed-win32 を解凍して実行した。
python get-pip.py --proxy=127.0.0.1:6060 --cert "C:\Proxydomo_1.107\Proxydomo\ca.pem.crt"
こんな感じで指定
Collecting pip Using cached https://files.pythonhosted.org/packages/d8/f3/413bab4ff08e1fc4828 dfc59996d721917df8e8583ea85385d51125dceff/pip-19.0.3-py2.py3-none-any.whl Collecting setuptools Downloading https://files.pythonhosted.org/packages/d1/6a/4b2fcefd2ea0868810e9 2d519dacac1ddc64a2e53ba9e3422c3b62b378a6/setuptools-40.8.0-py2.py3-none-any.whl (575kB) 100% |################################| 583kB 546kB/s Collecting wheel Downloading https://files.pythonhosted.org/packages/96/ba/a4702cbb6a3a485239fb e9525443446203f00771af9ac000fa3ef2788201/wheel-0.33.1-py2.py3-none-any.whl Installing collected packages: pip, setuptools, wheel The script wheel.exe is installed in 'C:\Documents and Settings\MOF\Applicatio n Data\Python\Python35\Scripts' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warn ing, use --no-warn-script-location. Successfully installed pip-19.0.3 setuptools-40.8.0 wheel-0.33.1 |
これも無事インストールできた
インストール先は %APPDATA%\python\python35\site-packages になった
Exception: Traceback (most recent call last): File "C:\DOCUME~1\MOF\LOCALS~1\Temp\tmpp2wm0b01\pip.zip\pip\_internal\cli\base _command.py", line 179, in main status = self.run(options, args) File "C:\DOCUME~1\MOF\LOCALS~1\Temp\tmpp2wm0b01\pip.zip\pip\_internal\commands \install.py", line 393, in run use_user_site=options.use_user_site, File "C:\DOCUME~1\MOF\LOCALS~1\Temp\tmpp2wm0b01\pip.zip\pip\_internal\req\__in it__.py", line 57, in install_given_reqs **kwargs File "C:\DOCUME~1\MOF\LOCALS~1\Temp\tmpp2wm0b01\pip.zip\pip\_internal\req\req_ install.py", line 913, in install use_user_site=use_user_site, pycompile=pycompile, File "C:\DOCUME~1\MOF\LOCALS~1\Temp\tmpp2wm0b01\pip.zip\pip\_internal\req\req_ install.py", line 445, in move_wheel_files warn_script_location=warn_script_location, File "C:\DOCUME~1\MOF\LOCALS~1\Temp\tmpp2wm0b01\pip.zip\pip\_internal\wheel.py ", line 320, in move_wheel_files prefix=prefix, File "C:\DOCUME~1\MOF\LOCALS~1\Temp\tmpp2wm0b01\pip.zip\pip\_internal\location s.py", line 180, in distutils_scheme i.finalize_options() File "distutils\command\install.py", line 274, in finalize_options File "distutils\command\install.py", line 437, in finalize_other distutils.errors.DistutilsPlatformError: User base directory is not specified |
なお、3.6.8 の場合はダウンロードはうまくいくが インストール中でユーザー基本フォルダが不正と言われて失敗する。
Comments