QuickUMLS icon indicating copy to clipboard operation
QuickUMLS copied to clipboard

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

Open gohjiayi opened this issue 3 years ago • 2 comments

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.

gohjiayi avatar Aug 12 '21 05:08 gohjiayi

Same problem

gayoxo avatar Nov 23 '22 10:11 gayoxo

Ditto!

bramiozo avatar Nov 14 '23 10:11 bramiozo