Traceback (most recent call last): File "/Users/YYYY/xx.py", line 2, in <module> import numpy as np ModuleNotFoundError: No module named 'numpy' 上記エラーが発生した。
I want to run doctests, so I want to run for example python3 operation.py (inside /pennylane/pennylane/operation.py), but I get that error module not found.
ModuleNotFoundError: No module named 'numpy.lib.arraysetops' when trying to run anything with Hydralit. Looks like numpy 2.0 made lib.arraypad, lib.arraysetops, lib.ufunclike and lib.utils modules to ...