andrewssobral / andrewssobral/bgslibrary
Python: ImportError: No module named libbgs
- Lingua principale
- C++
- Stelle
- 2.3k
- Fork
- 735
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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,
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.