On Wednesday, November 09, 2011 03:54:46 pm freddyb wrote:
> Hi,
> 
> I am using ubuntu 11.04, python 2.7, latest stable dabo
> 
> I am having a problem on the installation, when I test the demo, I got the
> following error:
> 
> freddy@freddy-VirtualBox:~/src/demo$ python DaboDemo.py
> Traceback (most recent call last):
>   File "DaboDemo.py", line 6, in <module>
>     import dabo
>   File "/usr/local/lib/python2.7/dist-packages/dabo/__init__.py", line 290,
> in <module>
>     import dLocalize
>   File "/usr/local/lib/python2.7/dist-packages/dabo/dLocalize.py", line 10,
> in <module>
>     import dabo
>   File "/usr/local/lib/python2.7/dist-packages/dabo/dabo/__init__.py", line
> 291, in <module>
>     dLocalize.install("dabo")
>   File "/usr/local/lib/python2.7/dist-packages/dabo/dabo/dLocalize.py",
> line 79, in install
>     setLanguage(_defaultLanguage, _defaultEncoding)
>   File "/usr/local/lib/python2.7/dist-packages/dabo/dabo/dLocalize.py",
> line 93, in setLanguage
>     from dabo.lib.utils import ustr
>   File "/usr/local/lib/python2.7/dist-packages/dabo/lib/utils.py", line 17,
> in <module>
>     from dabo.dLocalize import _
> ImportError: cannot import name _
> 
> 
> It is not finding dabo on the path.
> 
> I already created a symbolic link in
> 
> freddy@freddy-VirtualBox:/usr/local/lib/python2.7/site-packages$ ll
> total 8
> drwxrwsr-x 2 root staff 4096 2011-11-09 17:21 ./
> drwxrwsr-x 4 root staff 4096 2011-04-25 16:52 ../
> lrwxrwxrwx 1 root staff   22 2011-11-09 17:21 dabo.pth ->
> /home/freddy/src/dabo/
> 
> but still, I cant make it work.
> 
> Can you please help me?
> 
> Thanks,

I think the "pth" file needs to in the distutils directory.  I could be wrong 
about this since I'm not using Ubuntu. 

Johnf
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to