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

Difficult to install PRISM and then pytest fails #42

Open
manodeep opened this issue Aug 29, 2023 · 0 comments
Open

Difficult to install PRISM and then pytest fails #42

manodeep opened this issue Aug 29, 2023 · 0 comments
Labels
bug Something is not working as intended

Comments

@manodeep
Copy link

Describe the bug

I am having trouble installing PRISM on my M2 Apple laptop under python3.11 (with the command python -m pip install -e .). The issue is with PyQt5 and the version in requirements.txt is too old and (presumably) not available on PyPI.

Expected behavior

Should be possible to install PRISM with python -m pip install -e .

System information

Configuration
-------------
Platform: Darwin 64-bit
Python: 3.11.5
Version: 1.3.2

Requirements
------------
cmasher: 1.6.3
e13tools: 0.9.6
hickle: 5.0.2
matplotlib: 3.7.2
mlxtend: 0.22.0
mpi4pyd: 0.3.1
numpy: 1.24.3
pyqt5: 5.15.9
qtpy: 2.3.1
scikit-learn: 1.3.0
scipy: 1.11.1
sortedcontainers: 2.4.0
threadpoolctl: 3.2.0
tqdm: 4.66.1

Additional context

I installed PyQt5 separately (through macports) and then increased the pyqt5 version to 5.15. That resolved the pyqt5 issue but I ran into another issue with installing h5py, even though h5py was already on my system. After commenting out h5py from the requirements.txt, I managed to "install" PRISM.

After this, I installed the packages in requirements_dev.txt with python -m pip install -r requirements_dev.txt and then ran pytest on the repo. This produced a significant number of test failures - output attached here.
output_from_pytest_prism.txt

@manodeep manodeep added the bug Something is not working as intended label Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working as intended
Projects
None yet
Development

No branches or pull requests

1 participant