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

Python version supported #142

Open
RLWOHIO opened this issue Dec 19, 2024 · 3 comments
Open

Python version supported #142

RLWOHIO opened this issue Dec 19, 2024 · 3 comments

Comments

@RLWOHIO
Copy link

RLWOHIO commented Dec 19, 2024

What is the latest Python version PheKnowlator supports?
I am having trouble installing https://github.com/callahantiff/PheKnowLator/blob/master/notebooks/requirements.txt. In my Conda env, I tested Python 3.10, 3.12, 3.13; matplotlib=3.3.2 couldn't install. I could install the latest matplotlib. But would that break the workflow elsewhere? Thanks!

conda install matplotlib=3.3.2
Channels:

  • conda-forge
    Platform: win-64
    Collecting package metadata (repodata.json): done
    Solving environment: / warning libmamba Added empty dependency for problem type SOLVER_RULE_UPDATE
    failed

LibMambaUnsatisfiableError: Encountered problems while solving:

  • package matplotlib-3.3.2-0 requires matplotlib-base >=3.3.2,<3.3.3.0a0, but none of the providers can be installed

Could not solve for environment specs
The following packages are incompatible
├─ matplotlib 3.3.2** is installable with the potential options
│ ├─ matplotlib 3.3.2 would require
│ │ └─ matplotlib-base >=3.3.2,<3.3.3.0a0 with the potential options
│ │ ├─ matplotlib-base 3.3.2 would require
│ │ │ └─ python >=3.6,<3.7.0a0 , which can be installed;
│ │ ├─ matplotlib-base 3.3.2 would require
│ │ │ └─ python >=3.7,<3.8.0a0 , which can be installed;
│ │ ├─ matplotlib-base 3.3.2 would require
│ │ │ └─ python >=3.8,<3.9.0a0 , which can be installed;
│ │ └─ matplotlib-base 3.3.2 would require
│ │ └─ python >=3.9,<3.10.0a0 , which can be installed;
│ ├─ matplotlib 3.3.2 would require
│ │ └─ python >=3.6,<3.7.0a0 , which can be installed;
│ ├─ matplotlib 3.3.2 would require
│ │ └─ python >=3.7,<3.8.0a0 , which can be installed;
│ ├─ matplotlib 3.3.2 would require
│ │ └─ python >=3.8,<3.9.0a0 , which can be installed;
│ └─ matplotlib 3.3.2 would require
│ └─ python >=3.9,<3.10.0a0 , which can be installed;
└─ pin-1 is not installable because it requires
└─ python 3.12.* , which conflicts with any installable versions previously reported.

@callahantiff
Copy link
Owner

Hi @RLWOHIO! PheKnowLator was developed for Python 3.6. This was done to ensure compatibility with some of dependency modules. This should resolve the errors if you install in a clean environment (as you planned ☺️).

@RLWOHIO
Copy link
Author

RLWOHIO commented Dec 20, 2024

Hi @callahantiff , thanks for the quick response. This is very helpful to know. Any plan down the road to update PheKnowLator to a more recent Python release? Thanks again!

@callahantiff
Copy link
Owner

Hi @callahantiff , thanks for the quick response. This is very helpful to know. Any plan down the road to update PheKnowLator to a more recent Python release? Thanks again!

@RLWOHIO — it’s definitely on the list of things I’d love to do. Probably not in the immediate future, but I bet it’s something we can shoot for next year for sure! Apologies for the delay, the repo is something I’m now maintaining on the side. That said it is still important to me and updating the Python version is an important next step!

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

No branches or pull requests

2 participants