I'm installing pysph and it seems that there's something wrong with the mayavi and environment. I get the following error message:
=================================================================================== FAILURES ===================================================================================
__________________________________________________ test_example_should_run[pysph.examples.dam_break_3d_output.mayavi_config] ___________________________________________________
module = 'pysph.examples.dam_break_3d_output.mayavi_config'
@mark.slow
@mark.parametrize("module", _find_examples())
def test_example_should_run(module):
> run_example(module)
D:\Softwares\Anaconda3\lib\site-packages\pysph\examples\tests\test_examples.py:87:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
D:\Softwares\Anaconda3\lib\site-packages\pysph\examples\tests\test_examples.py:56: in run_example
check_output(cmd, env=env_vars)
D:\Softwares\Anaconda3\lib\site-packages\pysph\examples\tests\test_examples.py:19: in check_output
subprocess.check_output(*args, **kw)
D:\Softwares\Anaconda3\lib\subprocess.py:424: in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
input = None, capture_output = False, timeout = None, check = True
popenargs = (['D:\\Softwares\\Anaconda3\\python.exe', '-m', 'pysph.examples.dam_break_3d_output.mayavi_config', '--max-steps', '1', '--disable-output', ...],)
kwargs = {'env': {'ALLUSERSPROFILE': 'C:\\ProgramData', 'APPDATA': 'C:\\Users\\admin\\AppData\\Roaming', 'BOOST_HOME': 'D:\\Softwares\\boost_1_74_0', 'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files', ...}, 'stdout': -1}
process = <Popen: returncode: 1 args: ['D:\\Softwares\\Anaconda3\\python.exe', '-m', '...>, stdout = b'', stderr = None, retcode = 1
def run(*popenargs,
input=None, capture_output=False, timeout=None, check=False, **kwargs):
"""Run command with arguments and return a CompletedProcess instance.
The returned instance will have attributes args, returncode, stdout and
stderr. By default, stdout and stderr are not captured, and those attributes
will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them.
If check is True and the exit code was non-zero, it raises a
CalledProcessError. The CalledProcessError object will have the return code
in the returncode attribute, and output & stderr attributes if those streams
were captured.
If timeout is given, and the process takes too long, a TimeoutExpired
exception will be raised.
There is an optional argument "input", allowing you to
pass bytes or a string to the subprocess's stdin. If you use this argument
you may not also use the Popen constructor's "stdin" argument, as
it will be used internally.
By default, all communication is in bytes, and therefore any "input" should
be bytes, and the stdout and stderr will be bytes. If in text mode, any
"input" should be a string, and stdout and stderr will be strings decoded
according to locale encoding, or by "encoding" if set. Text mode is
triggered by setting any of text, encoding, errors or universal_newlines.
The other arguments are the same as for the Popen constructor.
"""
if input is not None:
if kwargs.get('stdin') is not None:
raise ValueError('stdin and input arguments may not both be used.')
kwargs['stdin'] = PIPE
if capture_output:
if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None:
raise ValueError('stdout and stderr arguments may not be used '
'with capture_output.')
kwargs['stdout'] = PIPE
kwargs['stderr'] = PIPE
with Popen(*popenargs, **kwargs) as process:
try:
stdout, stderr = process.communicate(input, timeout=timeout)
except TimeoutExpired as exc:
process.kill()
if _mswindows:
# Windows accumulates the output in a single blocking
# read() call run on child threads, with the timeout
# being done in a join() on those threads. communicate()
# _after_ kill() is required to collect that and add it
# to the exception.
exc.stdout, exc.stderr = process.communicate()
else:
# POSIX _communicate already populated the output so
# far into the TimeoutExpired exception.
process.wait()
raise
except: # Including KeyboardInterrupt, communicate handled that.
process.kill()
# We don't call process.wait() as .__exit__ does that for us.
raise
retcode = process.poll()
if check and retcode:
> raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
E subprocess.CalledProcessError: Command '['D:\\Softwares\\Anaconda3\\python.exe', '-m', 'pysph.examples.dam_break_3d_output.mayavi_config', '--max-steps', '1', '--disable-output', '-q', '-d', 'C:\\Users\\admin\\AppData\\Local\\Temp\\tmpoz26tixp']' returned non-zero exit status 1.
D:\Softwares\Anaconda3\lib\subprocess.py:528: CalledProcessError
----------------------------------------------------------------------------- Captured stdout call -----------------------------------------------------------------------------
None
----------------------------------------------------------------------------- Captured stderr call -----------------------------------------------------------------------------
Traceback (most recent call last):
File "D:\Softwares\Anaconda3\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "D:\Softwares\Anaconda3\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "D:\Softwares\Anaconda3\lib\site-packages\pysph\examples\dam_break_3d_output\mayavi_config.py", line 2, in <module>
viewer.scalar = 'u'
NameError: name 'viewer' is not defined
_______________________________________________ test_example_should_run[pysph.examples.sphysics\\dam_break_output.mayavi_config] _______________________________________________
module = 'pysph.examples.sphysics\\dam_break_output.mayavi_config'
@mark.slow
@mark.parametrize("module", _find_examples())
def test_example_should_run(module):
> run_example(module)
D:\Softwares\Anaconda3\lib\site-packages\pysph\examples\tests\test_examples.py:87:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
D:\Softwares\Anaconda3\lib\site-packages\pysph\examples\tests\test_examples.py:56: in run_example
check_output(cmd, env=env_vars)
D:\Softwares\Anaconda3\lib\site-packages\pysph\examples\tests\test_examples.py:19: in check_output
subprocess.check_output(*args, **kw)
D:\Softwares\Anaconda3\lib\subprocess.py:424: in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
input = None, capture_output = False, timeout = None, check = True
popenargs = (['D:\\Softwares\\Anaconda3\\python.exe', '-m', 'pysph.examples.sphysics\\dam_break_output.mayavi_config', '--max-steps', '1', '--disable-output', ...],)
kwargs = {'env': {'ALLUSERSPROFILE': 'C:\\ProgramData', 'APPDATA': 'C:\\Users\\admin\\AppData\\Roaming', 'BOOST_HOME': 'D:\\Softwares\\boost_1_74_0', 'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files', ...}, 'stdout': -1}
process = <Popen: returncode: 1 args: ['D:\\Softwares\\Anaconda3\\python.exe', '-m', '...>, stdout = b'', stderr = None, retcode = 1
def run(*popenargs,
input=None, capture_output=False, timeout=None, check=False, **kwargs):
"""Run command with arguments and return a CompletedProcess instance.
The returned instance will have attributes args, returncode, stdout and
stderr. By default, stdout and stderr are not captured, and those attributes
will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them.
If check is True and the exit code was non-zero, it raises a
CalledProcessError. The CalledProcessError object will have the return code
in the returncode attribute, and output & stderr attributes if those streams
were captured.
If timeout is given, and the process takes too long, a TimeoutExpired
exception will be raised.
There is an optional argument "input", allowing you to
pass bytes or a string to the subprocess's stdin. If you use this argument
you may not also use the Popen constructor's "stdin" argument, as
it will be used internally.
By default, all communication is in bytes, and therefore any "input" should
be bytes, and the stdout and stderr will be bytes. If in text mode, any
"input" should be a string, and stdout and stderr will be strings decoded
according to locale encoding, or by "encoding" if set. Text mode is
triggered by setting any of text, encoding, errors or universal_newlines.
The other arguments are the same as for the Popen constructor.
"""
if input is not None:
if kwargs.get('stdin') is not None:
raise ValueError('stdin and input arguments may not both be used.')
kwargs['stdin'] = PIPE
if capture_output:
if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None:
raise ValueError('stdout and stderr arguments may not be used '
'with capture_output.')
kwargs['stdout'] = PIPE
kwargs['stderr'] = PIPE
with Popen(*popenargs, **kwargs) as process:
try:
stdout, stderr = process.communicate(input, timeout=timeout)
except TimeoutExpired as exc:
process.kill()
if _mswindows:
# Windows accumulates the output in a single blocking
# read() call run on child threads, with the timeout
# being done in a join() on those threads. communicate()
# _after_ kill() is required to collect that and add it
# to the exception.
exc.stdout, exc.stderr = process.communicate()
else:
# POSIX _communicate already populated the output so
# far into the TimeoutExpired exception.
process.wait()
raise
except: # Including KeyboardInterrupt, communicate handled that.
process.kill()
# We don't call process.wait() as .__exit__ does that for us.
raise
retcode = process.poll()
if check and retcode:
> raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
E subprocess.CalledProcessError: Command '['D:\\Softwares\\Anaconda3\\python.exe', '-m', 'pysph.examples.sphysics\\dam_break_output.mayavi_config', '--max-steps', '1', '--disable-output', '-q', '-d', 'C:\\Users\\admin\\AppData\\Local\\Temp\\tmpz5dwwzt7']' returned non-zero exit status 1.
D:\Softwares\Anaconda3\lib\subprocess.py:528: CalledProcessError
----------------------------------------------------------------------------- Captured stdout call -----------------------------------------------------------------------------
None
----------------------------------------------------------------------------- Captured stderr call -----------------------------------------------------------------------------
D:\Softwares\Anaconda3\python.exe: Error while finding module specification for 'pysph.examples.sphysics\\dam_break_output.mayavi_config' (ModuleNotFoundError: No module named 'pysph.examples.sphysics\\dam_break_output')
=============================================================================== warnings summary ===============================================================================
D:\Softwares\Anaconda3\lib\site-packages\pyreadline\py3k_compat.py:8
D:\Softwares\Anaconda3\lib\site-packages\pyreadline\py3k_compat.py:8: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
return isinstance(x, collections.Callable)
D:\Softwares\Anaconda3\lib\site-packages\compyle\types.py:164
D:\Softwares\Anaconda3\lib\site-packages\compyle\types.py:164: DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
Deprecated in NumPy 1.20; for more details and guidance:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations np.dtype(np.bool): 'char',
D:\Softwares\Anaconda3\lib\site-packages\compyle\types.py:173
D:\Softwares\Anaconda3\lib\site-packages\compyle\types.py:173: DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
Deprecated in NumPy 1.20; for more details and guidance:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations 'bool': np.bool,
D:\Softwares\Anaconda3\lib\site-packages\pyximport\pyximport.py:51
D:\Softwares\Anaconda3\lib\site-packages\pyximport\pyximport.py:51: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
D:\Softwares\Anaconda3\lib\site-packages\pysph\examples\tests\test_examples.py:84
D:\Softwares\Anaconda3\lib\site-packages\pysph\examples\tests\test_examples.py:84: PytestUnknownMarkWarning: Unknown pytest.mark.slow - is this a typo? You can register custom marks to avoid this warning - for details, see
https://docs.pytest.org/en/stable/mark.html @mark.slow
D:\Softwares\Anaconda3\lib\site-packages\pysph\parallel\tests\test_openmp.py:17
D:\Softwares\Anaconda3\lib\site-packages\pysph\parallel\tests\test_openmp.py:17: PytestUnknownMarkWarning: Unknown pytest.mark.slow - is this a typo? You can register custom marks to avoid this warning - for details, see
https://docs.pytest.org/en/stable/mark.html @mark.slow
D:\Softwares\Anaconda3\lib\site-packages\pysph\parallel\tests\test_openmp.py:33
D:\Softwares\Anaconda3\lib\site-packages\pysph\parallel\tests\test_openmp.py:33: PytestUnknownMarkWarning: Unknown pytest.mark.slow - is this a typo? You can register custom marks to avoid this warning - for details, see
https://docs.pytest.org/en/stable/mark.html @mark.slow
D:\Softwares\Anaconda3\lib\site-packages\pysph\parallel\tests\test_parallel.py:51
D:\Softwares\Anaconda3\lib\site-packages\pysph\parallel\tests\test_parallel.py:51: PytestUnknownMarkWarning: Unknown pytest.mark.parallel - is this a typo? You can register custom marks to avoid this warning - for details, see
https://docs.pytest.org/en/stable/mark.html @mark.parallel
D:\Softwares\Anaconda3\lib\site-packages\pysph\parallel\tests\test_parallel.py:55
D:\Softwares\Anaconda3\lib\site-packages\pysph\parallel\tests\test_parallel.py:55: PytestUnknownMarkWarning: Unknown pytest.mark.parallel - is this a typo? You can register custom marks to avoid this warning - for details, see
https://docs.pytest.org/en/stable/mark.html @mark.parallel
D:\Softwares\Anaconda3\lib\site-packages\pysph\parallel\tests\test_parallel.py:68
D:\Softwares\Anaconda3\lib\site-packages\pysph\parallel\tests\test_parallel.py:68: PytestUnknownMarkWarning: Unknown pytest.mark.slow - is this a typo? You can register custom marks to avoid this warning - for details, see
https://docs.pytest.org/en/stable/mark.html @mark.slow
D:\Softwares\Anaconda3\lib\site-packages\pysph\parallel\tests\test_parallel.py:69
D:\Softwares\Anaconda3\lib\site-packages\pysph\parallel\tests\test_parallel.py:69: PytestUnknownMarkWarning: Unknown pytest.mark.parallel - is this a typo? You can register custom marks to avoid this warning - for details, see
https://docs.pytest.org/en/stable/mark.html @mark.parallel
D:\Softwares\Anaconda3\lib\site-packages\pysph\parallel\tests\test_parallel.py:88
D:\Softwares\Anaconda3\lib\site-packages\pysph\parallel\tests\test_parallel.py:88: PytestUnknownMarkWarning: Unknown pytest.mark.parallel - is this a typo? You can register custom marks to avoid this warning - for details, see
https://docs.pytest.org/en/stable/mark.html @mark.parallel
D:\Softwares\Anaconda3\lib\site-packages\pysph\parallel\tests\test_parallel.py:94
D:\Softwares\Anaconda3\lib\site-packages\pysph\parallel\tests\test_parallel.py:94: PytestUnknownMarkWarning: Unknown pytest.mark.parallel - is this a typo? You can register custom marks to avoid this warning - for details, see
https://docs.pytest.org/en/stable/mark.html @mark.parallel
D:\Softwares\Anaconda3\lib\site-packages\pysph\parallel\tests\test_parallel.py:109
D:\Softwares\Anaconda3\lib\site-packages\pysph\parallel\tests\test_parallel.py:109: PytestUnknownMarkWarning: Unknown pytest.mark.parallel - is this a typo? You can register custom marks to avoid this warning - for details, see
https://docs.pytest.org/en/stable/mark.html @mark.parallel
D:\Softwares\Anaconda3\lib\site-packages\pysph\parallel\tests\test_parallel_run.py:22
D:\Softwares\Anaconda3\lib\site-packages\pysph\parallel\tests\test_parallel_run.py:22: PytestUnknownMarkWarning: Unknown pytest.mark.slow - is this a typo? You can register custom marks to avoid this warning - for details, see
https://docs.pytest.org/en/stable/mark.html @mark.slow
D:\Softwares\Anaconda3\lib\site-packages\pysph\parallel\tests\test_parallel_run.py:23
D:\Softwares\Anaconda3\lib\site-packages\pysph\parallel\tests\test_parallel_run.py:23: PytestUnknownMarkWarning: Unknown pytest.mark.parallel - is this a typo? You can register custom marks to avoid this warning - for details, see
https://docs.pytest.org/en/stable/mark.html @mark.parallel
D:\Softwares\Anaconda3\lib\site-packages\pysph\parallel\tests\test_parallel_run.py:36
D:\Softwares\Anaconda3\lib\site-packages\pysph\parallel\tests\test_parallel_run.py:36: PytestUnknownMarkWarning: Unknown pytest.mark.slow - is this a typo? You can register custom marks to avoid this warning - for details, see
https://docs.pytest.org/en/stable/mark.html @mark.slow
D:\Softwares\Anaconda3\lib\site-packages\pysph\parallel\tests\test_parallel_run.py:37
D:\Softwares\Anaconda3\lib\site-packages\pysph\parallel\tests\test_parallel_run.py:37: PytestUnknownMarkWarning: Unknown pytest.mark.parallel - is this a typo? You can register custom marks to avoid this warning - for details, see
https://docs.pytest.org/en/stable/mark.html @mark.parallel
D:\Softwares\Anaconda3\lib\site-packages\pysph\parallel\tests\test_parallel_run.py:51
D:\Softwares\Anaconda3\lib\site-packages\pysph\parallel\tests\test_parallel_run.py:51: PytestUnknownMarkWarning: Unknown pytest.mark.slow - is this a typo? You can register custom marks to avoid this warning - for details, see
https://docs.pytest.org/en/stable/mark.html @mark.slow
D:\Softwares\Anaconda3\lib\site-packages\pysph\parallel\tests\test_parallel_run.py:52
D:\Softwares\Anaconda3\lib\site-packages\pysph\parallel\tests\test_parallel_run.py:52: PytestUnknownMarkWarning: Unknown pytest.mark.parallel - is this a typo? You can register custom marks to avoid this warning - for details, see
https://docs.pytest.org/en/stable/mark.html @mark.parallel
D:\Softwares\Anaconda3\lib\site-packages\pysph\parallel\tests\test_parallel_run.py:62
D:\Softwares\Anaconda3\lib\site-packages\pysph\parallel\tests\test_parallel_run.py:62: PytestUnknownMarkWarning: Unknown pytest.mark.parallel - is this a typo? You can register custom marks to avoid this warning - for details, see
https://docs.pytest.org/en/stable/mark.html @mark.parallel
base/tests/test_octree.py::SimpleOctreeTestCase::test_plot_root
base/tests/test_octree.py::TestOctreeFor2DDataset::test_plot_root
base/tests/test_octree.py::TestOctreeFor1DDataset::test_plot_root
base/tests/test_octree.py::TestOctreeForFloatingPointError::test_plot_root
base/tests/test_octree.py::SimpleCompressedOctreeTestCase::test_plot_root
base/tests/test_octree.py::TestCompressedOctreeFor1DDataset::test_plot_root
base/tests/test_octree.py::TestCompressedOctreeFor2DDataset::test_plot_root
base/tests/test_octree.py::TestCompressedOctreeForFloatingPointError::test_plot_root
D:\Softwares\Anaconda3\lib\site-packages\pysph\base\tests\test_octree.py:185: MatplotlibDeprecationWarning: Axes3D(fig) adding itself to the figure is deprecated since 3.4. Pass the keyword argument auto_add_to_figure=False and use fig.add_axes(ax) to suppress this warning. The default value of auto_add_to_figure will change to False in mpl3.5 and True values will no longer work in 3.6. This is consistent with other Axes classes.
ax = Axes3D(fig)
base/tests/test_octree.py::SimpleParallelOctreeTestCase::test_plot_root
base/tests/test_octree.py::TestParallelOctreeFor2DDataset::test_plot_root
base/tests/test_octree.py::TestParallelOctreeFor1DDataset::test_plot_root
base/tests/test_octree.py::TestParallelOctreeForFloatingPointError::test_plot_root
base/tests/test_octree.py::SimpleParallelCompressedOctreeTestCase::test_plot_root
base/tests/test_octree.py::TestParallelCompressedOctreeFor1DDataset::test_plot_root
base/tests/test_octree.py::TestParallelCompressedOctreeFor2DDataset::test_plot_root
base/tests/test_octree.py::TestParallelCompressedOctreeForFloatingPointError::test_plot_root
D:\Softwares\Anaconda3\lib\site-packages\pysph\base\tests\test_octree.py:374: MatplotlibDeprecationWarning: Axes3D(fig) adding itself to the figure is deprecated since 3.4. Pass the keyword argument auto_add_to_figure=False and use fig.add_axes(ax) to suppress this warning. The default value of auto_add_to_figure will change to False in mpl3.5 and True values will no longer work in 3.6. This is consistent with other Axes classes.
ax = Axes3D(fig)
solver/tests/test_application.py::TestApplication::test_app_stops_multi_proc_interface_at_end
D:\Softwares\Anaconda3\lib\site-packages\_pytest\threadexception.py:75: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-19
Traceback (most recent call last):
File "D:\Softwares\Anaconda3\lib\threading.py", line 973, in _bootstrap_inner
self.run()
File "D:\Softwares\Anaconda3\lib\threading.py", line 910, in run
self._target(*self._args, **self._kwargs)
File "D:\Softwares\Anaconda3\lib\site-packages\pysph\solver\solver_interfaces.py", line 53, in start
self.start()
TypeError: start() missing 1 required positional argument: 'controller'
warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
solver/tests/test_application.py::TestApplication::test_app_stops_xml_rpc_interface_at_end
D:\Softwares\Anaconda3\lib\site-packages\_pytest\threadexception.py:75: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-20
Traceback (most recent call last):
File "D:\Softwares\Anaconda3\lib\threading.py", line 973, in _bootstrap_inner
self.run()
File "D:\Softwares\Anaconda3\lib\threading.py", line 910, in run
self._target(*self._args, **self._kwargs)
File "D:\Softwares\Anaconda3\lib\site-packages\pysph\solver\solver_interfaces.py", line 157, in start
self.serve_forever()
File "D:\Softwares\Anaconda3\lib\socketserver.py", line 232, in serve_forever
ready = selector.select(poll_interval)
File "D:\Softwares\Anaconda3\lib\selectors.py", line 324, in select
r, w, _ = self._select(self._readers, self._writers, [], timeout)
File "D:\Softwares\Anaconda3\lib\selectors.py", line 315, in _select
r, w, x = select.select(r, w, w, timeout)
OSError: [WinError 10038] 在一个非套接字上尝试了一个操作。
warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
tools/tests/test_mesh_tools.py::TestGeometry::test_get_points_from_mgrid
tools/tests/test_mesh_tools.py::TestGeometry::test_get_surface_points_uniform
D:\Softwares\Anaconda3\lib\site-packages\numpy\core\_asarray.py:102: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
return array(a, dtype, copy=False, order=order)
-- Docs:
https://docs.pytest.org/en/stable/warnings.html=========================================================================== short test summary info ============================================================================
FAILED examples/tests/test_examples.py::test_example_should_run[pysph.examples.dam_break_3d_output.mayavi_config] - subprocess.CalledProcessError: Command '['D:\\Softwares\\A...FAILED examples/tests/test_examples.py::test_example_should_run[pysph.examples.sphysics\\dam_break_output.mayavi_config] - subprocess.CalledProcessError: Command '['D:\\Softw...=============================================== 2 failed, 745 passed, 285 skipped, 6 xfailed, 41 warnings in 1018.19s (0:16:58) ================================================