I need help with the (py39) environment I created.
At the end of the course Python for Trading:Basics was suggested to create a new environment in order to avoid incompatibilities of python and modules versions.
I followed the 'Creating-an-Environment-with-a-Specific-Version-of-Python.pdf' file. At the end I installed the requirements.txt
I chose option A) … required to run a machine-learning-based trading strategy with ease…
But during the installation I saw red text in the Anaconda Prompt showing some errors.
Now, I can activate py39 (conda activate py39), but I cannot open Jupyter Notebook.
I use the command ‘jupyter notebook’ and return that ‘jupyter’ isn't recognized as a valid command. Print screen is attached.
What should I do?
Hi Rodrigo,
The query has been answered via email. Hope you found the solution.
For the benefit of other users, posting the answer here again.
To simplify the process of setting up the environment, we have created a file named "environment.yml". You can follow the steps given below to set up the environment.
- Open Anaconda Prompt and run the below command
conda env create -f
https://quantra.quantinsti.com/downloads/machinelearning/environment.yml
- Once the environment is created, you can activate the environment by running the below command:
conda activate quantra_py
- Now you will be able to open the jupyter notebooks in the new environment by running the below command.
jupyter notebook
Edit: Please note the change in the environment name.
Hi Vibhu, thanks for your help. Now it's working !!!