-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Error compiling USD v20.05 with Python 3.7.4 installed. #1165
Comments
Compiling with Python2.7 worked like a charm. But when using Python 3.7.4 I still have the same problem as above. After some researches, perhaps it could be due to my Windows 10 regional settings ? |
Filed as internal issue #USD-5998 |
Hi @ChokmahBinah, could you post the logs showing the backtrace from your builds? The Python 3 issue does seem to be related to your locale, what is that set to? In Python you can do the following to check:
|
I added my System Information in my first message hoping it could help. And here my locales : C:\Program Files\Python37>python
|
Here the only log I can get : Building with settings: Building Shared libraries Dependencies zlib, boost, TBB, OpenEXR, Alembic, GLEW, OpenSubdiv, Blosc, OpenVDB Here is the zlib log I found : The problems seems to appear at boost installation. But I really don't, I am pretty new to this kind of stuff =$ |
Hello, I finally manage to compile USD 20.05 with Python 3.7.4. I used Visual Studio 2017 Developer Command Prompt v15.9.20 as before. Here is the line I replaced at lines 255/256 in the build_usd.py script : I launched kitchen stage and tit worked like a charm. I lauched the interpreter command to verify that it was really using Python 3.7.4. I hope it would help. Thank you a lot for all this USD stuff ^^ |
I have same problem
------ERROR----- Dependencies zlib, boost, TBB, GLEW, OpenSubdiv |
@ZeroSOFAD , |
@ChokmahBinah ------ERROR----- |
@ChokmahBinah ------CODE in build_usd.py------------ I reinstalled Python and Visual Studio In the beginning not working with And then installed and working. |
Python 3.8 isn't supported by USD on Windows yet. I think you might also have success with Python 3.7 and Visual Studio 16 2019. |
I tried it like this it doesn’t work! |
Description of Issue
Hello,
I am trying to compile USD v20.05. I previously checked dependencies ans it seems ok.
I installed Python 3.7.4.
When compiling USD using command prompt and pyhton building script, I get this error :
ERROR: 'utf-8' codec can't decode byte 0x82 in position 50: invalid start byte
I don't know for now why it happens. (Before I built USD 20.02 with Python 27 only, and i worked fine)
Perhaps I forgot to specify I use Python 3.7.4 now, and I don't know how to do this if so.
I will try to test compoling using python 2.7.
But I anyone have any clues, I would be delighted ^^
Thank you in advance :)
Florian.
Steps to Reproduce
System Information (OS, Hardware)
Windows 10.0.18363
Intel(R) Core(TM) -i7-4790
24 Gb ram
nVidia GeForce GTX 750 Ti
Package Versions
USD v20.05
Build Flags
python build_usd.py
--tests
--openvdb
--prman
--prman-location "C:\Program Files\Pixar\RenderManProServer-23.2"
--alembic "C:\Program Files\USD"
--build-args boost,"--with-date_time --with-thread --with-system --with-filesystem"
The text was updated successfully, but these errors were encountered: