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

PluginManager.rezplugins_module_paths breaks with zipped Python #1108

Closed
Ed-Whetstone-RT opened this issue Jul 25, 2021 · 2 comments
Closed

Comments

@Ed-Whetstone-RT
Copy link

When I run the code below, I get an error stating that zipimporter object has no attribute path

I'm using Python 3.9.1 Embeddable and Rez 2.93 on Windows. I think this is related to the embeddable python using a zipped directory to store the standard library.

If I use my system python rather than the packaged embeddable python, this code runs fine.

from rez.plugin_managers import RezPluginManager
RezPluginManager().rezplugins_module_paths
@maxnbk
Copy link
Contributor

maxnbk commented Jul 28, 2021

based on DeprecationWarnings I see in rez against python-3.8 on linux, I strongly suspect rez isn't ready for py3.9+ yet anyway. Might want to hold off even if this issue is solved.
Planning to go look at the DeprecationWarnings soon.

nerdvegas pushed a commit that referenced this issue Aug 2, 2021
@nerdvegas
Copy link
Contributor

Fixed by #1109

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

3 participants