I'm trying to Create New conda environment by 'Anaconda Prompt' usnig yml
File in Windows 10.
So here is the steps i made through:
1. using cd
command i changed the directory to dir which my yml
file located. (suppose my yml file is in c:/Users/<USER NAME>/.jupyter
)
2. Then i used conda env create -f Python 310.yml
command to create new conda env.
and what i got is:
SpecNotFound: Invalid name, try the format: user/package
Now I don't know how can I solve this problem and exactly what is the meaning of this error.
my Python 310.yml
file contains these stuff:
issue solved by changing contents of Python 310.yml
and renaming yml
file to Python310.yml
. Here is the final .yml
file content:
name: Python3.9
channels:
- defaults
dependencies:
- numpy
- pandas
- matplotlib
- pip
- python=3.9.*
- python-dateutil
- pytz
- scikit-learn
- scipy
- statsmodels
- xlrd
- openpyxl
- lxml
- html5lib
- beautifulsoup4
- jupyter
- pip:
- pmdarima
- tensorflow
- keras
prefix: C:\Users\Shayan\Anaconda3\envs\Python3.9