尝试在Python 2.7上安装libs时,.ddl缺少错误 - Win 8.1

时间:2014-03-22 23:37:34

标签: python python-2.7 dll pip

我正在尝试安装python 2.7和我常用的库。

安装了Python 2.7(shell似乎没问题) - 我的配置:win8.1 64bits

之后安装了Setuptools,pip和virtualenv

还安装了Microsoft Visual C ++ 2008 redistribuable(以修复[vcvarsall.bat]错误),并且我取消了基本的2010 Visual Studio。

当我尝试安装我的libs时,我收到这些弹出错误:

  • 安装虚拟env = MSvcr100.dll缺失

  • 没有env = python27.dll缺失的安装

以下是尝试安装psyopg2的一个示例

        writing manifest file 'pip-egg-info\psycopg2.egg-info\SOURCES.txt'

        warning: manifest_maker: standard file '-c' not found



            Error:

            ----------------------------------------
            Cleaning up...
              Removing temporary dir c:\users\xcpro\appdata\local\temp\pip_build_xcpro...
            Command python setup.py egg_info failed with error code 1 in c:\users\xcpro\appdata\local\temp\pip_build_xcpro\psycopg2
            Exception information:
            Traceback (most recent call last):
              File "C:\Users\xcpro\AppData\Roaming\Python\Python27\site-packages\pip-1.5.4-py2.7.egg\pip\basecommand.py", line 122, in main
                status = self.run(options, args)
              File "C:\Users\xcpro\AppData\Roaming\Python\Python27\site-packages\pip-1.5.4-py2.7.egg\pip\commands\install.py", line 278, in run
                requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
              File "C:\Users\xcpro\AppData\Roaming\Python\Python27\site-packages\pip-1.5.4-py2.7.egg\pip\req.py", line 1229, in prepare_files
                req_to_install.run_eg

    g_info()
              File "C:\Users\xcpro\AppData\Roaming\Python\Python27\site-packages\pip-1.5.4-py2.7.egg\pip\req.py", line 325, in run_egg_info
                command_desc='python setup.py egg_info')
              File "C:\Users\xcpro\AppData\Roaming\Python\Python27\site-packages\pip-1.5.4-py2.7.egg\pip\util.py", line 697, in call_subprocess

    % (command_desc, proc.returncode, cwd))
        InstallationError: Command python setup.py egg_info failed with error code 1 in c:\users\xcpro\appdata\local\temp\pip_build_xcpro\psycopg2



I tried reinstallation, all possible things without success (except from downloading a dll, which seems to be risky...). Having spent 8hours in vain... any idea ?


  [1]: http://stackoverflow.com/questions/2817869/error-unable-to-find-vcvarsall-bat

0 个答案:

没有答案