google / google/dopamine

ImportError: cannot import name 'isin' from 'jax._src.numpy.lax_numpy'

Open
#195 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
10.9k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

Following the getting started steps for installing dopamine from source on a python3.10 virtual environment, I got the following error:
```
ImportError: cannot import name 'isin' from 'jax._src.numpy.lax_numpy'
```
[this stackoverflow](https://stackoverflow.com/questions/72109033/cannot-import-name-isin-python) question has information on the same problem; in my environment, the flax version installed was 0.3.6, and updating it to the most recent (0.4.2) solved this issue. However, I could not attempt further tests if only updating the flax version o requirements is possible

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.