Georgetown-IR-Lab / QuickUMLS

System for Medical Concept Extraction and Linking
MIT License
369 stars 95 forks source link

installation problem on windows 10 #51

Open yancylo opened 5 years ago

yancylo commented 5 years ago

I am trying to install quickUMLS on my windows 10 desktop. I am able to follow the installation instructions on README.md up to Step 3, with a small tweak in the setup.py that bypasses encoding error (I added the option errors="surrogateescape" in line 42. Somehow error="ignore" did not work). At Step 4 "Create a QuickUMLS Installation", I got an error that says: ModuleNotFoundError: No module named 'quickumls_simstring

Then I tried to install quickumls_simstring by pip install quickumls_simstring but got the encoding error: UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 471: character maps to <undefined>

Then I tried to download the source files of quickumls_simstring and ran python setup.py install. I got an error that says Unable to find vcvarsall.bat

I installed Microsoft Visual Studio 2019 which made this error go away upon rerunning the quickumls_simstring installation command, but I got a new error: quickumls_simstring/export.cpp(7): fatal error C1083: Cannot open include file: 'iconv.h': No such file or directory

I have libiconv installed but this iconv.h error still persisted. I was able to locate iconv.h in my anaconda3\Library\include directory. I cannot figure out how to resolve this. Please help me, thanks!

soldni commented 4 years ago

Hello yanclo,

I currently do not have access to a windows machine to reproduce your error. Are you sure the iconv.h is included in your path? Also, have you tried following the instructions from here?