QuickUMLS
QuickUMLS copied to clipboard
[BUG]Dependency conflicts of QuickUMLS install
Describe the bug
Followed the instruction and had UMLS installed. The QuickUMLS repo was cloned to my local drive and I used "pip install quickumls" to install. However, it got stuck at the check of "quickumls_simstring>=1.1.5r1" and gave the following messages:
`Collecting quickumls_simstring>=1.1.5r1
Using cached quickumls_simstring-1.1.5r1.tar.gz (68 kB)
ERROR: Command errored out with exit status 1:
command: 'C:\Users\xuyej\anaconda3\envs\d2l\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\xuyej\AppData\Local\Temp\pip-install-ffhfb2bp\quickumls-simstring_acba7539fd584903b6bead76285c87ce\setup.py'"'"'; file='"'"'C:\Users\xuyej\AppData\Local\Temp\pip-install-ffhfb2bp\quickumls-simstring_acba7539fd584903b6bead76285c87ce\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\xuyej\AppData\Local\Temp\pip-pip-egg-info-p7zsz6es'
cwd: C:\Users\xuyej\AppData\Local\Temp\pip-install-ffhfb2bp\quickumls-simstring_acba7539fd584903b6bead76285c87ce
Complete output (7 lines):
Traceback (most recent call last):
File "
The conflict is caused by: quickumls 1.4.0.post1 depends on quickumls_simstring>=1.1.5r1 quickumls 1.3.0.post4 depends on quickumls_simstring>=1.1.5r1 quickumls 1.3.post3 depends on quickumls_simstring>=1.1.5r1 quickumls 1.3.post2 depends on quickumls_simstring>=1.1.5r1 quickumls 1.3.post1 depends on quickumls_simstring>=1.1.5r1
To fix this you could try to:
- loosen the range of package versions you've specified
- remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies_`
To Reproduce Follow the instruction of QuickUMLS
**Environment **
- OS: Windoes10
- QuickUMLS version 1.4.0
- UMLS version 2021AB
Additional context I checked the pip website about the dependency conflicts "https://pip.pypa.io/en/latest/topics/dependency-resolution/", but none of these helps or makes sense. All backtracking versions of QuickUMLS depend on the same version range of quickumls_simstrings and the right range of quickumls_simstrings is listed in the requirements document. I tried removing this requirement of quickumls_simstrings or specifying a version of quickumls_simstrings, none of these works.
I ran into the same problem but could solve it by temporarily adding the environment variable PYTHONUTF8=1.