Description
Hello,
I have compiled the library using:
git clone https://github.com/andrewssobral/bgslibrary.git
cd build
cmake -D BGS_PYTHON_SUPPORT=ON ..
make
no errors in making, added to the python path:
`>>> import sys
from pprint import pprint as pp
pp(sys.path)
['',
'/home/user/bgslibrary/build/libbgs.so',
'/home/user/bgslibrary',
'/usr/lib/python27.zip',
'/usr/lib64/python2.7',
'/usr/lib64/python2.7/plat-linux2',
'/usr/lib64/python2.7/lib-tk',
'/usr/lib64/python2.7/lib-old',
'/usr/lib64/python2.7/lib-dynload',
'/usr/lib64/python2.7/site-packages',
'/usr/lib/python2.7/site-packages']`
I tried many adds into the path: 'libbgs.so', '/home/user/bgslibrary/build/libbgs.so', '/home/user/bgslibrary',
But still have the error :
[user@localhost bgslibrary]$ python Demo.py
Traceback (most recent call last):
File "Demo.py", line 3, in
import libbgs
ImportError: No module named libbgs
OS: Fedora 25
Any suggestions?
Thanks,