Google-api-python-client Doesn't Work And Makes Spyder To Fail When Starting
Solution 1:
From the traceback you received when trying to start Spyder, it looks like the Google API Python client has failed to install with the correct permissions. More precisely, Spyder is attempting to load components from IPython which make use of the Pygments syntax highlighter. Pygments is attempting to auto-discover packages using the pkg_resources
module, but it can't read the google_api_python_client
egg because of a permissions issue. I suspect that if you attempt to run Spyder as root it might launch okay.
Apparently, there are multiple potential sources of this problem. It can happen either because the Google package simply isn't built correctly, as described here, or it might be that you have another version of setuptools
lingering somewhere, as described here. You might try removing google_api_python_client
and re-installing via pip
. In any case, removing google_api_python_client
should allow Spyder to start normally again.
Post a Comment for "Google-api-python-client Doesn't Work And Makes Spyder To Fail When Starting"