jeffheaton / t81_558_deep_learning

T81-558: Keras - Applications of Deep Neural Networks @Washington University in St. Louis
https://sites.wustl.edu/jeffheaton/t81-558/
Other
5.71k stars 3.04k forks source link

conda env error never be found before. How to solve this? #137

Closed Lyrics1997 closed 2 years ago

Lyrics1997 commented 2 years ago

I face some errors never be found before

  1. My python address is /usr/bin/python, not similar to /opt/homebrew/Caskroom/miniforge/base/bin/python

  2. After run the command: 'conda env create -f tensorFlow-apple-metal.yml -n tensorflow'. I face the error: 'SpecNotFound: Invalid name, try the format: user/package'

Thanks in advance!

jeffheaton commented 2 years ago

I tried to reproduce this issue, but was unable to. I am not sure if this is related to not using brew, or not. You might try running the YAML lines manually, one-by-one and see which is giving an issue. Unfortunately, I really do not have the capacity to investigate individual issues with system installs.

hussainakram commented 2 years ago

No need to use env in the command just run the following:

conda create -f tensorflow-apple-metal.yml -n tensorflow

Reference: https://stackoverflow.com/a/38130515/19183299