Closed nod0ubt closed 4 years ago
Thanks for the report!
I gave a quick try to double-check, and I'm not able to reproduce this behavior -- the build/install runs fine for me. Though I'm running on macOS in a virtualenv, so there are some environment differences here.
Couple things to check:
setup.py install
it keeps failing at the same spot, right?Thanks!
Hi Brian and sorry for posting here. Found out afterwards that you've migrated on ASWF mailing lists.
No worries, it's perfectly alright to file github issues and we're happy to discuss things here.
It's hard to debug further from here since I can't reproduce, but my best guess is this is due to an older version of setuptools
in your system setup.
Here's the version from my virtualenv:
$ python -c "import setuptools; print(setuptools.__version__)"
40.8.0
Which version are you running?
Within venv
python -c "import setuptools; print(setuptools.__version__)"
28.8.0
It's a bit older I guess.
And that's 'outside' virtualenv on the system:
python -c "import setuptools; print(setuptools.__version__)"
0.9.8
That version of setuptools looks like it's about six years old... that may be our culprit.
You could try to create a new virtualenv with --no-setuptools
, then manually install 0.9.8
in the venv like pip install setuptools==0.9.8
. That might help confirm if that's the true cause.
Curious, what distro/version are you running?
Just tried this locally and was able to reproduce the problem:
cd opencue/
virtualenv venv-test --no-setuptools
source venv-test/bin/activate
pip install setuptools==0.9.8
pip install -r requirements.txt
pip install -r requirements_gui.txt
pycue
python setup.py install
cd ../pyoutline
python setup.py install
cd ../cuegui/
python setup.py install
<cut>
error: can't copy 'cuegui/images/crystal': doesn't exist or not a regular file
So the problem does appear to be due to old setuptools
. Not sure there's much we can do about that unfortunately, it's a very old version so I doubt we'll be able to support it.
Curious, what distro/version are you running?
This question still stands -- I'm wondering if there's a distro out there with default python/setuptools that OpenCue breaks on.
Closing this as we've identified the problem. If we find others keep running into this we can reopen.
I just bumped into this problem on a CentOS 7.5 RenderBlade.
I solved it by running pip install setuptools==40.8.0
Semi-related, I also recently had to upgrade setuptools
within our RQD Docker to accommodate the new platform_system
notation we're using to install Windows-only dependencies.
Describe the bug Cuegui doesn't build on latest release. Running python setup.py install produces error:
To Reproduce Steps to reproduce the behavior:
All of above are done according to the guide.
edit: I'm not using virtualenv.
Expected behavior
Successful build of cuegui
Version Number 0.3.6