Getting Python and Fabric Installed on Windowsのガイドを使用してWindows 7にPython Fabricをインストールしようとしています。 PyCryptoとファブリックをインストールするにはPython easy_installがchmod-errorをスローする
、ガイドで推奨されているように私は、easy_installをを使用したが、両方とも失敗し、chmodコマンド・エラーを返す:
Using c:\python27\lib\site-packages\fabric-1.3.4-py2.7.egg
Processing dependencies for fabric
Searching for pycrypto>=2.1,!=2.4
Reading http://pypi.python.org/simple/pycrypto/
Reading http://pycrypto.sourceforge.net
Reading http://www.amk.ca/python/code/crypto
Reading http://www.pycrypto.org/
Best match: pycrypto 2.5
Downloading http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/pycrypto-2.5.tar.gz
Processing pycrypto-2.5.tar.gz
Running pycrypto-2.5\setup.py -q bdist_egg --dist-dir c:\users\birgit\appdata\local\temp\easy_install-nzrlow\pycrypto-2.5\egg-dist-tmp-_pwkm4
The command "chmod" is spelled wrong or could not be found.
Traceback (most recent call last):
File "C:\Python27\Scripts\easy_install-script.py", line 8, in <module> load_entry_point('setuptools==0.6c12dev-r88846', 'console_scripts', 'easy_install')()
File "C:\Python27\lib\site-packages\setuptools-0.6c12dev_r88846-py2.7.egg\setuptools\command\easy_install.py", line 1712, in main
[... lots and lots of lines... (if they are relevant, I'll post them)]
File "C:\Python27\lib\distutils\dist.py", line 972, in run_command cmd_obj.run()
File "setup.py", line 269, in run
RuntimeError: chmod error
私はこのchmodの-事について多くを知らないが、私はWindowsにchmodはないと思った?
easy_installを実際に動作させるにはどうすればよいですか?
私は同様の質問hereを送りました。(感謝します@ J.F。Sebastian)これらのパッケージを布なしでインストールするための回避策が見つかりました。しかし今、私はeasy_installで問題を解決する方法を知りたいです。
ありがとうございます! UACが仕事をしました! – DIF
また、この問題を抱えている他の人には、Shift + Enterを押して、別のアカウントにサインインするのではなく、管理者としてプログラムを実行できます。あなたはまだパスワードが必要になります。 – Droogans