Dear all,
I recently compiled ViennaRNA 2.1.7 using the following options:
./configure --prefix=/usr/local/ViennaRNA --with-python
make
sudo make install
However, when I open Python and I type:
import RNA
I get the following error:
ImportError: No module named _RNA
What is going wrong?
The use of
--prefix=/usr/local/ViennaRNA
is non-standard. Simply using--prefix=/usr/local
(which is also the default) would have done the trick since/usr/local/lib/python
... should already be in yourPYTHON_PATH