Python importing module that doesn't exist?

So, I ran:

import google
> <module 'google' (built-in)>

      

On the python command line. Google. way

['/ Library / Python / 2.7 / site-packages / google']

I want to remove google module. So I:

rm -rf /Library/Python/2.7/site-packages/google

      

IT GONE!

But when I go back to the python shell I get the same results as above.

(FYI, the python module was for protobuf, I believe.)

Any ideas?

+3


source to share


1 answer


You need to remove the protobuf module.



sudo pip uninstall protobuf

      

0


source







All Articles