connectomemapper3 icon indicating copy to clipboard operation
connectomemapper3 copied to clipboard

Problem in creating enviornemt.yml

Open milad7093 opened this issue 2 years ago • 4 comments

Dear Sebastian

I want to install the new version of CMP3 in ubuntu 20.04.5 but have a problem in downloading the environment.yml data as follow:

(base) mn@mn-System-Product-Name:~$ conda env create -f /home/mn/environment.yml
Collecting package metadata (repodata.json): failed

CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://conda.anaconda.org/conda-forge/linux-64/repodata.json
Elapsed: -

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.
'https//conda.anaconda.org/conda-forge/linux-64'

Can you help me on how to solve this issue step by step?

Thanks in advance

Best regards,

-Milad

milad7093 avatar Feb 16 '23 21:02 milad7093

Dear Sebastian

I really need to install the new version and need to your help.

please help me

Best regards,

-Milad

milad7093 avatar Feb 21 '23 22:02 milad7093

Dear sebastian

I tried many times to install the latest version of CMP3 on Ubuntu 20.04 but i couldn't and the same error still exists .

Please help me.

Best regards,

-Milad

milad7093 avatar Mar 19 '23 11:03 milad7093

Dear @milad7093,

Very sorry for my late reply.

Based on your error and the following discussion on stackoverflow, it let me think this might also be a problem with the SSL library.

Could you try the different steps described by Anaconda troubleshooting (link), i.e.:

# First run the following command:
$ conda config --set ssl_verify false

# Then, run the following to install conda-token:

$ conda install conda-token -n base

# Lastly, run the following to ensure the token verification step ignores SSL errors:
# Replace <TOKEN> with your token
$ conda token set --no-ssl-verify <TOKEN>

Let me know if this helps.

Best regards, Sebastien

sebastientourbier avatar Apr 05 '23 07:04 sebastientourbier

Dear Sebastian

You're welcome. Thanks for your response.

I tried the steps many times but there is en error when I ran the last step as follow:

(base) @.***:~$ conda token set --no-ssl-verify milad /home/mn/anaconda3/lib/python3.10/site-packages/urllib3/connectionpool.py:1045: InsecureRequestWarning: Unverified HTTPS request is being made to host 'repo.anaconda.cloud'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( The token could not be validated. Please check that you have typed it correctly.

my token name is milad and I created it using the following code:

anaconda auth --create --name milad --scopes 'repos conda:download'

Best regards

-Milad

On Wed, Apr 5, 2023 at 10:30 AM Sébastien Tourbier @.***> wrote:

Dear @milad7093 https://github.com/milad7093,

Very sorry for my late reply.

Based on your error and the following discussion https://stackoverflow.com/questions/50125472/issues-with-installing-python-libraries-on-windows-condahttperror-http-000-co on stackoverflow, it let me think this might also be a problem with the SSL library.

Could you try the different steps described by Anaconda troubleshooting ( link https://docs.anaconda.com/anaconda-professional/troubleshooting/#http-000-connection-failed), i.e.:

First run the following command:

$ conda config --set ssl_verify false

Then, run the following to install conda-token:

$ conda install conda-token -n base

Lastly, run the following to ensure the token verification step ignores SSL errors:# Replace <TOKEN> with your token

$ conda token set --no-ssl-verify <TOKEN>

Let me know if this helps.

Best regards, Sebastien

— Reply to this email directly, view it on GitHub https://github.com/connectomicslab/connectomemapper3/issues/224#issuecomment-1497012277, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE5CAB7IHQ7XMHC37RFWHZ3W7UKAVANCNFSM6AAAAAAU6V6CBY . You are receiving this because you were mentioned.Message ID: @.***>

milad7093 avatar Apr 09 '23 22:04 milad7093