Jonovono
Jonovono

Reputation: 2085

Python importing Module that does not exist?

So I was running:

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

In python prompt. google.path

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

I want to delete the google module. So I :

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

IT'S GONE!

But When I go back into python shell I get the same results as above.

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

Any ideas?

Upvotes: 4

Views: 1200

Answers (1)

Sterling Nichols
Sterling Nichols

Reputation: 1518

You need to uninstall the 'protobuf' module.

sudo pip uninstall protobuf

Upvotes: 1

Related Questions