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

Added support for python 3.8 on windows by explicitely loading dlls #1420

Closed
wants to merge 2 commits into from
Closed

Added support for python 3.8 on windows by explicitely loading dlls #1420

wants to merge 2 commits into from

Conversation

rdeioris
Copy link

@rdeioris rdeioris commented Dec 22, 2020

Hi everyone, this patch adds support for python >= 3.8 on windows systems.

The fix works by explicitly adding the dll paths at runtime (by importing an ad-hoc module in the pxr/init.py module)

It should fix #1404

@rdeioris
Copy link
Author

Copy link
Member

@meshula meshula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a nice, low touch, way to resolve this problem!

extras/windows_check.py Outdated Show resolved Hide resolved
@jtran56
Copy link

jtran56 commented Dec 24, 2020

Filed as internal issue #USD-6530

@sunyab
Copy link
Contributor

sunyab commented Apr 21, 2021

Hi @rdeioris, thanks for this PR! We think there are some issues with this approach though. In particular, this change permanently modifies Python's DLL search path once any USD module is imported. Also, I think this change works well for USD builds done via build_usd.py since USD and all of its dependencies are in a well-known location, but may not work for "manual" builds of USD where the dependencies may live in other locations.

We're actually in progress right now on this issue and hope to have something shortly. So I'm going to close this PR out, but thanks again!

@sunyab sunyab closed this Apr 21, 2021
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

Successfully merging this pull request may close these issues.

Add support for Python 3.8 on Windows
4 participants