Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
4.2 kB
1
Indexable
Never
Traceback (most recent call last):
  File "C:\Users\2503946\Desktop\Case Management\Tensorflow\scripts\preprocessing\generate_tfrecord.py", line 27, in <module>
    import tensorflow.compat.v1 as tf
  File "C:\Users\2503946\AppData\Local\Programs\Python\Python310\myenv\lib\site-packages\tensorflow\__init__.py", line 52, in <module>
    from ._api.v2 import compat
  File "C:\Users\2503946\AppData\Local\Programs\Python\Python310\myenv\lib\site-packages\tensorflow\_api\v2\compat\__init__.py", line 37, in <module>
    from . import v1
  File "C:\Users\2503946\AppData\Local\Programs\Python\Python310\myenv\lib\site-packages\tensorflow\_api\v2\compat\v1\__init__.py", line 31, in <module>
    from . import compat
  File "C:\Users\2503946\AppData\Local\Programs\Python\Python310\myenv\lib\site-packages\tensorflow\_api\v2\compat\v1\compat\__init__.py", line 38, in <module>
    from . import v2
  File "C:\Users\2503946\AppData\Local\Programs\Python\Python310\myenv\lib\site-packages\tensorflow\_api\v2\compat\v1\compat\v2\__init__.py", line 28, in <module>
    from tensorflow._api.v2.compat.v2 import __internal__
  File "C:\Users\2503946\AppData\Local\Programs\Python\Python310\myenv\lib\site-packages\tensorflow\_api\v2\compat\v2\__init__.py", line 33, in <module>
    from . import compat
  File "C:\Users\2503946\AppData\Local\Programs\Python\Python310\myenv\lib\site-packages\tensorflow\_api\v2\compat\v2\compat\__init__.py", line 38, in <module>
    from . import v2
  File "C:\Users\2503946\AppData\Local\Programs\Python\Python310\myenv\lib\site-packages\tensorflow\_api\v2\compat\v2\compat\v2\__init__.py", line 37, in <module>
    from tensorflow._api.v2.compat.v2 import distribute
  File "C:\Users\2503946\AppData\Local\Programs\Python\Python310\myenv\lib\site-packages\tensorflow\_api\v2\compat\v2\distribute\__init__.py", line 182, in <module>
    from . import experimental
  File "C:\Users\2503946\AppData\Local\Programs\Python\Python310\myenv\lib\site-packages\tensorflow\_api\v2\compat\v2\distribute\experimental\__init__.py", line 18, in <module>
    from tensorflow.python.distribute.failure_handling.failure_handling import PreemptionCheckpointHandler
  File "C:\Users\2503946\AppData\Local\Programs\Python\Python310\myenv\lib\site-packages\tensorflow\python\distribute\failure_handling\failure_handling.py", line 36, in <module>
    from tensorflow.python.distribute.failure_handling import failure_handling_util
  File "C:\Users\2503946\AppData\Local\Programs\Python\Python310\myenv\lib\site-packages\tensorflow\python\distribute\failure_handling\failure_handling_util.py", line 19, in <module>
    import requests
  File "C:\Users\2503946\AppData\Local\Programs\Python\Python310\myenv\lib\site-packages\requests\__init__.py", line 43, in <module>
    import urllib3
  File "C:\Users\2503946\AppData\Local\Programs\Python\Python310\myenv\lib\site-packages\urllib3\__init__.py", line 8, in <module>
    from .connectionpool import (
  File "C:\Users\2503946\AppData\Local\Programs\Python\Python310\myenv\lib\site-packages\urllib3\connectionpool.py", line 29, in <module>
    from .connection import (
  File "C:\Users\2503946\AppData\Local\Programs\Python\Python310\myenv\lib\site-packages\urllib3\connection.py", line 39, in <module>
    from .util.ssl_ import (
  File "C:\Users\2503946\AppData\Local\Programs\Python\Python310\myenv\lib\site-packages\urllib3\util\__init__.py", line 3, in <module>
    from .connection import is_connection_dropped
  File "C:\Users\2503946\AppData\Local\Programs\Python\Python310\myenv\lib\site-packages\urllib3\util\connection.py", line 3, in <module>
    from .wait import wait_for_read
  File "C:\Users\2503946\AppData\Local\Programs\Python\Python310\myenv\lib\site-packages\urllib3\util\wait.py", line 1, in <module>
    from .selectors import (
  File "C:\Users\2503946\AppData\Local\Programs\Python\Python310\myenv\lib\site-packages\urllib3\util\selectors.py", line 14, in <module>
    from collections import namedtuple, Mapping
ImportError: cannot import name 'Mapping' from 'collections' (C:\Users\2503946\AppData\Local\Programs\Python\Python310\lib\collections\__init__.py)
Leave a Comment