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

help me #80

Open
queen25d opened this issue Feb 12, 2023 · 1 comment
Open

help me #80

queen25d opened this issue Feb 12, 2023 · 1 comment

Comments

@queen25d
Copy link

C:\Users\Lenovo\anaconda3\envs\Noor\python.exe D:/PycharmProjects/pythonProject8/main.py
Traceback (most recent call last):
File "D:/PycharmProjects/pythonProject8/main.py", line 25, in
from keras.models import Model
File "C:\Users\Lenovo\anaconda3\envs\Noor\lib\site-packages\keras\models_init_.py", line 18, in
from keras.engine.functional import Functional
File "C:\Users\Lenovo\anaconda3\envs\Noor\lib\site-packages\keras\engine\functional.py", line 24, in
import tensorflow.compat.v2 as tf
File "C:\Users\Lenovo\anaconda3\envs\Noor\lib\site-packages\tensorflow_init_.py", line 41, in
from tensorflow.python.tools import module_util as module_util
File "C:\Users\Lenovo\anaconda3\envs\Noor\lib\site-packages\tensorflow\python_init
.py", line 47, in
from tensorflow.python import keras
File "C:\Users\Lenovo\anaconda3\envs\Noor\lib\site-packages\tensorflow\python\keras_init_.py", line 27, in
from tensorflow.python.keras import models
File "C:\Users\Lenovo\anaconda3\envs\Noor\lib\site-packages\tensorflow\python\keras\models.py", line 26, in
from tensorflow.python.keras.engine import functional
File "C:\Users\Lenovo\anaconda3\envs\Noor\lib\site-packages\tensorflow\python\keras\engine\functional.py", line 38, in
from tensorflow.python.keras.engine import training as training_lib
File "C:\Users\Lenovo\anaconda3\envs\Noor\lib\site-packages\tensorflow\python\keras\engine\training.py", line 53, in
from tensorflow.python.keras.saving import hdf5_format
File "C:\Users\Lenovo\anaconda3\envs\Noor\lib\site-packages\tensorflow\python\keras\saving\hdf5_format.py", line 41, in
import h5py
File "C:\Users\Lenovo\anaconda3\envs\Noor\lib\site-packages\h5py_init_.py", line 34, in
from . import version
File "C:\Users\Lenovo\anaconda3\envs\Noor\lib\site-packages\h5py\version.py", line 17, in
from . import h5 as _h5
File "h5py\h5.pyx", line 41, in init h5py.h5
AttributeError: type object 'h5py.h5.H5PYConfig' has no attribute 'reduce_cython'

@PalmaLuv
Copy link

Check if libraries are installed

# TensorFlow CPU
pip install -r requirements.txt

# TensorFlow GPU
pip install -r requirements-gpu.txt

Link to file :

Or try downgrading your Python version

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