1214296914 发表于 2021-9-6 17:08:00

求助!使用scipy.spatial的Delaunay时出错,详见以下。

import numpy as np
from scipy.spatial import Delaunay
points = np.array([,,,,])
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'

suchocolate 发表于 2021-9-6 17:40:56

我这里运行正常

1214296914 发表于 2021-9-7 09:09:34

suchocolate 发表于 2021-9-6 17:40
我这里运行正常

好的,谢谢

傻眼貓咪 发表于 2021-9-8 17:12:43

{:5_105:}
页: [1]
查看完整版本: 求助!使用scipy.spatial的Delaunay时出错,详见以下。