Closed Mx74 closed 6 years ago
thanks for reporting. I guess the problem is that you are running the install not from the source dir. I pushed a fix for this issue. Maybe you can try. also note that coin has to be build with cmake.
I tried right now, and the error message changed:
calling: cmake /tmp/pip-FcTt6n-build error: [Errno 2] No such file or directory
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-FcTt6n-build/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-DRVzGy-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-FcTt6n-build/
what do you mean by
also note that coin has to be build with cmake.
?
maybe cmake is missing:
sudo apt-get install cmake
regarding coin: coin3d offers cmake as build-system. To support qt5 I updated pivy to work with coin build with cmake. Therefor it's not possible anymore to build pivy with coin created with autotools..
If you don' care about qt5 /cmake you can try the following:
pip install https://github.com/FreeCAD/pivy/archive/0.6.2.tar.gz
Hello,
I have to install pivy for a Freecad workbench, but I have some trouble: Ubuntu 17.10, fresh install: I install freecad-daily. Then: pip install https://github.com/FreeCAD/pivy/archive/master.zip gives the following error:
`
~ HISSSSSSSSSS ~Welcome to Pivy 0.6.3! Building Pivy has never been so much fun!Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-JRYOeQ-build/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-oYhwod-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-JRYOeQ-build/ `
Obviously, swig is missing, I install it, but then:
`Installing collected packages: Pivy Running setup.py install for Pivy ... error Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-tPN9u6-build/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-Cn1XBM-record/install-record.txt --single-version-externally-managed --compile --user --prefix=: running install running build
Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-tPN9u6-build/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-Cn1XBM-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-tPN9u6-build/ `