Closed andreagen0r closed 4 years ago
You definitely should not install system wide packages with pip, as it'll mess with the zypper
installed package. Before moving forward, I suggest using a virtualenv
.
$ virtualenv env
$ source env/bin/activate
$ (env) pip install --upgrade pip setuptools wheel
$ (env) pip install PySide
You definitely should not install system wide packages with pip, as it'll mess with the
zypper
installed package. Before moving forward, I suggest using avirtualenv
.$ virtualenv env $ source env/bin/activate $ (env) pip install --upgrade pip setuptools wheel $ (env) pip install PySide
Not work!
$ pip install PySide Collecting PySide Using cached https://files.pythonhosted.org/packages/36/ac/ca31db6f2225844d37a41b10615c3d371587677efd074db29855e7035de6/PySide-1.2.4.tar.gz Complete output from command python setup.py egg_info: only these python versions are supported: [(2, 6), (2, 7), (3, 2), (3, 3), (3, 4)]
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-iunoo8pf/PySide/
Seems like you are running an unsupported Python version. What version to you try to setup USD with ?
Ah, you seem to run Python 3.7 You should try again with Python 2.7
Yes, I'm using Python3.7, but If I try to use Python2.7 I can't install Pyside, didn't work. I have Pyside2 installed, is there possible to use it? In the instructions has the option to use Pyside2. Unfortunately, I don't understand python :(
Everything would stay be easier using just cmake
Yes, PySide2 on Python2.7 will work. As far as I know Python 2.7 is the only Python version supported on USD.
Everything would stay be easier using just cmake
USD uses python a lot: some tools like usdview
are actually written in Python, using the USD and Qt python wrappers.
Try again with Python2.7 and PySide2 and see how it goes.
Filed as internal issue #USD-5250
Thanks @charlesfleche for pointing out the Python 3 issue here! At the time this was posted USD did not support Python 3, but it does now as of USD 20.05.
Closing this out.
Description of Issue
I don't know exactly what's happened, but I can't run build_usd.py because I get an error with Pyside. I'm using OpenSuse TW and I think some library versions are too old, like Boost. Is some update coming?
There are a way to just using cmake and github submodules?
Pyside2 install and works fine, but the script fails too.
Steps to Reproduce
System Information (OS, Hardware)
OpenSuse Tumbleweed Kernel 5.0.9-1 Qt Version: 5.12.3 KDE Plasma: 5.15.4 Intel i7 6700k - 16GB ram, Nvidia GPU
My PYTHONPATH