Installing Hub package on Windows fails
See original GitHub issueππ Bug Report
Running pip install hub
fails.
Here is the error
ERROR: Command errored out with exit status 1:
command: 'c:\python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\edogr\\AppData\\Local\\Temp\\pip-install-s19ere5k\\lmdb\\setup.py'"'"'; __file__='"'"'C:\\Users\\edogr\\AppData\\Local\\Temp\\pip-install-s19ere5k\\lmdb\\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\edogr\AppData\Local\Temp\pip-pip-egg-info-az1jdfxa'
cwd: C:\Users\edogr\AppData\Local\Temp\pip-install-s19ere5k\lmdb\
Complete output (13 lines):
Traceback (most recent call last):
File "C:\Users\edogr\AppData\Local\Temp\pip-install-s19ere5k\lmdb\setup.py", line 92, in <module>
import patch_ng as patch
ModuleNotFoundError: No module named 'patch_ng'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\edogr\AppData\Local\Temp\pip-install-s19ere5k\lmdb\setup.py", line 94, in <module>
raise Exception('Building py-lmdb from source on Windows requires the "patch-ng" python module.')
Exception: Building py-lmdb from source on Windows requires the "patch-ng" python module.
py-lmdb: Using bundled liblmdb with py-lmdb patches; override with LMDB_FORCE_SYSTEM=1 or LMDB_PURE=1.
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
βοΈ Environment
Python 3.9
Powershell
Windows 10
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Microsoft Surface hub 'Error during installation package ...
Hello community, During an installation of Microsoft Teams on our Surface hub we don't have the ability to get through the step ofΒ ......
Read more >How to Fix When Logitech G Hub is Not Installing (Exact ...
Logitech G hub not installing stuck on initializing in Windows 10 and Mac computer.| Install Error - Fails | Won't install | Start...
Read more >Fixed: βThere is a problem with this Windows installer ...
Method 1: Make sure you have administrative permissions Β· Method 2: Use the Program Install and Uninstall troubleshooter Β· Method 3: Repair the...
Read more >How to Fix Windows Installer Package Problem [Tutorial]
How To Fix Windows Installer Package Problem. Registry Entry: msiexec /i "%1"Most programs can be installed on Windows computer normally.
Read more >Global Hub Client Package Failed to Load Correctly
The Global Hub Client Package didn't load correctly. It may have been caused by a config change or by the installation of another...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Closing this feature request due to inactivity and lack of interest. Will revive it if more users request it.
pip install -U hub==1.0.0
Works fine on python 3.6
Log
but generates errors on python 3.9
My Environment
python 3.6.8
python 3.9.0
Windows 10 64 bit