Error in sitecustomize; Set PYTHONVERBOSE for traceback: KeyError: ‘PYTHONPATH’
1. Background of the problem
Python2.7 comes with Mac, and python3.6 comes with your own Anaconda installation. After the opencv installation, the following prompts
after the following installation steps are prompted, open Spyder to run the program again or use python3 on the terminal will be prompted as the question error
Reason 2.
Sys. path adds the site-package of Python27. conflict
3. Solve
To “…/local/lib/python3.6/site-packages/ “under directory (directory only for people)
execute $vim homebrew. PTH
remove the path inside
4. Exit terminal/restart Spyder without error
Read More:
- Install PyTorch in Anaconda environment
- [Solved] Error: [email protected]: wrong number of arguments (given 1, expected 0)
- Mac Upgrade pip Error OSError: [Errno 13] Permission denied: ‘/Library/Python/2.7/site-packages/pip-9.0.1-py2….
- [Python] error in installing jupyter: defaulting to user installation because normal Requirement already satisfied
- Gunicorn Flask Error: [ERROR] Socket error processing request
- [Solved] Pyinstaller package opencv error: ImportError: OpenCV loader: missing configuration file: [‘config.py’]. Check OpenCV installation.
- [Solved] Error: unrecognized arguments: — no site packages
- Python installs virtualenv through PIP and always reports an error: response.py“, line 438, in _error_catcher yield
- [Solved] Failed to install PIP for MacOS, prompt: syntax error: invalid syntax
- Python Use sqlalchemy Error: pymssql.ProgrammingError: (102, b“Incorrect syntax near ‘(‘.DB-Lib error
- [Solved] django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module.Did you install mysqlclie
- Python Error: Failed to establish a new connection: [Errno -2] Name or service not known
- [Solved] AttributeError: ‘Manager‘ object has no attribute ‘get_by_natural_key‘
- [Solved] Pdfplumber Read PDF Sheet Error: AttributeError: function/symbol ‘ARC4_stream_init‘ not found in library
- OSError libespeak.so.1 error: no such file or directory [How to Solve]
- [Solved] python tqdm raise RuntimeError(“cannot join current thread“) RuntimeError: cannot join current thr
- [Solved] ansible Command Error: Error -5 while decompressing data: incomplete or truncated stream
- Keras import package error: importerror: cannot import name ‘get_ config‘
- How to Solve Error: RuntimeError CUDA out of memory
- [Solved] Selenium.common.exceptions.WebDriverException: Message: newSession