Open AlexanderJuestel opened 4 months ago
This is a requirement for building GDAL, which I struggled with. I found two solutions: 1) Download binaries from https://github.com/cgohlke/geospatial-wheels/ 2) Use Anaconda, which solves this. 3) Use WinPython, which already has the GDAL binaries included. https://winpython.github.io/
I have in installation instructions. What do you recommend?
I have also added a new version of PyGMI on PyPi, with some bug fixes.
Does the pre-built installer work on Windows without admin rights? (Since this is advertised as the simplest installation method on Windows).
Honestly, I have admin rights, but it is just a standard installer for windows. If you are allowed to install software on the machine, then I don't see why not. Is there an issue?
Honestly, I have admin rights, but it is just a standard installer for windows. If you are allowed to install software on the machine, then I don't see why not. Is there an issue?
Not that I know of! (not a Windows user.)
But I was wondering if @AlexanderJuestel ran into an issue with this method since he decided to go pip install
instead (maybe that's just the old habits kicking in).
Update. Sorry, I misread your answer. Is there not on Windows a difference between installing system-wide (which will require admin rights) and installing as a user (which does not)? I guess that Alexander cannot install anything system-wide.
I am not sure that admin rights would have caused Alexander's problem. I am aware that the GDAL binary had to be built (or pre-built somewhere), so I think that caused the error. With that in mind, I have simplified the installation, since I noticed that GDAL binaries are included in the rasterio library. It should work now via pip, with the new version I uploaded today. I hope it helps.
I have installed the new version of pygmi with pip in verbose mode and AFAICT the Windows compiler is not used.
@AlexanderJuestel, could you pip install pygmi
again and see how it goes?
Dear @Patrick-Cole,
this relates to https://github.com/openjournals/joss-reviews/issues/7019
trying to install PyGMI in a fresh environment using
pip install pygmi
results in the following error.Is Microsoft Visual C++ a must have requirement? I cannot install it on my working laptop due to admin restrictions.