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
@meshula and I were working on this issue together, and figured out a work-around.
Could be something for the cmake script to resolve more effectively.
Description of Issue
All the generated python utilities like usdcat, usdchecker, usddiff, usdedit, etc.. reference the incorrect python version, at the top of each script:
#!/usr/local/bin/python2.7
Because cmake builds all the libs with system python, the references are to that python version.
So instead, all these scripts should instead reference system python at:
#!/usr/bin/python
System Information (OS, Hardware)
macOS 10.14.1
homebrew installed Python 2.7
The text was updated successfully, but these errors were encountered:
The Python detection code appears to give incorrect
answers on Ubuntu: the code thinks the Python library
lives in /usr/lib, but it actually lives in a different
directory according to the multiarch specification. The
same issue would presumably occur on any distribution
implementing that spec, like Debian.
Since the problem this code was intended to solve
primarily occurs on macOS, this fix simply skips over
the Python detection on Linux.
See #19
See #699
(Internal change: 1933560)
Referring to Issue #19
@meshula and I were working on this issue together, and figured out a work-around.
Could be something for the cmake script to resolve more effectively.
Description of Issue
All the generated python utilities like
usdcat
,usdchecker
,usddiff
,usdedit
, etc.. reference the incorrect python version, at the top of each script:Because cmake builds all the libs with system python, the references are to that python version.
So instead, all these scripts should instead reference system python at:
System Information (OS, Hardware)
macOS 10.14.1
homebrew installed Python 2.7
The text was updated successfully, but these errors were encountered: