kdpsingh / clinspacy

Clinical Natural Language Processing using spaCy, scispacy, and medspacy
Other
96 stars 19 forks source link

Install Error due to spacy==2.3.0 #17

Open JYeoMJ opened 11 months ago

JYeoMJ commented 11 months ago

Hi, I am getting an install error because of the spacy version 2.3.0. Would you be able to advise a fix? Running clinspacy_init(miniconda = FALSE) to specify my own conda environment using reticulate somehow does not work either, as it will still try to create the new clinspacy conda environment.

SpaCy not found. Installing spaCy...
+ /Users/.../Library/r-miniconda-arm64/bin/conda 'install' '--yes' '--name' 'clinspacy' '-c' 'conda-forge' 'spacy==2.3.0'
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  - spacy==2.3.0

Current channels:

  - https://conda.anaconda.org/conda-forge/osx-arm64
  - https://conda.anaconda.org/conda-forge/noarch
  - https://conda.anaconda.org/pyg/osx-arm64
  - https://conda.anaconda.org/pyg/noarch
  - https://repo.anaconda.com/pkgs/main/osx-arm64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/osx-arm64
  - https://repo.anaconda.com/pkgs/r/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

Error: one or more Python packages failed to install [error code 1]