Comments (5)
I had this issue too, seems like pcl introduces a dependency on /usr/bin/python2.7 as mentioned here and here. To check if this is what is causing your issues, take a look at the build/temp./Cmakefiles/pygicp.dir/flags.make, you should find -I /usr/bin/python2.7 . As a temporary workaround, two approaches worked for me
- renaming /usr/bin/python2.7 to something else, installing the package with setup.py as mentioned above and then renaming the folder back to python2.7. This is hacky, but the easiest workaround for the issue.
- A slightly better but still hacky way is to use regexes to filter out python2.7 in the cmakelists file from PCL_INCLUDE_DIRS and the INCLUDE_DIRS for pygicp and fast_gicp.
from fast_gicp.
I had this issue too, seems like pcl introduces a dependency on /usr/bin/python2.7 as mentioned here and here. To check if this is what is causing your issues, take a look at the build/temp./Cmakefiles/pygicp.dir/flags.make, you should find -I /usr/bin/python2.7 . As a temporary workaround, two approaches worked for me
- renaming /usr/bin/python2.7 to something else, installing the package with setup.py as mentioned above and then renaming the folder back to python2.7. This is hacky, but the easiest workaround for the issue.
- A slightly better but still hacky way is to use regexes to filter out python2.7 in the cmakelists file from PCL_INCLUDE_DIRS and the INCLUDE_DIRS for pygicp and fast_gicp.
Approache 1 worked, but it should be renaming /usr/include/python2.7
to somewhere else, rahter than /usr/bin/python2.7
from fast_gicp.
It seems the package was installed to your python2 environment. Try the following installation command (don't forget "3" after python)
python3 setup.py install --user
from fast_gicp.
I had this issue too, seems like pcl introduces a dependency on /usr/bin/python2.7 as mentioned here and here. To check if this is what is causing your issues, take a look at the build/temp./Cmakefiles/pygicp.dir/flags.make, you should find -I /usr/bin/python2.7 . As a temporary workaround, two approaches worked for me
- renaming /usr/bin/python2.7 to something else, installing the package with setup.py as mentioned above and then renaming the folder back to python2.7. This is hacky, but the easiest workaround for the issue.
- A slightly better but still hacky way is to use regexes to filter out python2.7 in the cmakelists file from PCL_INCLUDE_DIRS and the INCLUDE_DIRS for pygicp and fast_gicp.
This is not working for me.
import pygicp
Traceback (most recent call last):
File "", line 1, in
ImportError: dynamic module does not define module export function (PyInit_pygicp)
from fast_gicp.
Approache 1 worked, but it should be renaming /usr/include/python2.7 to somewhere else, rahter than
/usr/bin/python2.7
I can confirm this was also the case for me.
However, it seems to depend only on what is used in build/temp./Cmakefiles/pygicp.dir/flags.make, so i'd suggest to verify which path is used there and rename that one.
from fast_gicp.
Related Issues (20)
- Crash while using VGICP
- how to take fast_gicp in my own code? HOT 3
- About NeighborSearchMethod HOT 1
- got "for_each: failed to synchronize" in every position using "thrust::for_each" HOT 2
- doc request: aligned output point cloud must be different from source and target HOT 1
- Registration score gradually diverges. HOT 3
- cudaErrorIllegalAddress: an illegal memory access was encountered HOT 1
- I want getTransformationProbability() function in ndt_cuda HOT 1
- Unexpected Performance: Single-Threaded Faster than Multi-Threaded in Point Cloud Alignment HOT 2
- Why is the **weight** the square root of the number of points? HOT 4
- the calculation of **rho** in step_lm() seems wrong HOT 2
- set step size on ndt_cuda
- Optimization Problem for Fast GICP (OpenMP)
- any bug in ndt_cuda? HOT 1
- core dumped HOT 1
- How to implement the pcl version of GICP?
- can't build fast_gicp.lib HOT 2
- fast_gicp iteration HOT 1
- Fast-gicp DO HOT 1
- Fast-gicp DO NOT HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fast_gicp.