tehamalab / gdal2tiles

A python library for generating map tiles based on gdal2tiles.py from GDAL project
http://gdal2tiles.rtfd.io/
MIT License
86 stars 32 forks source link

pip install fails on Windows OS #15

Open Zenahr opened 3 years ago

Zenahr commented 3 years ago

Description

I tried

pip install gdal2tiles

Stacktrace

C:\Users\STUDIUM>pip install gdal2tiles
Defaulting to user installation because normal site-packages is not writeable
Collecting gdal2tiles
  Using cached gdal2tiles-0.1.9.tar.gz (201 kB)
Collecting pygdal
  Using cached pygdal-3.3.1.7.tar.gz (490 kB)
    ERROR: Command errored out with exit status 1:
     command: 'c:\program files\python38\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\STUDIUM\\AppData\\Local\\Temp\\pip-install-66zjavqf\\pygdal\\setup.py'"'"'; __file__='"'"'C:\\Users\\STUDIUM\\AppData\\Local\\Temp\\pip-install-66zjavqf\\pygdal\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\STUDIUM\AppData\Local\Temp\pip-pip-egg-info-6sl7etpd'
         cwd: C:\Users\STUDIUM\AppData\Local\Temp\pip-install-66zjavqf\pygdal\
    Complete output (8 lines):
    running egg_info
    creating C:\Users\STUDIUM\AppData\Local\Temp\pip-pip-egg-info-6sl7etpd\pygdal.egg-info
    writing C:\Users\STUDIUM\AppData\Local\Temp\pip-pip-egg-info-6sl7etpd\pygdal.egg-info\PKG-INFO
    writing dependency_links to C:\Users\STUDIUM\AppData\Local\Temp\pip-pip-egg-info-6sl7etpd\pygdal.egg-info\dependency_links.txt
    writing requirements to C:\Users\STUDIUM\AppData\Local\Temp\pip-pip-egg-info-6sl7etpd\pygdal.egg-info\requires.txt
    writing top-level names to C:\Users\STUDIUM\AppData\Local\Temp\pip-pip-egg-info-6sl7etpd\pygdal.egg-info\top_level.txt
    writing manifest file 'C:\Users\STUDIUM\AppData\Local\Temp\pip-pip-egg-info-6sl7etpd\pygdal.egg-info\SOURCES.txt'
    error: [WinError 2] The system cannot find the file specified
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
MindSwipe commented 1 year ago

Did you find a fix in the meantime @Zenahr?

Zenahr commented 1 year ago

@MindSwipe nope