Windows XP に Python 2.7 をインストールした後、手動で to を設定%PATH%
しpython.exe
(python インストーラーがこれを行わないのはなぜですか?)、次にインストールしsetuptools 0.6c11
(python インストーラーがこれを行わないのはなぜですか?)、次に手動で to を設定%PATH%
しますeasy_install.exe
(なぜ 'しないのですか?)インストーラーはこれを行いますか?)、最終的に で python パッケージをインストールしようとしましたが、依存関係である pywin32 パッケージをインストールできずに失敗しましたeasy_install
。Windows XP で easy_install を正しく動作させるにはどうすればよいですか? 失敗は次のとおりです。easy_install
C:\>easy_install winpexpect winpexpect の検索 ベストマッチ: winpexpect 1.4 winpexpect-1.4-py2.7.egg の処理中 winpexpect 1.4 はすでに easy-install.pth のアクティブなバージョンです c:\python27\lib\site-packages\winpexpect-1.4-py2.7.egg の使用 winpexpect の依存関係の処理 pywin32>=214 を検索しています http://pypi.python.org/simple/pywin32/ を読む http://sf.net/projects/pywin32 を読む http://sourceforge.net/project/showfiles.php?group_id=78018 を読む pywin32>=214 のローカル パッケージまたはダウンロード リンクが見つかりません ベストマッチ:なし トレースバック (最新の呼び出しが最後): ファイル「C:\python27\scripts\easy_install-script.py」の 8 行目 load_entry_point('setuptools==0.6c11', 'console_scripts', 'easy_install')() メインのファイル「C:\python27\lib\site-packages\setuptools\command\easy_install.py」の 1712 行目 with_ei_usage(ラムダ: ファイル「C:\python27\lib\site-packages\setuptools\command\easy_install.py」、1700 行目、with_ei_usage 内 f() を返す ファイル「C:\python27\lib\site-packages\setuptools\command\easy_install.py」の 1716 行目 distclass=DistributionWithoutHelpCommands, **kw ファイル「C:\python27\lib\distutils\core.py」、152 行目、セットアップ中 dist.run_commands() ファイル「C:\python27\lib\distutils\dist.py」、953 行目、run_commands self.run_command(cmd) ファイル「C:\python27\lib\distutils\dist.py」、972 行目、run_command cmd_obj.run() ファイル「C:\python27\lib\site-packages\setuptools\command\easy_install.py」、211 行目、実行中 self.easy_install (仕様、self.no_deps ではありません) ファイル「C:\python27\lib\site-packages\setuptools\command\easy_install.py」、行 446、easy_install return self.install_item(spec, dist.location, tmpdir, deps) ファイル「C:\python27\lib\site-packages\setuptools\command\easy_install.py」、481 行目、install_item self.process_distribution(spec, dists[0], deps, "使用中") ファイル「C:\python27\lib\site-packages\setuptools\command\easy_install.py」、519 行目、process_distribution 内 【必要条件】、self.local_index、self.easy_install ファイル「C:\python27\lib\site-packages\pkg_resources.py」、行 563、解決 dist = best[req.key] = env.best_match(req、self、installer) ファイル「C:\python27\lib\site-packages\pkg_resources.py」、799 行目、best_match return self.obtain(req, installer) # 試してダウンロード/インストール ファイル「C:\python27\lib\site-packages\pkg_resources.py」、行 811、取得 返却インストーラー(必須) ファイル「C:\python27\lib\site-packages\setuptools\command\easy_install.py」、行 434、easy_install self.local_index ファイル「C:\python27\lib\site-packages\setuptools\package_index.py」、475 行目、fetch_distribution 内 dist.clone(location=self.download(dist.location, tmpdir)) を返す AttributeError: 'NoneType' オブジェクトには属性 'clone' がありません