Installation on Windows 10 #67
-
I am working with Python 3.10 and I am unable to install geograpy3 into a venv although I can do it on Linux without any problems. I have Microsoft C++ on my machine but it still cannot find lxml when I do pip in the venv. In fact I can even install outside of the venv. I am sure that this is a temporary problem but in the meantime, any help would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
Can you share the command used and the output? |
Beta Was this translation helpful? Give feedback.
-
@HEHenson i had problems with lxml recently myself see https://bugs.launchpad.net/lxml/+bug/1997267. If the library is just used and not built you should be fine though. "3.10" and Windows is in the build matrix for the CI of this project so there should not be a problem in principle. (Except that in my experience Windows has been a nightmare for far too long now ...) |
Beta Was this translation helpful? Give feedback.
-
@HEHenson @WolfgangFahl I have been thinking today on how to fix this problem. One potential way is to install a package called pipwin, which automatically downloads and installs python packages from https://www.lfd.uci.edu/~gohlke/pythonlibs repository. A downside to this solution is that we are adding an extra python package (pipwin). An ideal solution would be to install pipwin only on Windows and skip its installation for macOS and Linux. Let me know what you think. |
Beta Was this translation helpful? Give feedback.
-
@somnathrakshit - Hi Somnath - nice to hear from your again. While i understand your urge to help the poor Windows users i think that the problem(s) need to be solved by the folks in Redmond, WA (or by the users for that matter - see Ubuntu bug #1 |
Beta Was this translation helpful? Give feedback.
@HEHenson i had problems with lxml recently myself see https://bugs.launchpad.net/lxml/+bug/1997267. If the library is just used and not built you should be fine though. "3.10" and Windows is in the build matrix for the CI of this project so there should not be a problem in principle. (Except that in my experience Windows has been a nightmare for far too long now ...)