2017-02-23 3 views
0

저는 ArcGIS에서 제공하는 Python 2.7 (Python 2.7) 및 Windows 10에서 Python 3.5를 실행하고 있습니다. 나는 바이너리를 사용하여 GDAL를 설치하는 것을 시도하고있다, 그러나 나는 다음과 같은 오류 수신 계속 : 나는 성공적으로 버전 2.7에했던 핍, 업데이트 Windows에 GDAL 설치 문제. pip 업데이트 할 수 없습니다.

Complete output from command python setup.py egg_info: 
 
    Traceback (most recent call last): 
 
     File "<string>", line 20, in <module> 
 
     File "C:\Users\NO39B5~1\AppData\Local\Temp\pip-build-fqt5us1x\shapely\setup.py", line 38, in <module> 
 
     from shapely._buildcfg import geos_version_string, geos_version, \ 
 
     File "C:\Users\NO39B5~1\AppData\Local\Temp\pip-build-fqt5us1x\shapely\shapely\_buildcfg.py", line 200, in <module> 
 
     lgeos = CDLL("geos.dll") 
 
     File "C:\Users\NoΘ\AppData\Local\Programs\Python\Python35\lib\ctypes\__init__.py", line 347, in __init__ 
 
     self._handle = _dlopen(self._name, mode) 
 
    OSError: [WinError 126] The specified module could not be found 
 

 
    ---------------------------------------- 
 
Command "python setup.py egg_info" failed with error code 1 in C:\Users\NO39B5~1\AppData\Local\Temp\pip-build-fqt5us1x\shapely 
 
You are using pip version 7.1.2, however version 9.0.1 is available. 
 
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
가 그럼 난 시도를하지만 때

C:\Users\Noé\Downloads>py -3.5 get-pip.py 
 
Collecting pip 
 
    Using cached pip-9.0.1-py2.py3-none-any.whl 
 
Collecting wheel 
 
    Using cached wheel-0.29.0-py2.py3-none-any.whl 
 
Installing collected packages: pip, wheel 
 
    Found existing installation: pip 7.1.2 
 
Exception: 
 
Traceback (most recent call last): 
 
    File "C:\Users\NO39B5~1\AppData\Local\Temp\tmp293_3msk\pip.zip\pip\basecommand.py", line 215, in main 
 
    status = self.run(options, args) 
 
    File "C:\Users\NO39B5~1\AppData\Local\Temp\tmp293_3msk\pip.zip\pip\commands\install.py", line 342, in run 
 
    prefix=options.prefix_path, 
 
    File "C:\Users\NO39B5~1\AppData\Local\Temp\tmp293_3msk\pip.zip\pip\req\req_set.py", line 778, in install 
 
    requirement.uninstall(auto_confirm=True) 
 
    File "C:\Users\NO39B5~1\AppData\Local\Temp\tmp293_3msk\pip.zip\pip\req\req_install.py", line 694, in uninstall 
 
    for path in pip.wheel.uninstallation_paths(dist): 
 
    File "C:\Users\NO39B5~1\AppData\Local\Temp\tmp293_3msk\pip.zip\pip\wheel.py", line 534, in unique 
 
    for item in fn(*args, **kw): 
 
    File "C:\Users\NO39B5~1\AppData\Local\Temp\tmp293_3msk\pip.zip\pip\wheel.py", line 553, in uninstallation_paths 
 
    r = csv.reader(FakeFile(dist.get_metadata_lines('RECORD'))) 
 
    File "C:\Users\NO39B5~1\AppData\Local\Temp\tmp293_3msk\pip.zip\pip\_vendor\pkg_resources\__init__.py", line 1472, in get_metadata_lines 
 
    return yield_lines(self.get_metadata(name)) 
 
    File "C:\Users\NO39B5~1\AppData\Local\Temp\tmp293_3msk\pip.zip\pip\_vendor\pkg_resources\__init__.py", line 1469, in get_metadata 
 
    return value.decode('utf-8') if six.PY3 else value 
 
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 22367: invalid continuation byte 
 
You are using pip version 7.1.2, however version 9.0.1 is available. 
 
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

01 : 나는 다음과 같은 오류를 얻을 버전 3.5에서 동일한 절차를 수행하려고

많은 웹 사이트와 포럼에서 답변을 검색해 봤는데 오류의 원인은 내 사용자 이름이 인 특수 문자입니다. 인코딩 "오류"가 수정되도록 설치 코드를 실행하는 방법이 있습니까? 가장 확실한 방법은 내 사용자 폴더의 이름을 변경하는 것이지만 대부분 PC에 해를 끼칠 가능성이 높습니다.

내 가정이 틀린 경우 문제가되는 원인은 무엇입니까?

답변

0

복잡한 작업 대신 Python을 제거한 다음 주 드라이브의 독점 디렉터리에 다시 설치했습니다.