I need to set conda to use pypi local antifactory in our organization to install packages.
Is that possible? so that when I run conda install package_name it pulls it from our local pypi server.
Please note that for pip, I have changed pip config as below and it is pulling from local pypi
[global]
index-url = https://artifactory-qa.my_organization.net/artifactory/api/pypi/pypi-virtual/simple
What I have tried: I created a yaml file in the project
name: conda_env
channels:
- defaults
dependencies:
- python
- pip
- pip
- --extra-index-url https://artifactory-qa.my_company.net/artifactory/api/pypi/pypi-virtual/simple
- pytest
And then run conda env create -f conda_env.yaml
It still does not create the environment for me and this the error:
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
SSLError(MaxRetryError('HTTPSConnectionPool(host=\'conda.anaconda.org\', port=443): Max retries exceeded with url: /conda-forge/win-64/repodata.json (Caused by SSLError("Can\'t connect to
HTTPS URL because the SSL module is not available."))'))