Error creating conda environment from environment.yml (Pip failed with SSL error on arch==7.0.0)

Hi team,

I am trying to create the course environment using the official environment.yml file with the following command: conda env create -f https://quantra.quantinsti.com/downloads/machinelearning/environment.yml.
The Conda packages download and extract successfully, but when executing the pip subprocess to install arch==7.0.0, the installation fails due to an SSL certificate error. I am running Windows with Anaconda. Could you please advise on how to resolve this SSL pip issue or provide a recommended workaround to set up the environment properly?

Thank you!

(base) C:\Users\franc>conda env create -f https://quantra.quantinsti.com/downloads/machinelearning/environment.yml
3 channel Terms of Service accepted
Channels:

  • conda-forge
  • defaults
    Platform: win-64
    Collecting package metadata (repodata.json): done
    Solving environment: done

Downloading and Extracting Packages:

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Installing pip dependencies: - Ran pip subprocess with arguments:
[‘C:\Users\franc\anaconda3\envs\quantra_py\python.exe’, ‘-m’, ‘pip’, ‘install’, ‘-U’, ‘-r’, ‘C:\Users\franc\AppData\Local\Temp\condaenv.gptaf4i’]
Pip subprocess output:
Could not fetch URL https://pypi.org/simple/arch/: There was a problem confirming the ssl certificate: [ASN1: NOT_ENOUGH_DATA] not enough data (_ssl.c:4047g

Pip subprocess error:
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(142, '[ASN1: NOT_ENOU/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(142, '[ASN1: NOT_ENOU/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(142, '[ASN1: NOT_ENOU/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(142, '[ASN1: NOT_ENOU/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(142, '[ASN1: NOT_ENOU/
ERROR: Could not find a version that satisfies the requirement arch==7.0.0 (from versions: none)
ERROR: No matching distribution found for arch==7.0.0

failed

CondaEnvException: Pip failed

(base) C:\Users\franc>