リクエストモジュール(python 2.7)をウィンドウにインストールする際に問題が発生しています。 リクエストモジュールをPython 2.7ウィンドウにインストールする
はdocuemntationごとに以下の手順を試し:
pip install requests
エラー
'pip' is not recognized as an internal or external command, operable program or batch file.
easy_install requests
エラー
'easy_install' is not recognized as an internal or external command, operable program or batch file.
setup.py
エラー
C:\Location\Python\lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'zip_safe' warnings.warn(msg)
C:\Location\Python\lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'include_package_data' warnings.warn(msg)
C:\Location\Python\lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'install_requires' warnings.warn(msg)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: no commands supplied
誰でも、新しいものをダウンロードすることなく、Windowsにモジュールをインストールする方法を教えてください。
pipとeasy_installの両方でダウンロードが必要です。 setup.pyを見て、それが取るコマンドを見てみましたか? – TehTris
_something_をダウンロードする必要があります。たとえあなたが 'pip'をインストールしていて、それがあなたのためにすべてをしたとしても、それを行うには'明らかに '要求をダウンロードする必要があります。だから、あなたが求めている_actual_要件は何ですか? – abarnert
とにかく、(a) 'pip'をセットアップし、今から使うか、(b)[Christoph Gohlkeのバイナリパッケージ](http://www.lfd.uci.edu/ 〜gohlke/pythonlibs /)、あなたが構築していないパッケージ(または彼が持っている新しいバージョン)を必要としないことを願っています。私は強くお勧めします。(a) - あなたはプログラマーです。マシンの使い方を知っておくべきですが、(b)も使えます。 – abarnert