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

Problem with installing medaCy #128

Closed
justachetan opened this issue May 30, 2019 · 3 comments
Closed

Problem with installing medaCy #128

justachetan opened this issue May 30, 2019 · 3 comments

Comments

@justachetan
Copy link

Description

Hi. I am trying to install medaCy on my system using the instructions given in the README, however, I am getting some error caused due to unavailability of some SpaCy models.

Steps/Code to Reproduce

Run:
pip install git+https://github.com/NLPatVCU/medaCy.git

Output



Collecting git+https://github.com/NLPatVCU/medaCy.git
       Cloning https://github.com/NLPatVCU/medaCy.git to /tmp/pip-k5kMwQ-build
Collecting en_core_web_sm@ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.0.0/en_core_web_sm-2.0.0.tar.gz#egg=en_core_web_sm-2.0.0 (from medacy==0.1.0)
        Could not find a version that satisfies the requirement en_core_web_sm@ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.0.0/en_core_web_sm-2.0.0.tar.gz#egg=en_core_web_sm-2.0.0 (from medacy==0.1.0) (from versions: )
No matching distribution found for en_core_web_sm@ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.0.0/en_core_web_sm-2.0.0.tar.gz#egg=en_core_web_sm-2.0.0 (from medacy==0.1.0)


Versions

  • Linux-4.4.0-17134-Microsoft-x86_64-with-Ubuntu-18.04-bionic
  • NumPy 1.16.3
  • SciPy 1.3.0
  • medaCy not installed, the issue is about that only
@jvargas2
Copy link
Collaborator

@justachetan Have you tried upgrading pip with pip install -U pip? If upgrading pip isn't an option then you should be able to download the en_core_web_sm model through spaCy. Other projects have had similar issues with automatically downloading spaCy models: allenai/allennlp#918

@justachetan
Copy link
Author

Yes, I had to download the model separately. I must say I am kinda disappointed with the performance of the pre-trained models of medaCy.

@jyaoeplus
Copy link

jyaoeplus commented Aug 1, 2019

encounter an error with code line "from medacy.pipelines import ClinicalPipeline"
Error message:
ModuleNotFoundError: No module named 'medacy.pipelines':

"pipelines" subdirectory not found under medacy, shown as:

ls /conda/envs/rapids/lib/python3.6/site-packages/medacy**

init.py pycache ner relation tools
main.py data pipeline_components tests

how to fix it?

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