This might be a stupid question, but what steps do i need to follow to actually get the library installed, so i can import it?
The wraper manual only says i need to use "import pysmile", but that does not seem to work in my case.
I'm currently using the Spyder IDE which comes with the anaconda python distribution, and when i try to use "import pysmile" i get this error:
Code: Select all
runfile('/home/vagrant/sync/dev/BN_Exploration_SMILE.py', wdir='/home/vagrant/sync/dev')
Traceback (most recent call last):
File "<ipython-input-4-7e2367f3e688>", line 1, in <module>
runfile('/home/vagrant/sync/dev/BN_Exploration_SMILE.py', wdir='/home/vagrant/sync/dev')
File "/home/vagrant/anaconda3/envs/SMILE/lib/python3.6/site-packages/spyder_kernels/customize/spydercustomize.py", line 827, in runfile
execfile(filename, namespace)
File "/home/vagrant/anaconda3/envs/SMILE/lib/python3.6/site-packages/spyder_kernels/customize/spydercustomize.py", line 110, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
File "/home/vagrant/sync/dev/BN_Exploration_SMILE.py", line 8, in <module>
import pysmile
ImportError: libmvec.so.1: cannot open shared object file: No such file or directory
It's detecting something, since i get the error "ModuleNotFoundError: No module named 'random_bs' " if i try to import a random non-existent thing.
I'm using a conda virtualenv specifically so that i can use python version 3.6.9, in stead of 3.7.x, since the current version of the wrapper is for python 3.6.