pythonfmu3 - Python Version info #125379
Unanswered
gricharuk
asked this question in
Programming Help
Replies: 2 comments
-
Hey @gricharuk It is likely due to your environment setup. When looking at the repository, the CI actions test for Python 3.7, 3.8 and 3.9. No mention of 3.11 in the first place. Also, the CI looks to be going just well. So make sure you use the right python version when installing it. To avoid some mistakes, try installing it in a virtual environment. mkdir venv
cd venv
python39 -m venv .
source bin/activate
pip39 install pythonfmu3
python39 ../test.py Hope this helps. |
Beta Was this translation helpful? Give feedback.
0 replies
This comment was marked as off-topic.
This comment was marked as off-topic.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
Hi,
I've tried to use pythonfmu3, transferred a project pythonfmu, can anyone confirm:-
What version of python3 should be used - I'm need to use use python3.9 due to the platform
Using python3.11 - I can get it working,
When I rebuild all using python3.9 - it looks like the .so files has a hard coded path to python3.11.4. When I instanciate it with fmpy I get that the python3.11 so file can't be found.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions