-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Python 3.7 has been removed from the Anaconda packages repository. As such, we experience the following issue during installation
(base) zachcm@eduroam-077-080-114-111 expansion-analysis % conda create --name psfinv python=3.7.10
Retrieving notices: ...working... done
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
- python=3.7.10
To remedy this, I currently bump to Python 3.9. However, this comes with a variety of packaging issues for this repository. Here is how to get it to install.
- Remove the pinned versions of
tensorflowandtensorflow-probabilityand pinnumpyto version <2. That is, change
"numpy",
...
"tensorflow==2.9.1",
"tensorflow-probability==0.17",
to
"numpy<2",
...
"tensorflow",
"tensorflow-probability",
- Run
mamba env create --name psfinv python=3.9
conda activate psfinv
pip install "cython<3"
pip install "pyyaml==5.4.1" --no-build-isolation
pip install -e .
pip install tf-keras
Metadata
Metadata
Assignees
Labels
No labels