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? 回答1: You need to uninstall the 'protobuf' module. sudo pip uninstall protobuf 来源: https://stackoverflow.com/questions