I need to create an environment mock up the one using virtualenv, the packages belong to various channels in anaconda. Though I specified channels, I received error for some packages.
my_env.yml:
name: my_env
channels:
- anaconda
- conda-forge
dependencies:
- numpy=1.15.2
- scipy=1.1.0
- scikit-learn=0.20.0
- pandas=0.22.0
- SQLAlchemy=1.1.14
- graphviz=0.8
- slacker=0.9.60
Note:
slacker is in conda-forge channel SQLAlchemy and graphviz are in anaconda channel the others are just in regular (default) channel
When I run the command:
conda env create -f /home/my_env.yml
I received the following error:
Solving environment: failed
ResolvePackageNotFound: - sqlalchemy=1.1.14 - graphviz=0.8
Seems channel anaconda is NOT picked up?
How can I fix this yml file?
Thank you very much.