import pytave==> ImportError: No module named pytave

Asked by bondtnt

Hi I'm new to python, so sorry if this is dumb question.

I've did build of pytave using:

autoreconf --install
./configure
make
make install
python setup.py build

Now according to instruction I can use pytave like this (build/lib.linux-i86_64-2.6/ contains pytave folder with pytave.py; _pytave.so and __init__.py):

PYTHONPATH=build/lib.linux-i86_64-2.6/ python

unfortunately this gives error when I'm trying to do import:

>>> import pytave
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named pytave

I've checked sys.path - path is indeed included. So I don't have any other clues why it can not be imported.
Any help is much appreciated.

Best regards.

Question information

Language:
English Edit question
Status:
Solved
For:
Pytave Edit question
Assignee:
No assignee Edit question
Solved by:
bondtnt
Solved:
Last query:
Last reply:
Revision history for this message
bondtnt (noban) said :
#1

Inside python interpreter I've
appended pytave directory like this

import sys
sys.path.append('/path/to/pytave/build/lib.linux-x86_64-2.6')

This seems initialized pytave.