You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to run unit tests, but the python initialization kept failing. I set the environment variable and restarted visual studio, but still had the same problem. I found on the Pythonnet documentation that if you set the PythonHome property in the engine it can resolve any path problems that might be occuring. I have multiple versions of python on my system.
You might be able to reproduce the issue by installing another version of python and have it be in the path. I'm not really sure though. For me I had python 3.9 as my main instance, but was trying to use 3.6.8 for pythonnet.
The text was updated successfully, but these errors were encountered:
Environment
Details
I was trying to run unit tests, but the python initialization kept failing. I set the environment variable and restarted visual studio, but still had the same problem. I found on the Pythonnet documentation that if you set the PythonHome property in the engine it can resolve any path problems that might be occuring. I have multiple versions of python on my system.
TODO
What commands did you run to trigger this issue? If you can provide a
Minimal, Complete, and Verifiable example
this will help us understand the issue.
You might be able to reproduce the issue by installing another version of python and have it be in the path. I'm not really sure though. For me I had python 3.9 as my main instance, but was trying to use 3.6.8 for pythonnet.
The text was updated successfully, but these errors were encountered: