-
Notifications
You must be signed in to change notification settings - Fork 39
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
circular import error #103
Comments
maybe you can try to run python from the home-directory. If you have installed pivy python should use the installed version. |
To be clear. I cloned and installed coin, (cd build;cmake ..;make;sudo make install). Then cloned and installed pivy (cd build;cmake ..;make;sudo make install). So should be a clean fresh install. Going to a new terminal (directory is ~) I typed and got the error. Did you try and find a different result? |
I am having the same problem. Downloaded and installed coin, soqt and quarter from sources per instructions in INSTALL and did not have any errors. Using the compile/install instructions for pivy I see the same problem Could not find a package configuration file provided by "Qt5Core" with any
Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set CMake Warning at CMakeLists.txt:15 (find_package):
but it set SoQt_FOUND to FALSE so package "SoQt" is considered to be NOT SoQt could not be found because dependency Qt5Core could not be found. -- Configuring done
` |
This happened to me when I tried import pivy while the the current working directory was the build directory. I went up a couple of directories to the one above where I cloned pivy, and then it imported fine.. |
But then, |
Aha, I had to run |
So I tried to run |
@foobarbecue if soqt is not found pivy is build without soqt-support. Maybe this is the case here |
Could someone make a quick dockerfile that shows how to install and run this to the point that any of the examples work? Otherwise, it's just too much guesswork. |
using conda is no option for you?
or installing pivy directly with conda:
|
@looooo great to hear it's on conda -- I had no idea! I installed pivy through conda. Now, how do I |
|
Ok I tried the stuff in pivy/examples/Mentor/ after installing pivy using conda on a Debian 12 system. The above is Ubuntu on WSL2 on Windows. Normally that works fine for graphical linux things. Anyway, I could try making a debian 12 dockerfile and see if it works on WSL and then maybe that would be worth including in this repo. |
The repo was updated to work with pyside6 and pyside2. But the conda build is older and doesn't take this change into account. |
I too am having a lot of difficulty building pivy. I have already built and installed coin, soqt, quarter and soxt without issues. The CMake options fails because of what appears to the a QT bug
The setup.py option appeared to compile successfully but after a lengthy warning
Unfortunately the build appears to incomplete, as shown below:
|
I've just cloned and installed coin, I then cloned and installed pivy.
trying to import pivy gives.
python
Python 3.10.6 (main, Nov 14 2022, 16:10:14) [GCC 11.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
The text was updated successfully, but these errors were encountered: