2016-05-30 5 views
1

Von den letzten paar Tagen versuche ich, das pyproj Paket von Python mit Pip installieren. Aber ich bekomme den unten angegebenen Fehler. Ich habe alle relevanten Lösungen ausprobiert, konnte sie aber nicht installieren. Vielen Dank im VorausFehler bei der Installation von Pyproj in Python 3.5

C:\Users\ashujaimini\PycharmProjects\untitled1>pip install Pillow 
Requirement already satisfied (use --upgrade to upgrade): Pillow in c:\users\ashujaimini\anaconda3\lib\site-packages 

C:\Users\ashujaimini\PycharmProjects\untitled1>pip install pyproj 
Collecting pyproj 
    Using cached pyproj-1.9.5.1.tar.gz 
    Complete output from command python setup.py egg_info: 
    using bundled proj4.. 
    Traceback (most recent call last): 
     File "<string>", line 1, in <module> 
     File "C:\Users\ASHUJA~1\AppData\Local\Temp\pip-build-nwtkvc3t\pyproj\setup.py", line 72, in <module> 
     objects = cc.compile(['nad2bin.c', 'src/pj_malloc.c']) 
     File "c:\users\ashujaimini\anaconda3\lib\distutils\_msvccompiler.py", line 317, in compile 
     self.initialize() 
     File "c:\users\ashujaimini\anaconda3\lib\distutils\_msvccompiler.py", line 210, in initialize 
     vc_env = _get_vc_env(plat_spec) 
     File "c:\users\ashujaimini\anaconda3\lib\distutils\_msvccompiler.py", line 85, in _get_vc_env 
     raise DistutilsPlatformError("Unable to find vcvarsall.bat") 
    distutils.errors.DistutilsPlatformError: Unable to find vcvarsall.bat 


**Command "python setup.py egg_info" failed with error code 1 in C:\Users\ASHUJA~1\AppData\Local\Temp\pip-build-nwtkvc3t\pyproj\** 
+0

können Sie Ihre OS-Details angeben? –

Antwort

1

Versuchen Sie, diese

easy_install pyproj 

oder

sudo easy_install pyproj 

oder die TAR-Datei aus pyproj downloaden und versuchen

pip install [path to downloaded tar file] 
0

Pyproj Bedürfnisse zu laufen Ein Compiler (vcvarsall.bat Hinweise auf ein Visual C in Windows), die Sie nicht installiert zu haben scheinen. Anstatt von der Quelle zu installieren, empfehle ich, eine pre-compiled wheel und install the package from that herunterzuladen.

Verwandte Themen