-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
I tried following the setup instructions here https://github.com/petuum/composing_information_system/blob/main/QA.md#preparation
The issues I encountered were as follows:
- When I ran
pip install -r requirements.txtit gave the following error:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 137.7/137.7 MB 759.4 kB/s eta 0:00:00
ERROR: Cannot install -r requirements.txt (line 4) and forte 0.3.0.dev2 (from git+https://****@github.com/asyml/forte.git#egg=forte) because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested forte 0.3.0.dev2 (from git+https://****@github.com/asyml/forte.git#egg=forte)
forte-nltk 0.0.3 depends on forte==0.2.0
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
WARNING: You are using pip version 22.0.4; however, version 22.3 is available.
You should consider upgrading via the '/Users/cuttlefish/.pyenv/versions/3.7.13/bin/python3.7 -m pip install --upgrade pip' command.
So to fix that I had to clone the forte-wrappers repo https://github.com/asyml/forte-wrappers, then switch to pyenv local 3.7.13, then install the dependencies from source with
pip install src/nltk src/elastic src/allennlp src/spacy
I also updated requirements.txt with the textforte==0.2.0 and ran pip install -r requirements.txt again
- I also got an error when installing dependencies
ModuleNotFoundError: No module named 'yaml'which I resolved by updating requirements.txt withpyyaml>=6.0by runningpip install pyyaml
Metadata
Metadata
Assignees
Labels
No labels