Issue
I installed Python 3.5. I ran the pip install google
command and verified the modules. Google was present.
I installed Anaconda 3.5 and tried to run z sample code. But I'm getting the import error. Please find the screen shot attached. What am I missing? Do I have to link my Spyder to Python installation directory in some way? Why is Spyder unable to google module?
My Python installation directory: C:\Users\XXX\AppData\Local\Programs\Python\Python35
My scenario is a bit different and I could not find a solution from similar posts here.
Solution
I figured out the solution:
- I had to delete my Anaconda and Python installations
- Re-install Anaconda only
- Open the Anaconda prompt and point it to
Anaconda/Scripts
- Run
pip install google
- Run the sample code now from Spyder.
No more errors.
Answered By - redwolf_cr7
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.