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?
您需要卸载“ protobuf”模块。
sudo pip uninstall protobuf
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.