-
Notifications
You must be signed in to change notification settings - Fork 246
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
Error loading libraries Python #22
Comments
Hi! I got same issues, steps I made to resolve it.
|
Hello , When I try to cmake like this it gives error
|
Your have problem with Boost python library. Try to compile without -DPYTHON_LIBRARY=/opt/local/lib/libpython2.7.dylib -DPYTHON_EXECUTABLE=/opt/local/bin/python -DPYTHON_INCLUDE_DIR=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/ -DUSE_SYSTEM_BOOST=NO .. |
Initially I just used |
BTW Andrew's bgslibrary is compiling fine with |
Ok so modified the python/CMakeLists.txt, modified line 31 to
|
Hi, I have some problem. I had tried the solutions above, but still the same. Any suggestion? |
I solved!
|
fix.diff IF (UNIX)
|
Hello Andrewssobral, i don't understand your step to install python API "/simple_vehicle_counting/build/cp -r ../python/* python/" . But i installed the program normally.
When i run the "demo.py" i have always import errors. The script is on the same root paste of the packet analysis.
Do you have any idea to solve my problem, or what i am doing wrong?
ERROR:
Traceback (most recent call last):
File "demo.py", line 4, in
import analysis
File "/home/miguel/simple_vehicle_counting/python/analysis/init.py", line 1, in
from _analysis import *
ImportError: No module named _analysis
The text was updated successfully, but these errors were encountered: