I was curious about Python4Delphi
and installed it and looked through the demos a bit. Now I wanted to install Numpy
via CMD with pip this went well without errors. but now when I enter the following code in DEMO01 of Python4Delphi
I get an error message. If I enter the same code in python
it works. How can i solve this?
How i installed Numpy:
pip install numpy
Example code:
import numpy as np
print(np .__version__)
The error i got:
AttributeError: partially initialized module 'numpy' has no attribute '__version__' (most likely due to a circular import). Did you mean: '_version'?
The versions: Delphi 11, Python 3.10.4, Pip 22.1, Numpy 1.22.4 and Win64
if i forgot some information let met know.