| 
 | 
 
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册  
 
x
 
- import numpy as np
 
 - from scipy.spatial import Delaunay
 
 - points = np.array([[0,0,0],[1,0,0],[1,1,0],[0,1,0],[0,0,1]])
 
 - dt = Delaunay(points)
 
  复制代码 
 
 
错误: 
AttributeError: 'NoneType' object has no attribute 'close' 
Exception ignored in: 'scipy.spatial.qhull._Qhull.__dealloc__' 
Traceback (most recent call last): 
  File "C:\Users\KK\Desktop\test\test_1.py", line 6, in <module> 
    dt = Delaunay(points) 
AttributeError: 'NoneType' object has no attribute 'close' 
Traceback (most recent call last): 
  File "C:\Users\KK\Desktop\test\test_1.py", line 6, in <module> 
    dt = Delaunay(points) 
  File "qhull.pyx", line 1839, in scipy.spatial.qhull.Delaunay.__init__ 
  File "qhull.pyx", line 269, in scipy.spatial.qhull._Qhull.__init__ 
  File "messagestream.pyx", line 36, in scipy._lib.messagestream.MessageStream.__init__ 
OSError: Failed to open file b'C:\\Users\\\xe5\xad\x94\xe5\x87\xa1\xe5\xba\xb7\\AppData\\Local\\Temp\\scipy-w8mv7_97' 
 
 |   
 
 
 
 |