I continuously get this line of error when using any python packages and also mysql:
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/
for example for Scrapy:
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scrapy/cmdline.py", line 146, in execute
_run_print_help(parser, _run_command, cmd, args, opts)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scrapy/cmdline.py", line 100, in _run_print_help
func(*a, **kw)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scrapy/cmdline.py", line 154, in _run_command
cmd.run(args, opts)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scrapy/commands/shell.py", line 68, in run
crawler.engine = crawler._create_engine()
or for mysql:
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mysql/connector/__init__.py", line 32, in <module>
from .connection_cext import CMySQLConnection
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mysql/connector/connection_cext.py", line 67
f"MySQL Connector/Python C Extension not available ({exc})"
I installed and reinstalled python3 and python2.7 with home-brew and also from the main site but the problem is still there. Any solution for this problem?