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

ImportError: cannot import name 'reproducible' from 'neupy.utils' #275

Open
alu0101124896 opened this issue May 6, 2021 · 1 comment
Open

Comments

@alu0101124896
Copy link

alu0101124896 commented May 6, 2021

Hello, I'm having the following problem:

>>> from neupy.utils import reproducible
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name 'reproducible' from 'neupy.utils' (/home/sergio/.local/lib/python3.9/site-packages/neupy/utils.py)

I'm using Python 3.9.3 and I have installed the NeuPy package using pip install neupy.

In the case that this helps, I also have seen that in the master branch of this repository you have the 'reproducible' method inside neupy/utils/misc.py but the package that I have installed only has the neupy/utils.py file that doesn't have the mentioned method inside it.

Edit: The default NeuPy version when using pip seems to be the 0.6.5 instead of the 0.8.2 which is the latest.

Edit 2: When trying to install the 0.8.2 version I get the following error:

ERROR: Could not find a version that satisfies the requirement tensorflow<1.14.0,>=1.10.1 (from neupy)
ERROR: No matching distribution found for tensorflow<1.14.0,>=1.10.1
@itdxer
Copy link
Owner

itdxer commented May 6, 2021

Thank you for reporting the issue. It happens because of the bug that I didn't have time to fix yet. As a temporary workaround can you try the same solution as in this ticket: #273

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