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

Can't install LightweightMMM - Error on jaxlib #6

Closed
federicoteti6 opened this issue May 16, 2022 · 4 comments
Closed

Can't install LightweightMMM - Error on jaxlib #6

federicoteti6 opened this issue May 16, 2022 · 4 comments
Assignees

Comments

@federicoteti6
Copy link

hi,
I'm trying to install the lightweight_mmm library but it gives me the following error:

ERROR: Cannot install lightweight-mmm == 0.1.1 and lightweight-mmm == 0.1.2 because these package versions have conflicting dependencies.

The conflict is caused by:
    lightweight-mmm 0.1.2 depends on jaxlib> = 0.3.0
    lightweight-mmm 0.1.1 depends on jaxlib> = 0.3.0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

how can i solve?
I use windows and the python version is 3.8.13.
I tried to install jaxlib with pip install but the result was this:

ERROR: Could not find a version that satisfies the requirement jaxlib (from versions: none)
ERROR: No matching distribution found for jaxlib

another test was installing jax [cpu]:

pip install --upgrade "jax [cpu]"

but the result hasn't changed

@pabloduque0
Copy link
Collaborator

Hello @federicoteti6 ! Thanks for reporting this!

The JAX support for Windows is limited (see the open JAX issue). Not sure how well it is working but I am aware of jax-windows-builder, might be worth giving it a try.

Otherwise I would recommend running it from Linux if it is possible to you. Or you can also run it on Colab if you dont have access or dont want to use Linux.

@pabloduque0 pabloduque0 self-assigned this May 16, 2022
@federicoteti6
Copy link
Author

thanks, colab works and will use that

@pettpavlious
Copy link

pettpavlious commented Jan 31, 2023

I am having the same issue and Linux is not an option so I have been trying to use Lightweight MMM on Google Collab but I am having various issues:

Firstly, after pip installing the latest version I get this error 'pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
pymc 4.1.4 requires arviz>=0.12.0, but you have arviz 0.11.2 which is incompatible.
pydantic 1.10.4 requires typing-extensions>=4.2.0, but you have typing-extensions 3.10.0.2 which is incompatible.
numba 0.56.4 requires numpy<1.24,>=1.18, but you have numpy 1.24.1 which is incompatible.
'

After though I install a lower version of i.e. numpy I receive another error 'Lightweight MMM requires numpy 1.24.1' which I have uninstalled.

Finally, also in the exemplary colab notebooks. Every time i'm trying to import any of the packages that are mentioned I receive this error "_module 'numpy' has no attribute 'no_nep50_warning'".

Do you know what is causing this and how I can bypass the issues?

Thank you,

@ritahoang94
Copy link

I have the same error message as @PoromenoC96 . For me the message appears when I tried to import arviz library. Please someone let me know how to fix this.

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

4 participants