×

签到

分享到微信

打开微信,使用扫一扫进入页面后,点击右上角菜单,

点击“发送给朋友”或“分享到朋友圈”完成分享

求解Cambricon TensorFlow PIP安装wheel包报错解决办法 已完结 szy2021-11-12 14:47:17 回复 8 查看 技术答疑 使用求助
求解Cambricon TensorFlow PIP安装wheel包报错解决办法
分享到:

执行命令:pip install tensorflow_mlu-1.15.4-cp37-cp37m-linux_x86_64.whl


报错信息:

Traceback (most recent call last):

    File "<string>", line 1, in <module>

    File "/root/Cambricon/tensorflow_sdk1.7.0_v1.4.0/wheel/cambricon_virtualenv/lib/python3.7/site-packages/setuptools/__init__.py", line 19, in <module>

      from setuptools.dist import Distribution

    File "/root/Cambricon/tensorflow_sdk1.7.0_v1.4.0/wheel/cambricon_virtualenv/lib/python3.7/site-packages/_virtualenv.py", line 89, in exec_module

      old(module)

    File "/root/Cambricon/tensorflow_sdk1.7.0_v1.4.0/wheel/cambricon_virtualenv/lib/python3.7/site-packages/setuptools/dist.py", line 38, in <module>

      from setuptools import windows_support

    File "/root/Cambricon/tensorflow_sdk1.7.0_v1.4.0/wheel/cambricon_virtualenv/lib/python3.7/site-packages/setuptools/windows_support.py", line 2, in <module>

      import ctypes

    File "/usr/local/python3/lib/python3.7/ctypes/__init__.py", line 7, in <module>

      from _ctypes import Union, Structure, Array

  ModuleNotFoundError: No module named '_ctypes'


版权所有 © 2024 寒武纪 Cambricon.com 备案/许可证号:京ICP备17003415号-1
关闭