numpy版本问题
发布日期:2021-05-14 10:20:57 浏览次数:10 分类:精选文章

本文共 3562 字,大约阅读时间需要 11 分钟。


���������������ImportError: Something is wrong with the numpy installation���������

������������������������������������ numpy ������������������������������������������ Anaconda ��������������� TensorFlow ��������������� numpy ������������������������������������������������������������������������������������������������������������ numpy ���������������


������������

��������������������������������������� numpy ������������������������������������������������������������������������������������ numpy������������������������������������������������������������������������������ Anaconda ������������������������������������������������������������.dll���������������������������������������������


���������������������������

���������������������������

ImportError: Something is wrong with the numpy installation. While importing we detected an older version of numpy in ['D:\\Anaconda3\\envs\\tensorflow\\lib\\site-packages\\numpy']. One method of fixing this is to repeatedly uninstall numpy until none is found, then reinstall this version.

���������������������������������������������������

UserWarning: loaded more than 1 DLL from .libs

��������������������������� numpy.dll ���������������������������������������������������������������������������������������������������������������������������


������������

������������������������������������������������������������

  • ������������������ numpy

    ��������������������������������������������������� numpy installed. ���������������������������������

    pip uninstall numpy
    • ��������������������������� numpy������������������������������������������������������������
    • ������������������������������������������������������������Skipping numpy as it is not installed������
  • ��������������������� numpy

    ��������������������������������������������������� numpy���

    pip install numpy
    • ���������������������������������������������������������������������������������������
  • ���������������.dll������������

    ��������������������������������������������������������� .libs ������������������������ numpy.dll ������������������������

    • ������������������������������������������ .libs ������������������������

      pip show numpyDLLs
    • ������������ .libs ������������������������������ numpy.dll ���������

    • ������������������������������������������������������������������������������������������������������������������������������������������������������������ pip ������������������������

  • ���������������������������������

    • ��������������������������������������������������������� Anaconda ������������������

  • ������������������������

    • ���������������������

      ������������������������������������������������������������������������ numpy ������������������ --force-reinstall ��������������������������� numpy���

      pip install --force-reinstall numpy
    • ���������������������

      ������������ Python ������������������ PYTHONPATH���������������������������������������������������������������������

    • ������������������������

      ������ pip ��������������������������������������� conda ��� Anaconda ��������������� numpy���

      conda install numpy
    • ������ Anaconda ���������������

      ��� Anaconda ���������������������������������������������������������������������������������������������������������������������������������


    ������

    ��������������������������������������������������������� numpy ��� .libs ��������������������� ImportError ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������

    上一篇:boid 模型python实现模拟鸟群运动
    下一篇:pycharm常用快捷键与设置

    发表评论

    最新留言

    哈哈,博客排版真的漂亮呢~
    [***.90.31.176]2025年04月05日 13时16分34秒