-
Notifications
You must be signed in to change notification settings - Fork 337
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
Solving ImportError: ../pyslam/thirdparty/g2opy/lib/g2o.so: undefined symbol: _Py_ZeroStruct | Again... #105
Comments
Hi, |
I followed the ubuntu 20 install. The exact commands I ran:
There was a slight modification that I made to utils_goem.py in the poseRT() function, instead of |
Okay, I figured it out. There were a few things that were building incorrectly. I made 3 changes:
Now things seem to be working. Hope this helps anyone else who may have these same issues. |
Hi @nl22-nmsu, Unfortunately, you installed pyslam with a wrong procedure.
you have to follow the instructions on this page
and NOT
as you did. At present time, with ubuntu 20 and 22, Hope this helps. |
Oh, I see, my impressions was that the virtual environment was optional. I'll redo it with the virtual environment to make sure everything is running correctly. It seemed to be working on my round about way of installing from what I can tell though. Thanks for your prompt replies! |
Hey, I love how well your instructions are laid out for this repo, I'm excited to use it! But I'm running into an issue that someone else had, only the posted solution isn't working for me.
Here's the rundown:
I'm using WSL 2 with ubuntu 20.04
I have numpy 1.22.1 ( I have also tried 1.24.4 but get an error about typeDict )
And I checked out the ubuntu20 version
As posted in #79 I replaced
cmake .. $EXTERNAL_OPTION
withcmake .. -DPYTHON_EXECUTABLE=/usr/bin/python3
in line 133 of the install_thirdparty.sh file but the error still persists.I made sure to run
./clean.sh
and then. install_all.sh
to make sure that it was a clean build too.I also noticed that it always installs numpy version 1.24.4 during the build, so I'm not sure if the downgrade is what's causing this or something else.
I'd love any help on what could be causing this error and how to solve it
The text was updated successfully, but these errors were encountered: