LernerLab / GuPPy

Guided Photometry Analysis in Python, a free and open-source FP analysis tool.
GNU General Public License v3.0
64 stars 11 forks source link

Could not parse explicit URL #21

Closed nschapp closed 2 years ago

nschapp commented 2 years ago

Hello Lerner Lab

I was recommended GuPPy by another lab who is using fiber photometry, but I have had some issues with the installation. I've tried installing GuPPy on two different Windows devices, but I have had the same error on both attempts when trying to create the guppy env. Upon executing the initial command "conda create --name guppy --file spec_file_windows10.txt" in the C:\Users\MyUsername\Desktop\GuPPy-main folder where the files are held, I get this parsing error:

ParseError: Could not parse explicit URL: https://repo.anaconda.com/pkgs/main/win-64/blas-1.0-mkl.conda

It seems to be hung up on the initial URL in the spec_file_windows10.txt file. I'm not sure if this is an issue on Anaconda's end in how I might have it set up, or an issue consistent with both of my computers. If you would happen to know what causes this issue I would greatly appreciate the feedback.

Nick

venus-sherathiya commented 2 years ago

does this command throw any error on the screen ? if yes, may I please see the full screenshot of it ?

nschapp commented 2 years ago
2022-05-09 12_28_18-Administrator_ Anaconda Prompt

I attached a screenshot here of me replicating the error just now.

venus-sherathiya commented 2 years ago

Can you try deleting that line from the file, save the file and execute the command again ? let me know what happens

nschapp commented 2 years ago
2022-05-09 15_12_24-Select Administrator_ Anaconda Prompt

That just causes the next line to forward the same error, as seen here.

venus-sherathiya commented 2 years ago

can you please check what conda version you are using ? You can check it, using the command conda --version

nschapp commented 2 years ago

According to the command prompt I am running conda 4.5.12

venus-sherathiya commented 2 years ago

I think I know what's the problem let me run few tests and I will get back to you asap

venus-sherathiya commented 2 years ago

can you try to update conda using the command below ? conda update conda and then try to run the command conda create --name guppy --file spec_file_windows10.txt

please let me know if it works or not

nschapp commented 2 years ago

I was able to solve it by replacing all the .conda extensions in the spec_file_windows10.txt file .tar.bz2 in addition to updating it.

venus-sherathiya commented 2 years ago

glad to know that. Please reach out to me if you have any questions in the future !!