connectomicslab / connectomemapper3

Connectome Mapper 3 is a BIDS App that implements full anatomical, diffusion, resting/state functional MRI, and recently EEG processing pipelines, from raw T1 / DWI / BOLD , and preprocessed EEG data to multi-resolution brain parcellation with corresponding connection matrices.
https://connectome-mapper-3.readthedocs.io
Other
71 stars 29 forks source link

Problem in creating enviornemt.yml #224

Open milad7093 opened 1 year ago

milad7093 commented 1 year ago

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 commented 1 year ago

Dear Sebastian

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

please help me

Best regards,

-Milad

milad7093 commented 1 year ago

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

sebastientourbier commented 1 year ago

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

milad7093 commented 1 year ago

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 with your token

$ conda token set --no-ssl-verify

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: @.***>