nicknochnack / TFODCourse

944 stars 919 forks source link

ModuleNotFoundError: No module named 'tensorflow.compat' on step 5. #170

Closed vani178 closed 1 month ago

vani178 commented 1 month ago

I ran verifivation script (look at the photo) image and then in the step 5. I've got that error: image

python 3.7

my pip list: absl-py 1.4.0 apache-beam 2.48.0 astunparse 1.6.3 avro-python3 1.10.2 backcall 0.2.0 bleach 6.0.0 cachetools 4.2.4 certifi 2024.6.2 chardet 4.0.0 click 8.1.7 cloudpickle 2.2.1 colorama 0.4.4 contextlib2 21.6.0 crcmod 1.7 cycler 0.11.0 Cython 3.0.10 dataclasses 0.6 decorator 5.0.5 dill 0.3.1.1 dm-tree 0.1.8 dnspython 2.3.0 docopt 0.6.2 entrypoints 0.4 etils 0.9.0 fastavro 1.8.0 fasteners 0.19 flatbuffers 24.3.25 fonttools 4.38.0 gast 0.3.3 gin-config 0.5.0 google-api-core 2.8.2 google-api-python-client 2.132.0 google-auth 1.35.0 google-auth-httplib2 0.2.0 google-auth-oauthlib 0.4.6 google-cloud-bigquery 3.18.0 google-cloud-core 2.4.1 google-crc32c 1.5.0 google-pasta 0.2.0 google-resumable-media 2.7.0 googleapis-common-protos 1.56.4 grpcio 1.62.2 h5py 2.10.0 hdfs 2.7.3 httplib2 0.22.0 idna 2.10 immutabledict 2.2.5 importlib-metadata 6.7.0 importlib-resources 5.12.0 ipykernel 5.5.3 ipython 7.22.0 ipython-genutils 0.2.0 jedi 0.18.0 jupyter-client 6.1.12 jupyter-core 4.7.1 kaggle 1.6.14 keras 2.10.0 Keras-Preprocessing 1.1.2 kiwisolver 1.4.5 libclang 18.1.1 lvis 0.5.3 lxml 4.6.3 Markdown 3.4.4 MarkupSafe 2.1.5 matplotlib 3.5.3 matplotlib-inline 0.1.6 nest-asyncio 1.6.0 numpy 1.21.6 oauth2client 4.1.3 oauthlib 3.2.2 object-detection 0.1 objsize 0.6.1 opencv-python 4.10.0.82 opencv-python-headless 4.10.0.82 opt-einsum 3.3.0 orjson 3.9.7 packaging 24.0 pandas 1.1.5 parso 0.8.2 pickleshare 0.7.5 Pillow 8.2.0 pip 21.0.1 portalocker 2.7.0 promise 2.3 prompt-toolkit 3.0.18 proto-plus 1.23.0 protobuf 3.19.6 psutil 5.9.8 py-cpuinfo 9.0.0 pyarrow 11.0.0 pyasn1 0.4.8 pyasn1-modules 0.2.8 pycocotools 2.0.7 pydot 1.4.2 Pygments 2.8.1 pymongo 4.7.3 pyparsing 2.4.7 PyQt5 5.15.4 PyQt5-Qt5 5.15.2 PyQt5-sip 12.8.1 python-dateutil 2.8.1 python-slugify 8.0.4 python-version 0.0.2 pytz 2024.1 pywin32 300 PyYAML 5.4.1 pyzmq 22.0.3 regex 2024.4.16 requests 2.25.1 requests-oauthlib 1.3.0 rsa 4.7.2 sacrebleu 2.2.0 scipy 1.6.2 sentencepiece 0.2.0 seqeval 0.0.10 setuptools 54.2.0 six 1.15.0 slim 0.1 d:\tfod\tfodcourse\tensorflow\models\research\slim tabulate 0.9.0 tensorboard 2.10.1 tensorboard-data-server 0.6.1 tensorboard-plugin-wit 1.8.1 tensorflow 2.10.1 tensorflow-addons 0.19.0 tensorflow-datasets 4.8.2 tensorflow-estimator 2.10.0 tensorflow-hub 0.16.0 tensorflow-io 0.31.0 tensorflow-io-gcs-filesystem 0.31.0 tensorflow-metadata 1.12.0 tensorflow-model-optimization 0.7.3 tensorflow-text 2.10.0 termcolor 2.3.0 text-unidecode 1.3 tf-models-official 2.10.1 tf-slim 1.1.0 toml 0.10.2 tornado 6.1 tqdm 4.66.4 traitlets 5.0.5 typeguard 2.13.3 typing-extensions 3.7.4.3 uritemplate 4.1.1 urllib3 1.26.4 wcwidth 0.2.5 webencodings 0.5.1 Werkzeug 1.0.1 wget 3.2 wheel 0.36.2 wrapt 1.12.1 zipp 3.4.1 zstandard 0.21.0

vani178 commented 1 month ago

I've just need to restart the kernel, and now it works.