2017-02-01 2 views
1

Ich versuche, ein Python-Source-Paket zu installieren, die C Dateien mit PyPy hat:Installieren von Paketen mit PyPy

pypy setup.py build_ext --inplace 

Aber es zurückschicken:

fatal error C1033: cannot open program database 'c:\users\g1745 iron\downloads\kinterbasdb-3.3.0\"c:\users\user\downloads\kinterbasdb-3.3.0\build\lib.win32-2.7\kinterbasdb\_kinterbasdb.pdb"' 
error: command 'C:\\Users\\user\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\cl.exe' failed with exit status 2 

Muss ich extra Konfiguration tun müssen? Mit Python:

python setup.py build_ext --inplace 

Die Installation wird funktionieren.

Thank.s

Antwort

0

Beispiel: ## Installation ein pyuv

pip install pyuv 

Gebäude

Holen Sie sich die Quelle:

git clone https://github.com/saghul/pyuv 

Linux:

./build_inplace 

Mac OSX:

(XCode needs to be installed) 
export ARCHFLAGS="-arch x86_64" 
./build_inplace 

Microsoft Windows (mit Visual Studio):

python setup.py build_ext --inplace 

für weitere Details: überprüfen Sie diese link

Installation PyPy:

$ tar xf pypy-2.1.tar.bz2 
$ ./pypy-2.1/bin/pypy 

zu Siehe hierzu link hilft Ihnen

Verwandte Themen