Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: DLL load failed while importing vtkIONetCDF #37

Open
SamBum92 opened this issue Oct 27, 2023 · 0 comments
Open

ImportError: DLL load failed while importing vtkIONetCDF #37

SamBum92 opened this issue Oct 27, 2023 · 0 comments

Comments

@SamBum92
Copy link

Device Name DESKTOP-RU12A4K
Processor Intel(R) Xeon(R) CPU E5-2670 v3 @ 2.30GHz
Installed RAM 64.0 GB
Device ID F0AF90DF-D0F3-4473-B358-B20902DF1C92
Product ID 00330-80000-00000-AA901
System type 64-bit operating system, x64-based processor
Pen and touch No pen or touch input available for this screen

Windows 10 Pro Edition
Version 22H2
Installation date: 10/06/2021
Operating System Build 19045.3570
Windows Feature Experience Pack 1000.19052.1000.0

Install dependency with conda

conda create -n phm -c conda-forge python=3.8
conda activate phm
conda install -c conda-forge -c openalea cython numpy numba scipy scikit-image scikit-learn networkx=2.3 opencv matplotlib vtk pytest

Load phenomenal and install

git clone https://github.com/openalea/phenomenal.git
cd phenomenal
python setup.py develop

(Optional) Test your installation

cd test
pytest

================================================================================================================== ERRORS ==================================================================================================================
________________________________________________________________________________________ ERROR collecting test/test_calibration/test_calibration.py ________________________________________________________________________________________
ImportError while importing test module '...\phenomenal\test\test_calibration\test_calibration.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
..\..\anaconda3\envs\phm\lib\importlib\__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
test_calibration\test_calibration.py:18: in <module>
    import openalea.phenomenal.data as phm_data
..\src\openalea\phenomenal\data\__init__.py:43: in <module>
    from .data import *
..\src\openalea\phenomenal\data\data.py:22: in <module>
    from ..mesh import read_ply_to_vertices_faces
..\src\openalea\phenomenal\mesh\__init__.py:61: in <module>
    from .algorithms import *
..\src\openalea\phenomenal\mesh\algorithms.py:12: in <module>
    import vtk
..\..\anaconda3\envs\phm\lib\site-packages\vtk.py:30: in <module>
    all_m = importlib.import_module('vtkmodules.all')
..\..\anaconda3\envs\phm\lib\importlib\__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
..\..\anaconda3\envs\phm\lib\site-packages\vtkmodules\all.py:51: in <module>
    from .vtkIONetCDF import *
E   ImportError: DLL load failed while importing vtkIONetCDF: Unable to find the specified procedure.
__________________________________________________________________________________ ERROR collecting test/test_calibration/test_calibration_chess_frame.py __________________________________________________________________________________
ImportError while importing test module '...\phenomenal\test\test_calibration\test_calibration_chess_frame.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
..\..\anaconda3\envs\phm\lib\importlib\__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
test_calibration\test_calibration_chess_frame.py:19: in <module>
    import openalea.phenomenal.data as phm_data
..\src\openalea\phenomenal\data\__init__.py:43: in <module>
    from .data import *
..\src\openalea\phenomenal\data\data.py:22: in <module>
    from ..mesh import read_ply_to_vertices_faces
..\src\openalea\phenomenal\mesh\__init__.py:61: in <module>
    from .algorithms import *
..\src\openalea\phenomenal\mesh\algorithms.py:12: in <module>
    import vtk
..\..\anaconda3\envs\phm\lib\site-packages\vtk.py:30: in <module>
    all_m = importlib.import_module('vtkmodules.all')
..\..\anaconda3\envs\phm\lib\importlib\__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
..\..\anaconda3\envs\phm\lib\site-packages\vtkmodules\all.py:51: in <module>
    from .vtkIONetCDF import *
E   ImportError: DLL load failed while importing vtkIONetCDF: Unable to find the specified procedure.
__________________________________________________________________________________ ERROR collecting test/test_calibration/test_calibration_projection.py ___________________________________________________________________________________
ImportError while importing test module '...\phenomenal\test\test_calibration\test_calibration_projection.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
..\..\anaconda3\envs\phm\lib\importlib\__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
test_calibration\test_calibration_projection.py:17: in <module>
    import openalea.phenomenal.data as phm_data
..\src\openalea\phenomenal\data\__init__.py:43: in <module>
    from .data import *
..\src\openalea\phenomenal\data\data.py:22: in <module>
    from ..mesh import read_ply_to_vertices_faces
..\src\openalea\phenomenal\mesh\__init__.py:61: in <module>
    from .algorithms import *
..\src\openalea\phenomenal\mesh\algorithms.py:12: in <module>
    import vtk
..\..\anaconda3\envs\phm\lib\site-packages\vtk.py:30: in <module>
    all_m = importlib.import_module('vtkmodules.all')
..\..\anaconda3\envs\phm\lib\importlib\__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
..\..\anaconda3\envs\phm\lib\site-packages\vtkmodules\all.py:51: in <module>
    from .vtkIONetCDF import *
E   ImportError: DLL load failed while importing vtkIONetCDF: Unable to find the specified procedure.
________________________________________________________________________________________ ERROR collecting test/test_calibration/test_chessboard.py _________________________________________________________________________________________
ImportError while importing test module '...\phenomenal\test\test_calibration\test_chessboard.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
..\..\anaconda3\envs\phm\lib\importlib\__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
test_calibration\test_chessboard.py:17: in <module>
    import openalea.phenomenal.data as phm_data
..\src\openalea\phenomenal\data\__init__.py:43: in <module>
    from .data import *
..\src\openalea\phenomenal\data\data.py:22: in <module>
    from ..mesh import read_ply_to_vertices_faces
..\src\openalea\phenomenal\mesh\__init__.py:61: in <module>
    from .algorithms import *
..\src\openalea\phenomenal\mesh\algorithms.py:12: in <module>
    import vtk
..\..\anaconda3\envs\phm\lib\site-packages\vtk.py:30: in <module>
    all_m = importlib.import_module('vtkmodules.all')
..\..\anaconda3\envs\phm\lib\importlib\__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
..\..\anaconda3\envs\phm\lib\site-packages\vtkmodules\all.py:51: in <module>
    from .vtkIONetCDF import *
E   ImportError: DLL load failed while importing vtkIONetCDF: Unable to find the specified procedure.
____________________________________________________________________________________________ ERROR collecting test/test_mesh/test_algorithms.py ____________________________________________________________________________________________
ImportError while importing test module '...\phenomenal\test\test_mesh\test_algorithms.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
..\..\anaconda3\envs\phm\lib\importlib\__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
test_mesh\test_algorithms.py:16: in <module>
    import openalea.phenomenal.data as phm_data
..\src\openalea\phenomenal\data\__init__.py:43: in <module>
    from .data import *
..\src\openalea\phenomenal\data\data.py:22: in <module>
    from ..mesh import read_ply_to_vertices_faces
..\src\openalea\phenomenal\mesh\__init__.py:61: in <module>
    from .algorithms import *
..\src\openalea\phenomenal\mesh\algorithms.py:12: in <module>
    import vtk
..\..\anaconda3\envs\phm\lib\site-packages\vtk.py:30: in <module>
    all_m = importlib.import_module('vtkmodules.all')
..\..\anaconda3\envs\phm\lib\importlib\__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
..\..\anaconda3\envs\phm\lib\site-packages\vtkmodules\all.py:51: in <module>
    from .vtkIONetCDF import *
E   ImportError: DLL load failed while importing vtkIONetCDF: Unable to find the specified procedure.
__________________________________________________________________________ ERROR collecting test/test_multi_view_reconstruction/test_multi_view_reconstruction.py __________________________________________________________________________
ImportError while importing test module '...\phenomenal\test\test_multi_view_reconstruction\test_multi_view_reconstruction.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
..\..\anaconda3\envs\phm\lib\importlib\__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
test_multi_view_reconstruction\test_multi_view_reconstruction.py:17: in <module>
    import openalea.phenomenal.data as phm_data
..\src\openalea\phenomenal\data\__init__.py:43: in <module>
    from .data import *
..\src\openalea\phenomenal\data\data.py:22: in <module>
    from ..mesh import read_ply_to_vertices_faces
..\src\openalea\phenomenal\mesh\__init__.py:61: in <module>
    from .algorithms import *
..\src\openalea\phenomenal\mesh\algorithms.py:12: in <module>
    import vtk
..\..\anaconda3\envs\phm\lib\site-packages\vtk.py:30: in <module>
    all_m = importlib.import_module('vtkmodules.all')
..\..\anaconda3\envs\phm\lib\importlib\__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
..\..\anaconda3\envs\phm\lib\site-packages\vtkmodules\all.py:51: in <module>
    from .vtkIONetCDF import *
E   ImportError: DLL load failed while importing vtkIONetCDF: Unable to find the specified procedure.
____________________________________________________________________________________________ ERROR collecting test/test_object/test_Image3D.py _____________________________________________________________________________________________
ImportError while importing test module '...\phenomenal\test\test_object\test_Image3D.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
..\..\anaconda3\envs\phm\lib\importlib\__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
test_object\test_Image3D.py:14: in <module>
    import openalea.phenomenal.data as phm_data
..\src\openalea\phenomenal\data\__init__.py:43: in <module>
    from .data import *
..\src\openalea\phenomenal\data\data.py:22: in <module>
    from ..mesh import read_ply_to_vertices_faces
..\src\openalea\phenomenal\mesh\__init__.py:61: in <module>
    from .algorithms import *
..\src\openalea\phenomenal\mesh\algorithms.py:12: in <module>
    import vtk
..\..\anaconda3\envs\phm\lib\site-packages\vtk.py:30: in <module>
    all_m = importlib.import_module('vtkmodules.all')
..\..\anaconda3\envs\phm\lib\importlib\__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
..\..\anaconda3\envs\phm\lib\site-packages\vtkmodules\all.py:51: in <module>
    from .vtkIONetCDF import *
E   ImportError: DLL load failed while importing vtkIONetCDF: Unable to find the specified procedure.
___________________________________________________________________________________________ ERROR collecting test/test_object/test_VoxelGrid.py ____________________________________________________________________________________________
ImportError while importing test module '...\phenomenal\test\test_object\test_VoxelGrid.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
..\..\anaconda3\envs\phm\lib\importlib\__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
test_object\test_VoxelGrid.py:16: in <module>
    import openalea.phenomenal.data as phm_data
..\src\openalea\phenomenal\data\__init__.py:43: in <module>
    from .data import *
..\src\openalea\phenomenal\data\data.py:22: in <module>
    from ..mesh import read_ply_to_vertices_faces
..\src\openalea\phenomenal\mesh\__init__.py:61: in <module>
    from .algorithms import *
..\src\openalea\phenomenal\mesh\algorithms.py:12: in <module>
    import vtk
..\..\anaconda3\envs\phm\lib\site-packages\vtk.py:30: in <module>
    all_m = importlib.import_module('vtkmodules.all')
..\..\anaconda3\envs\phm\lib\importlib\__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
..\..\anaconda3\envs\phm\lib\site-packages\vtkmodules\all.py:51: in <module>
    from .vtkIONetCDF import *
E   ImportError: DLL load failed while importing vtkIONetCDF: Unable to find the specified procedure.
__________________________________________________________________________________________ ERROR collecting test/test_object/test_sementation.py ___________________________________________________________________________________________
ImportError while importing test module '...\phenomenal\test\test_object\test_sementation.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
..\..\anaconda3\envs\phm\lib\importlib\__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
test_object\test_sementation.py:19: in <module>
    import openalea.phenomenal.data as phm_data
..\src\openalea\phenomenal\data\__init__.py:43: in <module>
    from .data import *
..\src\openalea\phenomenal\data\data.py:22: in <module>
    from ..mesh import read_ply_to_vertices_faces
..\src\openalea\phenomenal\mesh\__init__.py:61: in <module>
    from .algorithms import *
..\src\openalea\phenomenal\mesh\algorithms.py:12: in <module>
    import vtk
..\..\anaconda3\envs\phm\lib\site-packages\vtk.py:30: in <module>
    all_m = importlib.import_module('vtkmodules.all')
..\..\anaconda3\envs\phm\lib\importlib\__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
..\..\anaconda3\envs\phm\lib\site-packages\vtkmodules\all.py:51: in <module>
    from .vtkIONetCDF import *
E   ImportError: DLL load failed while importing vtkIONetCDF: Impossibile trovare la procedura specificata.
_________________________________________________________________________________________ ERROR collecting test/test_object/test_voxelSkeleton.py __________________________________________________________________________________________
ImportError while importing test module '...\phenomenal\test\test_object\test_voxelSkeleton.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
..\..\anaconda3\envs\phm\lib\importlib\__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
test_object\test_voxelSkeleton.py:16: in <module>
    import openalea.phenomenal.data as phm_data
..\src\openalea\phenomenal\data\__init__.py:43: in <module>
    from .data import *
..\src\openalea\phenomenal\data\data.py:22: in <module>
    from ..mesh import read_ply_to_vertices_faces
..\src\openalea\phenomenal\mesh\__init__.py:61: in <module>
    from .algorithms import *
..\src\openalea\phenomenal\mesh\algorithms.py:12: in <module>
    import vtk
..\..\anaconda3\envs\phm\lib\site-packages\vtk.py:30: in <module>
    all_m = importlib.import_module('vtkmodules.all')
..\..\anaconda3\envs\phm\lib\importlib\__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
..\..\anaconda3\envs\phm\lib\site-packages\vtkmodules\all.py:51: in <module>
    from .vtkIONetCDF import *
E   ImportError: DLL load failed while importing vtkIONetCDF: Unable to find the specified procedure.
_______________________________________________________________________________________ ERROR collecting test/test_segmentation/test_create_graph.py _______________________________________________________________________________________
..\..\anaconda3\envs\phm\lib\site-packages\_pytest\runner.py:341: in from_call
    result: Optional[TResult] = func()
..\..\anaconda3\envs\phm\lib\site-packages\_pytest\runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
..\..\anaconda3\envs\phm\lib\site-packages\_pytest\python.py:531: in collect
    self._inject_setup_module_fixture()
..\..\anaconda3\envs\phm\lib\site-packages\_pytest\python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
..\..\anaconda3\envs\phm\lib\site-packages\_pytest\python.py:310: in obj
    self._obj = obj = self._getobj()
..\..\anaconda3\envs\phm\lib\site-packages\_pytest\python.py:528: in _getobj
    return self._importtestmodule()
..\..\anaconda3\envs\phm\lib\site-packages\_pytest\python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
..\..\anaconda3\envs\phm\lib\site-packages\_pytest\pathlib.py:567: in import_path
    importlib.import_module(module_name)
..\..\anaconda3\envs\phm\lib\importlib\__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1014: in _gcd_import
    ???
<frozen importlib._bootstrap>:991: in _find_and_load
    ???
<frozen importlib._bootstrap>:975: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:671: in _load_unlocked
    ???
..\..\anaconda3\envs\phm\lib\site-packages\_pytest\assertion\rewrite.py:186: in exec_module
    exec(co, module.__dict__)
test_segmentation\test_create_graph.py:14: in <module>
    import networkx
..\..\anaconda3\envs\phm\lib\site-packages\networkx\__init__.py:117: in <module>
    import networkx.readwrite
..\..\anaconda3\envs\phm\lib\site-packages\networkx\readwrite\__init__.py:15: in <module>
    from networkx.readwrite.graphml import *
..\..\anaconda3\envs\phm\lib\site-packages\networkx\readwrite\graphml.py:314: in <module>
    class GraphML(object):
..\..\anaconda3\envs\phm\lib\site-packages\networkx\readwrite\graphml.py:346: in GraphML
    (np.int, "int"), (np.int8, "int"),
..\..\anaconda3\envs\phm\lib\site-packages\numpy\__init__.py:305: in __getattr__
    raise AttributeError(__former_attrs__[attr])
E   AttributeError: module 'numpy' has no attribute 'int'.
E   `np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information.
E   The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
E       https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
______________________________________________________________________________________ ERROR collecting test/test_segmentation/test_graph_connect.py _______________________________________________________________________________________
ImportError while importing test module '...\phenomenal\test\test_segmentation\test_graph_connect.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
..\..\anaconda3\envs\phm\lib\importlib\__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
test_segmentation\test_graph_connect.py:14: in <module>
    import openalea.phenomenal.data as phm_data
..\src\openalea\phenomenal\data\__init__.py:43: in <module>
    from .data import *
..\src\openalea\phenomenal\data\data.py:22: in <module>
    from ..mesh import read_ply_to_vertices_faces
..\src\openalea\phenomenal\mesh\__init__.py:61: in <module>
    from .algorithms import *
..\src\openalea\phenomenal\mesh\algorithms.py:12: in <module>
    import vtk
..\..\anaconda3\envs\phm\lib\site-packages\vtk.py:30: in <module>
    all_m = importlib.import_module('vtkmodules.all')
..\..\anaconda3\envs\phm\lib\importlib\__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
..\..\anaconda3\envs\phm\lib\site-packages\vtkmodules\all.py:51: in <module>
    from .vtkIONetCDF import *
E   ImportError: DLL load failed while importing vtkIONetCDF: Unable to find the specified procedure.
__________________________________________________________________________________________ ERROR collecting test/test_segmentation/test_maize.py ___________________________________________________________________________________________
ImportError while importing test module '...\phenomenal\test\test_segmentation\test_maize.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
..\..\anaconda3\envs\phm\lib\importlib\__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
test_segmentation\test_maize.py:16: in <module>
    import openalea.phenomenal.data as phm_data
..\src\openalea\phenomenal\data\__init__.py:43: in <module>
    from .data import *
..\src\openalea\phenomenal\data\data.py:22: in <module>
    from ..mesh import read_ply_to_vertices_faces
..\src\openalea\phenomenal\mesh\__init__.py:61: in <module>
    from .algorithms import *
..\src\openalea\phenomenal\mesh\algorithms.py:12: in <module>
    import vtk
..\..\anaconda3\envs\phm\lib\site-packages\vtk.py:30: in <module>
    all_m = importlib.import_module('vtkmodules.all')
..\..\anaconda3\envs\phm\lib\importlib\__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
..\..\anaconda3\envs\phm\lib\site-packages\vtkmodules\all.py:51: in <module>
    from .vtkIONetCDF import *
E   ImportError: DLL load failed while importing vtkIONetCDF: Unable to find the specified procedure.
_________________________________________________________________________________ ERROR collecting test/test_segmentation/test_routines_remove_internal.py _________________________________________________________________________________
..\..\anaconda3\envs\phm\lib\site-packages\_pytest\runner.py:341: in from_call
    result: Optional[TResult] = func()
..\..\anaconda3\envs\phm\lib\site-packages\_pytest\runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
..\..\anaconda3\envs\phm\lib\site-packages\_pytest\python.py:531: in collect
    self._inject_setup_module_fixture()
..\..\anaconda3\envs\phm\lib\site-packages\_pytest\python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
..\..\anaconda3\envs\phm\lib\site-packages\_pytest\python.py:310: in obj
    self._obj = obj = self._getobj()
..\..\anaconda3\envs\phm\lib\site-packages\_pytest\python.py:528: in _getobj
    return self._importtestmodule()
..\..\anaconda3\envs\phm\lib\site-packages\_pytest\python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
..\..\anaconda3\envs\phm\lib\site-packages\_pytest\pathlib.py:567: in import_path
    importlib.import_module(module_name)
..\..\anaconda3\envs\phm\lib\importlib\__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1014: in _gcd_import
    ???
<frozen importlib._bootstrap>:991: in _find_and_load
    ???
<frozen importlib._bootstrap>:975: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:671: in _load_unlocked
    ???
..\..\anaconda3\envs\phm\lib\site-packages\_pytest\assertion\rewrite.py:186: in exec_module
    exec(co, module.__dict__)
test_segmentation\test_routines_remove_internal.py:17: in <module>
    import openalea.phenomenal.segmentation as phm_seg
..\src\openalea\phenomenal\segmentation\__init__.py:39: in <module>
    from .plane_interception import *
..\src\openalea\phenomenal\segmentation\plane_interception.py:14: in <module>
    import networkx
..\..\anaconda3\envs\phm\lib\site-packages\networkx\__init__.py:117: in <module>
    import networkx.readwrite
..\..\anaconda3\envs\phm\lib\site-packages\networkx\readwrite\__init__.py:15: in <module>
    from networkx.readwrite.graphml import *
..\..\anaconda3\envs\phm\lib\site-packages\networkx\readwrite\graphml.py:314: in <module>
    class GraphML(object):
..\..\anaconda3\envs\phm\lib\site-packages\networkx\readwrite\graphml.py:346: in GraphML
    (np.int, "int"), (np.int8, "int"),
..\..\anaconda3\envs\phm\lib\site-packages\numpy\__init__.py:305: in __getattr__
    raise AttributeError(__former_attrs__[attr])
E   AttributeError: module 'numpy' has no attribute 'int'.
E   `np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information.
E   The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
E       https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
_________________________________________________________________________________________ ERROR collecting test/test_segmentation/test_skeleton.py _________________________________________________________________________________________
ImportError while importing test module '...\phenomenal\test\test_segmentation\test_skeleton.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
..\..\anaconda3\envs\phm\lib\importlib\__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
test_segmentation\test_skeleton.py:16: in <module>
    import openalea.phenomenal.data as phm_data
..\src\openalea\phenomenal\data\__init__.py:43: in <module>
    from .data import *
..\src\openalea\phenomenal\data\data.py:22: in <module>
    from ..mesh import read_ply_to_vertices_faces
..\src\openalea\phenomenal\mesh\__init__.py:61: in <module>
    from .algorithms import *
..\src\openalea\phenomenal\mesh\algorithms.py:12: in <module>
    import vtk
..\..\anaconda3\envs\phm\lib\site-packages\vtk.py:30: in <module>
    all_m = importlib.import_module('vtkmodules.all')
..\..\anaconda3\envs\phm\lib\importlib\__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
..\..\anaconda3\envs\phm\lib\site-packages\vtkmodules\all.py:51: in <module>
    from .vtkIONetCDF import *
E   ImportError: DLL load failed while importing vtkIONetCDF: Unable to find the specified procedure.
============================================================================================================= warnings summary =============================================================================================================
..\src\openalea\__init__.py:14
  ...\phenomenal\src\openalea\__init__.py:14: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
    import pkg_resources

..\..\anaconda3\envs\phm\lib\site-packages\pkg_resources\__init__.py:2871
 ...\anaconda3\envs\phm\lib\site-packages\pkg_resources\__init__.py:2871: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('mpl_toolkits')`.
  Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)

..\src\openalea\__init__.py:15
  ...\phenomenal\src\openalea\__init__.py:15: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('openalea')`.
  Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    pkg_resources.declare_namespace(__name__)

..\..\anaconda3\envs\phm\lib\site-packages\skimage\util\dtype.py:27
  ...\anaconda3\envs\phm\lib\site-packages\skimage\util\dtype.py:27: DeprecationWarning: `np.bool8` is a deprecated alias for `np.bool_`.  (Deprecated NumPy 1.24)
    np.bool8: (False, True),

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
========================================================================================================= short test summary info ==========================================================================================================
ERROR test_calibration\test_calibration.py
ERROR test_calibration\test_calibration_chess_frame.py
ERROR test_calibration\test_calibration_projection.py
ERROR test_calibration\test_chessboard.py
ERROR test_mesh\test_algorithms.py
ERROR test_multi_view_reconstruction\test_multi_view_reconstruction.py
ERROR test_object\test_Image3D.py
ERROR test_object\test_VoxelGrid.py
ERROR test_object\test_sementation.py
ERROR test_object\test_voxelSkeleton.py
ERROR test_segmentation\test_create_graph.py - AttributeError: module 'numpy' has no attribute 'int'.
ERROR test_segmentation\test_graph_connect.py
ERROR test_segmentation\test_maize.py
ERROR test_segmentation\test_routines_remove_internal.py - AttributeError: module 'numpy' has no attribute 'int'.
ERROR test_segmentation\test_skeleton.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 15 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
===================================================================================================== 4 warnings, 15 errors in 13.09s ======================================================================================================

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant