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

install quickUMLS #84

Open
om35 opened this issue Apr 26, 2022 · 4 comments
Open

install quickUMLS #84

om35 opened this issue Apr 26, 2022 · 4 comments

Comments

@om35
Copy link

om35 commented Apr 26, 2022

hello how are you,
I tried to install this version with preferred term but i have this problem when installing it

File "C:\Users\ouerf\anaconda4\lib\site-packages\setuptools\command\easy_install.py", line 1158, in run_setup
run_setup(setup_script, args)
File "C:\Users\ouerf\anaconda4\lib\site-packages\setuptools\sandbox.py", line 262, in run_setup
raise
File "C:\Users\ouerf\anaconda4\lib\contextlib.py", line 131, in exit
self.gen.throw(type, value, traceback)
File "C:\Users\ouerf\anaconda4\lib\site-packages\setuptools\sandbox.py", line 198, in setup_context
yield
File "C:\Users\ouerf\anaconda4\lib\contextlib.py", line 131, in exit
self.gen.throw(type, value, traceback)
File "C:\Users\ouerf\anaconda4\lib\site-packages\setuptools\sandbox.py", line 169, in save_modules
saved_exc.resume()
File "C:\Users\ouerf\anaconda4\lib\site-packages\setuptools\sandbox.py", line 143, in resume
raise exc.with_traceback(self._tb)
File "C:\Users\ouerf\anaconda4\lib\site-packages\setuptools\sandbox.py", line 156, in save_modules
yield saved
File "C:\Users\ouerf\anaconda4\lib\site-packages\setuptools\sandbox.py", line 198, in setup_context
yield
File "C:\Users\ouerf\anaconda4\lib\site-packages\setuptools\sandbox.py", line 259, in run_setup
_execfile(setup_script, ns)
File "C:\Users\ouerf\anaconda4\lib\site-packages\setuptools\sandbox.py", line 46, in _execfile
exec(code, globals, locals)
File "C:\Users\ouerf\AppData\Local\Temp\easy_install-asoev6ao\quickumls_simstring-1.1.5r1\setup.py", line 93, in
File "C:\Users\ouerf\anaconda4\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 471: character maps to

@sonalkum
Copy link

@om35 I am also facing similar issue, were you able to find any resolution?

@soldni
Copy link
Member

soldni commented Feb 16, 2023

I would recommend running QuickUMLS on WSL

@sonalkum
Copy link

@soldni Thanks for the heads up, it worked.

@abishek85
Copy link

@soldni The problem is that the Readme file for quickumls-simstring was probably saved from linux and encoded using utf-8. When the setup.py tries to read it on windows, it throws an error. I was able to get past this error by modifying quickumls-simstring setup.py Line 92 from:

with open('README.md') as reader:

to:

with open('README.md','r',encoding='utf-8') as reader:

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

4 participants