'pyzed' has no attribute 'Matrix4f'

Thank you ! Now what is the output of C:\Users\user\AppData\Local\Programs\Python\Python311>python.exe -m pip install --force-reinstall C:\Users\user\AppData\Local\Programs\Python\Python311\lib\site-packages\pyzed\pyzed-4.0-cp311-cp311-win_amd64.whl ?

Here is the output . it has version error with tensorflow and numpy, but I don’t think it is related with this problem.

C:\Users\user\AppData\Local\Programs\Python\Python311>python.exe -m pip install --force-reinstall C:\Users\user\AppData\Local\Programs\Python\Python311\lib\site-packages\pyzed\pyzed-4.0-cp311-cp311-win_amd64.whl
Processing c:\users\user\appdata\local\programs\python\python311\lib\site-packages\pyzed\pyzed-4.0-cp311-cp311-win_amd64.whl
Collecting numpy>=1.13 (from pyzed==4.0)
Obtaining dependency information for numpy>=1.13 from https://files.pythonhosted.org/packages/2f/2a/34fe0b64e78347f4ea128868df0034a97e0f92b476f62947b0976caba820/numpy-1.25.1-cp311-cp311-win_amd64.whl.metadata
Using cached numpy-1.25.1-cp311-cp311-win_amd64.whl.metadata (5.7 kB)
Collecting cython>=0.28 (from pyzed==4.0)
Obtaining dependency information for cython>=0.28 from https://files.pythonhosted.org/packages/7d/61/bf165c17a1296fd7db78e18fd8cbb157ab04060ec58d34ff319424af3e2d/Cython-3.0.0-cp311-cp311-win_amd64.whl.metadata
Using cached Cython-3.0.0-cp311-cp311-win_amd64.whl.metadata (3.2 kB)
Using cached Cython-3.0.0-cp311-cp311-win_amd64.whl (2.8 MB)
Using cached numpy-1.25.1-cp311-cp311-win_amd64.whl (15.0 MB)
Installing collected packages: numpy, cython, pyzed
Attempting uninstall: numpy
Found existing installation: numpy 1.25.1
Uninstalling numpy-1.25.1:
Successfully uninstalled numpy-1.25.1
Attempting uninstall: cython
Found existing installation: Cython 0.29.36
Uninstalling Cython-0.29.36:
Successfully uninstalled Cython-0.29.36
Attempting uninstall: pyzed
Found existing installation: pyzed 1.3.0
Uninstalling pyzed-1.3.0:
Successfully uninstalled pyzed-1.3.0
ERROR: pip’s dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
tensorflow-intel 2.13.0 requires numpy<=1.24.3,>=1.22, but you have numpy 1.25.1 which is incompatible.
tensorflow-intel 2.13.0 requires typing-extensions<4.6.0,>=3.6.6, but you have typing-extensions 4.7.1 which is incompatible.
Successfully installed cython-3.0.0 numpy-1.25.1 pyzed-4.0

I hope this would help you solve this problem. This is the output of pip freeze.
C:\Users\user\AppData\Local\Programs\Python\Python311>pip freeze
absl-py==1.4.0
airsim==1.8.1
ale-py==0.8.1
astunparse==1.6.3
auth==0.5.3
AutoROM==0.6.1
AutoROM.accept-rom-license==0.6.1
beautifulsoup4==4.12.2
blinker==1.6.2
cachetools==5.3.1
certifi==2023.7.22
chardet==3.0.4
charset-normalizer==3.2.0
click==8.1.6
cloudpickle==2.2.1
colorama==0.4.6
contourpy==1.1.0
cycler==0.11.0
Cython==3.0.0
dnspython==2.4.1
durationpy==0.5
eventlet==0.33.3
ez-setup==0.9
falcon==3.1.1
Farama-Notifications==0.0.4
filelock==3.12.2
flatbuffers==23.5.26
fonttools==4.41.1
gast==0.4.0
google==3.0.0
google-auth==2.22.0
google-auth-oauthlib==1.0.0
google-pasta==0.2.0
greenlet==2.0.2
grpcio==1.56.2
gunicorn==21.2.0
gym==0.26.2
gym-notices==0.0.8
gymnasium==0.29.0
h5py==3.9.0
idna==3.4
importlib-resources==6.0.0
jax-jumpy==1.0.0
Jinja2==3.1.2
keras==2.13.1
kiwisolver==1.4.4
libclang==16.0.6
Markdown==3.4.4
markdown-it-py==3.0.0
MarkupSafe==2.1.3
matplotlib==3.7.2
mdurl==0.1.2
mongoengine==0.27.0
mpmath==1.3.0
msgpack-python==0.5.6
msgpack-rpc-python==0.4.1
networkx==3.1
numpy==1.25.1
oauthlib==3.2.2
opencv-contrib-python==4.8.0.74
opencv-python==4.8.0.74
opt-einsum==3.3.0
packaging==23.1
pandas==2.0.3
Pillow==10.0.0
protobuf==4.24.0rc2
psutil==5.9.5
pyasn1==0.5.0
pyasn1-modules==0.3.0
PyAudio==0.2.13
pygame==2.5.0
Pygments==2.15.1
pymongo==4.4.1
PyOpenGL==3.1.7
pyparsing==3.0.9
python-dateutil==2.8.2
pytz==2023.3
pyzed @ file:///C:/Users/user/AppData/Local/Programs/Python/Python311/lib/site-packages/pyzed/pyzed-4.0-cp311-cp311-win_amd64.whl#sha256=624fbc6acd959c09bf5c2bb7a6871d200be72beb81702071c573c85dbbd9df7e
requests==2.31.0
requests-oauthlib==1.3.1
rich==13.4.2
rsa==4.9
sb3-contrib @ git+https://github.com/Stable-Baselines-Team/stable-baselines3-contrib@35f06254ba3a470e8bbe1dff0bfc6f319ee2431a
scipy==1.11.1
Shimmy==0.2.1
six==1.16.0
soupsieve==2.4.1
stable-baselines3 @ git+https://github.com/DLR-RM/stable-baselines3@ba77dd7c6180c0ec9a47dfa98291c2103e6750df
sympy==1.12
tensorboard==2.13.0
tensorboard-data-server==0.7.1
tensorflow==2.13.0
tensorflow-estimator==2.13.0
tensorflow-intel==2.13.0
tensorflow-io-gcs-filesystem==0.31.0
termcolor==2.3.0
torch==2.0.1
tornado==4.5.3

Hi,

Just to remember the flow of your issue, after you do all these reinstall

  • Are you using conda ?
  • What is the error log when you run the first tutorial?
  • Does ZED_Depth_Viewer runs correctly ?