Error in Sitecustomize; set PYTHONVERBOSE for traceback: NameError: name ‘modules_list’ is not …The original link: https://www.jianshu.com/p/b1ed42918380
Error in sitecustomize; set PYTHONVERBOSE for traceback:
NameError: name ‘modules_list’ is not defined

Problem. PNG
Modify a file called sitecustomize.py to be located under C:\python3\Lib\site-packages and change the name to Sitecustomize_back. py
Error in sitecustomize; set PYTHONVERBOSE for traceback:
NameError: name ‘modules_list’ is not defined

Problem. PNG
Modify a file called sitecustomize.py to be located under C:\python3\Lib\site-packages and change the name to Sitecustomize_back. py
File location. PNG
File name modified. PNG
Run without error. PNG
Read More:
- Attribute
- Building wheel for wrapt (setup.py) … error
- Running Python 3.7 web.py Runtimeerror: generator raised stopiteration exception occurred during test
- Error when starting Python in Windows
- The problem of “value error: zero length field name in format” in Python 2.6.6 of CentOS 6.9
- (29)RuntimeError: cuda runtime error (999)
- cannot import name ‘_validate_lengths’ from ‘numpy.lib.arraypad’
- ModuleNotFoundError: No module named xxx
- pip install – PermissionError: [Errno 13] Permission denied
- How to Solve failed Precondition Error: attempting to use uninitialized value beta1_power
- [How to Fix] NameError: name ‘requests‘ is not defined & NameError: name ‘request‘ is not defined
- Idapython: the solution of importing “site” failed error
- Scrapy runs a crawler with an error importerror: cannot import name suppress
- Python’s importerror: DLL load failed: the specified module was not found and the problem was solved
- Worker failed to boot
- Gunicorn reported error worker failed to boot
- Windows git review reported an error. UnicodeDecodeError
- Error in PIP command execution – syntax error: invalid syntax
- gunicorn.errors.HaltServer: HaltServer ‘App failed to load.’ 4
- Python failed to read TIF file exported by envi.