Error trying to use metavision sdk on python
Hello,
I have installed Metavision SDK 4.6 and created an anaconda environment with python 3.9. I am trying to load the metavision packages however I always get the same error "
ImportError Traceback (most recent call last)
----> 5 from metavision_core.event_io import EventsIterator
6 from metavision_hal import DeviceDiscovery
8 import time
File C:\Program Files\Prophesee\lib\python3\site-packages\metavision_core\event_io\__init__.py:13
11 from .py_reader import EventDatReader, EventNpyReader
12 from .raw_reader import RawReader
---> 13 from .events_iterator import EventsIterator
14 from .event_frame_iterator import EventFrameIterator
15 from .live_replay import LiveReplayEventsIterator, is_live_camera
File C:\Program Files\Prophesee\lib\python3\site-packages\metavision_core\event_io\events_iterator.py:15
13 from .raw_reader import RawReaderBase
14 from .py_reader import EventDatReader
---> 15 from .h5_io import HDF5EventsReader
16 import numpy as np
19 class EventsIterator(object):
File C:\Program Files\Prophesee\lib\python3\site-packages\metavision_core\event_io\h5_io.py:14
1 # Copyright (c) Prophesee S.A....
17 import numpy
File h5py\\h5.pyx:1, in init h5py.h5()
ImportError: DLL load failed while importing defs: Impossível localizar o procedimento especificado. "I’ve systematically troubleshooted the Metavision SDK import issue in Python. First, I confirmed that my Python (3.9) and library versions (h5py, hdf5) were correct and fixed a system-wide MSMPI conflict that was overriding the Conda installation. Then, I checked that all Metavision DLLs were properly installed and made sure Python could find them by adding the SDK’s bin and lib directories to the DLL search path. I also verified that the Visual C++ Redistributables were installed and added the matching OpenCV runtime.
Nothing fixes this error. I have also already tried copying the site-packages folder from the Metavision installation into my anaconda environment direclty. How can I fix this? I have attatched a print screen showcasing the error in question.
Information
In this Community Forum, you can discuss products, technology and applications. Only registred users can post but everyone can read. To ask a private question, enter a support ticket in My Area
https://support.prophesee.ai/portal/en/newticket