Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install fails on Windows OS #15

Open
Zenahr opened this issue Sep 8, 2021 · 3 comments
Open

pip install fails on Windows OS #15

Zenahr opened this issue Sep 8, 2021 · 3 comments

Comments

@Zenahr
Copy link

Zenahr commented Sep 8, 2021

  • gdal2tiles version: latest
  • Python version: 3.8.6
  • Operating System: Windows 10

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
Copy link

Did you find a fix in the meantime @Zenahr?

@Zenahr
Copy link
Author

Zenahr commented Mar 14, 2023

@MindSwipe nope

@bibichuan
Copy link

pip install GDAL-3.9.2-cp39-cp39-win_amd64.whl
pip install gdal2tiles

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants