无法导入密探

时间:2019-07-04 04:02:31

标签: scipy python-3.7

我的问题是关于scipy的导入

再现代码示例:

import scipy

错误消息:

Traceback (most recent call last):
  File "D:/Projects/gait/tests/__init__.py", line 2, in <module>
    import scipy
  File "C:\Users\Leynier\AppData\Local\Programs\Python\Python37-32\lib\site-packages\scipy\__init__.py", line 110, in <module>
    from scipy._lib._version import NumpyVersion as _NumpyVersion
  File "C:\Users\Leynier\AppData\Local\Programs\Python\Python37-32\lib\site-packages\scipy\_lib\__init__.py", line 14, in <module>
    from scipy._lib._testutils import PytestTester
ValueError: source code string cannot contain null bytes

Process finished with exit code 1

Scipy / Numpy / Python版本信息:

  
      
  • 科学版本:1.3.0
  •   
  • 数字版本:1.16.4
  •   
  • Python版本:3.7.3
  •   
  • 操作系统:Windows 10
  •   

0 个答案:

没有答案