Python API and PyCharm

Trying to setup PyCharm on a Window10 PC.
I followed the steps from your wiki, inclusing setting for PYTHONPATH
PYTHONPATH=C:\Programming\Pulse\engine\src\python;C:\Programming\builds\pulse-engine\Innerbuild\src\python

but I am getting the error below

C:\Programming\PythonEnv\python.exe C:/Programming/Pulse/engine/src/python/pulse/howto/HowTo_EngineUse.py
Traceback (most recent call last):
File “C:\Programming\Pulse\engine\src\python\pulse\howto\HowTo_EngineUse.py”, line 12, in
from pulse.engine.PulseEngine import PulseEngine, version, hash
File “C:\Programming\Pulse\engine\src\python\pulse\engine\PulseEngine.py”, line 6, in
import PyPulse
ModuleNotFoundError: No module named ‘PyPulse’

Process finished with exit code 1

On windows, you want to add the directory of the pyd file to your python path
(Mine is PyPulse.cp39-win_amd64.pyd)

This contains the PyPulse module

This should be in your install/bin, so you want your python path to be

PYTHONPATH=C:\Programming\Pulse\engine\src\python;C:\Programming\builds\pulse-engine\Innerbuild\src\python;C:\Programming\builds\pulse-engine\install\bin

No lucky
And i checked that file is the directory

I am not sure that pythonpath variable is actually getting picked up properly by python for some reason

Try to hard code the path in a python file

No lucky again

If you are using PyCharm, can you just add the paths via the interpreter settings
https://gitlab.kitware.com/physiology/engine/-/wikis/Using%20Pycharm

Note, I am running from the IDE, so I do change my working directory for each HowTo file

I don’t know what is wrong, but still getting same issue

It looks like you built the pyd with python 3.9 and you are using a 3.10 interpreter
I am not sure how well python versions work together, but maybe there is some kind of incompatibility?