Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing to initialize Path confusion and #54

Open
bmello4688 opened this issue Jun 24, 2021 · 0 comments
Open

Failing to initialize Path confusion and #54

bmello4688 opened this issue Jun 24, 2021 · 0 comments

Comments

@bmello4688
Copy link

Environment

  • Pythonnet version: 2.0.4
  • Python version: 3.6.8
  • Operating System: Windows 10
  • .NET Runtime: net5

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant