No module named google.protobuf

后端 未结 9 714
滥情空心
滥情空心 2020-12-09 08:17

I am trying to run Google\'s deep dream. For some odd reason I keep getting

ImportError: No module named google.protobuf

after t

9条回答
  •  我在风中等你
    2020-12-09 08:54

    According to your comments, you have multiply versions of python what could happend is that you install the package with pip of anthor python

    pip is actually link to script that donwload and install your package.

    two possible solutions:

    1. go to $(PYTHONPATH)/Scripts and run pip from that folder that way you insure you use the correct pip
    2. create alias to pip which points to $(PYTHONPATH)/Scripts/pip and then run pip install

    how will you know it worked? Simple if the new pip is used the package will be install successfully, otherwise the package is already installed

提交回复
热议问题