Conda environment for machine learning

Dear community,



I am trying to create an environment using this environment specs file as recommended in instructions:

conda env create -f https://quantra.quantinsti.com/downloads/general/environment.yml



And I am getting some version control in the environment spes:

Could not solve for environment specs

The following packages are incompatible

├─ scipy 1.7.0  is requested and can be installed;

└─ tensorflow 2.6.0  is not installable because it requires

   └─ tensorflow-base [2.6.0 eigen_py37h03e61e6_0|2.6.0 eigen_py38h03e61e6_0|…|2.6.0 mkl_py39h9201259_0], which requis

      └─ scipy >=1.7.1 , which conflicts with any installable versions previously reported.



Is the environment.yml file not up to date? Or something incompatible with the version of python, conda I am using?

Hi Khayal,



Can you please share the system configuration you are using? Specifically, is it a Windows/Mac/Linux system? If it's a Mac, does it have an Intel chip or an Apple Silicon (M1/M2) chip?

Hi Akshay,



I am using windows 11 pro (64-bit operating system, x64-based processor, AMD Ryzen 9 6900HX with Radeon Graphics ).

Hi Khayal,



You can create the environment using the following command:



conda env create -f https://raw.githubusercontent.com/quantra-go-algo/Quantra_Environment/main/environment_windows_ml.yml



Please let us know if you face any issues.

Hi Akshay,

Thank you very much.

?
Package fftw conflicts for:
scikit-learn==0.24.2 -> scipy -> fftw[version='>=3.3.9,<4.0a0']
arch-py==5.1.0 -> scipy[version='>=1.3'] -> fftw[version='>=3.3.9,<4.0a0']The following specifications were found to be incompatible with your system:

  - feature:/win-64::__win==0=0
  - feature:|@/win-64::__win==0=0
  - jupyterlab==3.0.14 -> ipython -> __unix
  - jupyterlab==3.0.14 -> ipython -> __win
  - notebook==6.5.2 -> ipykernel -> __win

?

 

Hi Rajeev,



Can you please share the system configuration you are using? Specifically, is it a Windows/Mac/Linux system?