An error occurred when Python called the pydot.py file
AttributeError: module ‘OS’ has no attribute ‘errno’
why
No longer available in Python 3.7os. errno
Change the method
Change python3.7/ site-packages /pydot.py to import errno. Line 1863:
if e.errno == errno.ENOENT:
Note: If NameError: Name ‘errno’ is not defined, add import errno to pydot.py
Read More:
- [error reported] [Python] [Matplotlib] importerror: failed to import any QT binding
- CONDA failed to create environment (collecting package metadata(repodata.json): failed)
- Worker failed to boot
- Gunicorn reported error worker failed to boot
- Solving attributeerror: module ‘urllib’ has no attribute ‘request’
- python3 Error in sitecustomize; set PYTHONVERBOSE for traceback: NameError: name ‘modules_list’ …
- Importerror using tensorflow: DLL load failed: the specified program cannot be found
- Error encountered while executing PIP install: error: complete output from command Python setup.py egg_ info:
- How to Fix gdb error: Failed to import the site module,No module named ‘_sysconfigdata_m’
- Tensorflow import error: DLL load failed: the specified module could not be found
- tensorflow import error: DLL load failed: The specified module could not be found (DLL load failed: The specified module could not be found)
- Windows git review reported an error. UnicodeDecodeError
- Running Python 3.7 web.py Runtimeerror: generator raised stopiteration exception occurred during test
- Errno in Linux Programming
- Python failed to read TIF file exported by envi.
- gunicorn.errors.HaltServer: HaltServer ‘App failed to load.’ 4
- In Python, import XXX does not report an error, but in IPython (Jupiter notebook)
- Python’s importerror: DLL load failed: the specified module was not found and the problem was solved
- Ioerror: [errno 13] permission denied
- sys.path.append(), os.path.exists(), os.path.join() and os.makedirs() meaning