Python 3.11 and OpenSim 3.3 Integration Issues
Posted: Tue Oct 22, 2024 2:51 pm
Hi everyone,
I've been trying to get Python 3.11 to integrate with OpenSim 3.3 (on Windows 11) so I can run a bunch of Static Optimizations and Joint Reaction Analyses. Doing that seems to be the easy part, and actually getting the package imported seems to be the real struggle. I've been heavily using the Scripting in Python help page (https://opensimconfluence.atlassian.net ... +in+Python).
I have added the environment variables, and I'm in the C:\OpenSim 3.3\sdk\Python directory when I run the setup.py file. Once that script runs, it does print out version 3.3 in the command window for me, but when I do my "import opensim as osim" and "osim.GetVersionAndDate()" it gives me the AttributeError that the opensim module does not have GetVersionAndDate. I've looked through the 3 troubleshooting tips, and none of them apply to me (as far as I'm aware).
Am I missing something pretty obvious here? Thanks for any help and assistance.
I've been trying to get Python 3.11 to integrate with OpenSim 3.3 (on Windows 11) so I can run a bunch of Static Optimizations and Joint Reaction Analyses. Doing that seems to be the easy part, and actually getting the package imported seems to be the real struggle. I've been heavily using the Scripting in Python help page (https://opensimconfluence.atlassian.net ... +in+Python).
I have added the environment variables, and I'm in the C:\OpenSim 3.3\sdk\Python directory when I run the setup.py file. Once that script runs, it does print out version 3.3 in the command window for me, but when I do my "import opensim as osim" and "osim.GetVersionAndDate()" it gives me the AttributeError that the opensim module does not have GetVersionAndDate. I've looked through the 3 troubleshooting tips, and none of them apply to me (as far as I'm aware).
Am I missing something pretty obvious here? Thanks for any help and assistance.