Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Python 3.12 (also in bioconda) #230

Open
Harry-young-0 opened this issue Oct 23, 2024 · 4 comments
Open

Add support for Python 3.12 (also in bioconda) #230

Harry-young-0 opened this issue Oct 23, 2024 · 4 comments

Comments

@Harry-young-0
Copy link

Hi , sorry if this is dumb. I'm stumbling at the first hurdle of installation. I've followed the documentation, creating a fresh conda environment using: conda create -n ms2rescore_env python=3.12
then: conda activate ms2rescore_env
install ms2rescore goes like this:

(ms2rescore_env) C:\Users\harry\Documents\local_work_folder\sheona_data_output>conda install -c bioconda ms2rescore
Channels:

  • bioconda
  • defaults
  • conda-forge
    Platform: win-64
    Collecting package metadata (repodata.json): done
    Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:

  • nothing provides ms2pip >=4.0.0-dev4 needed by ms2rescore-3.0.0-pyhdfd78af_0

Could not solve for environment specs
The following packages are incompatible
└─ ms2rescore is not installable because there are no viable options
├─ ms2rescore [3.0.0|3.0.0b1|3.0.1] would require
│ └─ ms2pip >=4.0.0-dev4 , which does not exist (perhaps a missing channel);
└─ ms2rescore [3.0.1|3.0.2|3.0.3] would require
└─ ms2pip >=4.0.0-dev8 , which does not exist (perhaps a missing channel).

Figured it might need ms2pip installing separately and got this:
(ms2rescore_env) C:\Users\harry\Documents\local_work_folder\sheona_data_output>conda install -c bioconda ms2pip
Channels:

  • bioconda
  • defaults
  • conda-forge
    Platform: win-64
    Collecting package metadata (repodata.json): done
    Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  • ms2pip

Current channels:

To search for alternate channels that may provide the conda package you're
looking for, navigate to

https://anaconda.org

and use the search bar at the top of the page.

Any ideas? (I'm on windows if that means anything)

@Harry-young-0 Harry-young-0 changed the title ms2pip conda install failure ms2pip install failure Oct 23, 2024
@Harry-young-0
Copy link
Author

I should add, I get essentially the same error with pip : "note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pandas
Failed to build ms2pip pandas
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (ms2pip, pandas)"

@Harry-young-0
Copy link
Author

I may be being an idiot, seen a closed comment saying that ms2pip is not supporting windows anymore. Is this still the case?

@RalfG RalfG transferred this issue from compomics/ms2rescore Nov 1, 2024
@RalfG
Copy link
Member

RalfG commented Nov 1, 2024

Hi @Harry-young-0,

Thanks for reaching out!

It seems like MS²PIP is only available for Python 3.10 on Bioconda (https://bioconda.github.io/recipes/ms2pip/README.html). I will try to add builds for more Python versions. 3.11 should definitely be supported; 3.12 might depend on the availability of dependencies.

For now, you could try make an environment with Python 3.10.

Let us know if you have further questions.

Best,
Ralf

@RalfG RalfG changed the title ms2pip install failure Add support for Python 3.12 (also in bioconda) Nov 1, 2024
@RalfG
Copy link
Member

RalfG commented Nov 1, 2024

Support for Python 3.12 should be added in #228, which adds support for Numpy and Pandas 2. However, those are currently blocked by an incompatibility in pyOpenMS (OpenMS/OpenMS#7600).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants