我试图在我的PC上运行github存储库。该存储库基于tensorflow-gpu。当前,当我尝试运行代码时,出现以下错误:
Traceback (most recent call last):
File "D:/audio/deep-voice-conversion-master/deep-voice-conversion-master/convert.py", line 9, in <module>
from models import Net2
File "D:\audio\deep-voice-conversion-master\deep-voice-conversion-master\models.py", line 4, in <module>
import tensorflow as tf
File "D:\audio\deep-voice-conversion-master\deep-voice-conversion-master\venv\lib\site-packages\tensorflow\__init__.py", line 24, in <module>
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "D:\audio\deep-voice-conversion-master\deep-voice-conversion-master\venv\lib\site-packages\tensorflow\python\__init__.py", line 59, in <module>
from tensorflow.core.framework.graph_pb2 import *
File "D:\audio\deep-voice-conversion-master\deep-voice-conversion-master\venv\lib\site-packages\tensorflow\core\framework\graph_pb2.py", line 6, in <module>
from google.protobuf import descriptor as _descriptor
File "D:\audio\deep-voice-conversion-master\deep-voice-conversion-master\venv\lib\site-packages\google\protoWbuf\descriptor.py", line 47, in <module>
from google.protobuf.pyext import _message
ImportError: DLL load failed: the specified module could not be found.
我在Windows 10和python 3.6上使用pycharm。
我尝试遵循these steps,但它似乎已过时,因此无法正常工作。我也不想使用anaconda,因为这是一个庞大的程序包,我只想使此存储库正常工作。到目前为止,我已经执行了以下操作:
我是tensorflow的新手,我不知道接下来要做什么。任何帮助将不胜感激。
答案 0 :(得分:0)
protobuf似乎是一个conda软件包。尝试使用
安装conda install protobuf
或
pip install protobuf