Creating a Python Environment- EnvironmentFileNotFound

I am following the instructions on creating a machine-learning environment. I receive the following error:



EnvironmentFileNotFound

Hi Ramiro,



It seems that the link you have attached is not working.



Nevertheless, the environment file (for machine learning) is downloaded and all the libraries are installed when you run the code "conda env create -f Learn algorithmic trading from top institutions and experts | Quantra by QuantInsti; (without the quotes) in Anaconda prompt.

This code downloads the environment file and installs the necessary libraries. You must ensure the environment is created on the same path where python is installed.

There could be times when the internet connection is unstable or servers are busy, which could lead to errors in installation, but that is just guesswork.



In order to resolve this issue, can you help me with more details, such as the Python version, Operating system, and if you are using the Anaconda prompt or not.



Hope this helps.





 

I am running :

CMD.exe Prompt - 

Conda 4.8.2

Python 3.7.6

Windows 11 64 bit





The error message when I enter the code  "conda env create -f Learn algorithmic trading from top institutions and experts | Quantra by QuantInsti



Error: EnvironmentFileNotFound

Hi Ramiro,



Is it possible that a firewall is blocking the download of the file? Or you have not given Anaconda prompt administrator privileges? As I was not able to recreate your issue at my end.



An alternate way is to download the environment file manually from the link "Learn algorithmic trading from top institutions and experts | Quantra by QuantInsti, and then store it in the same folder where you have installed Anaconda Navigator and Python.



Finally, use the file path in the code to create the virtual environment.