I am using a school server so I do not have the root permission.
Fortunately using python 3.6.8 can solve this problem.
Here's my pip list for python 3.6.8. I'm not sure which is required, but just copying this list can help you run the file.
I hope this will help you.
I am using a school server so I do not have the root permission. Fortunately using python 3.6.8 can solve this problem. Here's my pip list for python 3.6.8. I'm not sure which is required, but just copying this list can help you run the file. I hope this will help you.
conda create -n tfcpu python=3.6.8 conda install tensorflow==1.13.1
Package Version
absl-py 0.15.0 astor 0.8.1 beniget 0.2.1 certifi 2021.5.30 Cython 0.29.35 dataclasses 0.8 decorator 4.4.2 gast 0.3.3 grpcio 1.31.0 h5py 2.10.0 Keras 2.2.4 Keras-Applications 1.0.8 Keras-Preprocessing 1.1.2 Markdown 3.1.1 mkl-fft 1.3.0 mkl-random 1.1.1 mkl-service 2.3.0 mock 4.0.3 networkx 2.5.1 numpy 1.19.2 pconsc4 0.4 pip 21.2.2 ply 3.11 protobuf 3.17.2 pyGaussDCA 1.0 pythran 0.9.5 PyYAML 6.0 scipy 1.5.2 setuptools 58.0.4 six 1.16.0 tensorboard 1.13.1 tensorflow 1.13.1 tensorflow-estimator 1.13.0 termcolor 1.1.0 Werkzeug 2.0.3 wheel 0.37.1