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

[BUG] Installation Error: Don't know how to compile leveldb for Windows! #73

Open
gohjiayi opened this issue Aug 12, 2021 · 2 comments
Open

Comments

@gohjiayi
Copy link

I am on Windows 10 and I ran pip install quickumls but instead was faced with the below error for the installation of leveldb.

I have searched up alternatives such as using py-leveldb-windows but I am not confident that it will allow me to install quickumls with this workaround package.

I would also prefer not using WSL due to it's complexity.

Any suggestions or advice?

Collecting quickumls
  Using cached quickumls-1.4.0.post1.tar.gz (22 kB)
Requirement already satisfied: numpy>=1.8.2 in c:\users\jiayi\appdata\local\programs\python\python38\lib\site-packages (from quickumls) (1.21.1)
Requirement already satisfied: spacy>=1.6.0 in c:\users\jiayi\appdata\local\programs\python\python38\lib\site-packages (from quickumls) (3.1.1)
Collecting leveldb>=0.193
  Using cached leveldb-0.201.tar.gz (236 kB)
    ERROR: Command errored out with exit status 1:
     command: 'c:\users\jiayi\appdata\local\programs\python\python38\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Jiayi\\AppData\\Local\\Temp\\pip-install-val1crsl\\leveldb_66d0f3591ca8498fabfa4bd21fd6dcba\\setup.py'"'"'; __file__='"'"'C:\\Users\\Jiayi\\AppData\\Local\\Temp\\pip-install-val1crsl\\leveldb_66d0f3591ca8498fabfa4bd21fd6dcba\\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\Jiayi\AppData\Local\Temp\pip-pip-egg-info-jwjgxbas'
         cwd: C:\Users\Jiayi\AppData\Local\Temp\pip-install-val1crsl\leveldb_66d0f3591ca8498fabfa4bd21fd6dcba\
    Complete output (1 lines):
    Don't know how to compile leveldb for Windows!
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
@gayoxo
Copy link

gayoxo commented Nov 23, 2022

Same problem

@bramiozo
Copy link

Ditto!

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