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

macOs libraries compiling but not working #46

Closed
skarone opened this issue Sep 6, 2016 · 3 comments
Closed

macOs libraries compiling but not working #46

skarone opened this issue Sep 6, 2016 · 3 comments

Comments

@skarone
Copy link

skarone commented Sep 6, 2016

I got all the libraries compiled in macOS... but when I try to import them in python 2.7, I'm getting an error
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python/pxr/Gf/__init__.py", line 31, in <module> from pxr import Tf File "/usr/local/lib/python/pxr/Tf/__init__.py", line 85, in <module> from . import _tf ImportError: cannot import name _tf

This is just one example but I'm getting the same problem with all of them...
I tried with Debug and Release libraries from xcode.

Some one is getting the same problem???

@asluk
Copy link
Collaborator

asluk commented Sep 6, 2016

This is covered in issue #19 - you can symlink the dylib's to so's, or direct Xcode to build the python bindings as so's.

@skarone
Copy link
Author

skarone commented Sep 6, 2016

Thanks!, haha I solved the problem just renaming... and came back to report.. you are fast!

@c64kernal
Copy link
Contributor

Thank you both.

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