Can someone help me install spectrum package please?

  • The pip install doesn’t work and I get this error with conda install:

conda install spectrum
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 abBuilding graph of deps: 0%| | 0/3 [00:00<?, ?it/s]Examining @/win-32::__cuda==11.2=0: 0%| | 0/3 [00:00<?, ?it/s]Examining spectrum: 33%|███▎ | 1/3 [00:00<00:00, 67.40it/s] Examining python=3.8: 67%|██████▋ | 2/3 [00:00<Determining conflicts: 0%| | 0/3 [00:00<?, ?it/s]Examining conflict for __cuda: 0%| failed

UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:

Specifications:

  • spectrum → python[version=‘2.7.|3.5.|3.6.*’]

Your python: python=3.8

If python is on the left-most side of the chain, that’s the version you’ve asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.

The following specifications were found to be incompatible with your CUDA driver:

  • feature:/win-32::__cuda==11.2=0

Your installed CUDA driver is: 11.2

You are commenting on the packaging forum, which states

For bugs and similar issues, please use the relevant issue tracker for the project in question.

But since this is the first time you posted, here is a bit more information about how this all works:

You could try opening an issue at Issues · cokelaer/spectrum · GitHub

The project has declared it does only supports python 2.7, 3.5 and 3.7. Older versions seem to support python 3.6. There is no version available for python3.8.

Additionally, there’s a hint from your error messages that you’re on
Windows (although you didn’t say one way or the other) - the project
does not advertise itself as working on Windows, either, only Linux/UNIX.