ryanvolz / radioconda

Software radio distribution and installer for conda
Other
340 stars 39 forks source link

Error install spyder #59

Closed xjugs closed 11 months ago

xjugs commented 1 year ago

when I try install spyder from anaconda-navigator within radioconda environment, I got an error: "Spyder cannot be installed on this environment".

However, in other enviroments, I do success to install spyder. the problem exist just within radioconda environment.

I am using: ubuntu 20.04 radioconda 2023.02.24 (the latest one)

ryanvolz commented 1 year ago

What happens if you try to install it from the command line, e.g. mamba install spyder from a terminal with the radioconda environment activated? If there's a package conflict, that should tell us.

xjugs commented 1 year ago

I tried install spyder with conda: conda install spyder=5.4.2

there are indeed conflicts. I got:


"Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: / Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort. failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system:

Your installed version is: 5.15.0"


why are there conflicts? I do have indeed another spyder on the base environment. Cann't I install the same package in another environment? I was able to install spyder to another environment other than the base or radioconda.

ryanvolz commented 1 year ago

I don't know why there's a conflict, and what it claims is a conflict doesn't make sense to me (spyder needs ipython which needs linux, but it says you have linux in the line above that?). I'm able to install spyder in my radioconda environment without issues. Can you try installing it with mamba instead of conda? The different solver might give a better message. You'd need to have mamba installed in your base environment to use it.

xjugs commented 1 year ago

It indeed worked with mamba. But why? How is it differ from conda?

ryanvolz commented 1 year ago

Generally they should be the same, so I don't know why it's different here. Unless you could somehow coax a more informative error message out of conda, we probably won't ever find out.

xjugs commented 1 year ago

Ok. Thank you