Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"SpecNotFound: Invalid name, try the format: user/package" in Creating new Conda env with yml file (Windows 10)

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.


Appendix

my Python 310.yml file contains these stuff:

enter image description here

like image 798
Shayan Avatar asked Sep 06 '25 23:09

Shayan


1 Answers

drop the "env" in "conda env create" it's just "conda create ..."

like image 178
Chris Avatar answered Sep 11 '25 10:09

Chris