Re: 'No module named visual' after compiling

Bruce Sherwood <[email protected]> Sun, 29 Jan 2012 18:18:11 -0700
Newsgroups gmane.comp.python.visualpython.user
Message-ID <CAFDG03iBAQi-ai=L=tryCa5O2FzwZJrVXUaVX_fgz34WxCPtoQ@mail.gmail.com>
Perhaps you missed this comment in INSTALL.txt?

"You will also need to copy vpython-core2/src/gtk2/site-packages.pth to
/usr/lib/python2.6/dist-packages to put /usr/lib/python2.6/site-packages
on the Python search path."

The details depend on how you specified the configure options, but
there was a change in Ubuntu to remove site-packages from the module
search path.

Bruce Sherwood

On Sun, Jan 29, 2012 at 5:16 PM, Spiderdab <[email protected]> wrote:
> Hi all, I'm trying to compile visual 5.72 because the one inside ubuntu
> packages is a little old, and i need the trail feature.
> After a lot of stress i could compile, on my ubuntu lucid 10.04, but
> then i can't find where the lib is!
> if i write:
> import visual
>
> the resulting error is:
>>>> import visual
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
> ImportError: No module named visual
>
> doing a locate visual gives me no module, only a vpython
> inside /usr/bin/
>
> What's my error?
> or do i have to symlink something?
>
> Thanks, Davide.
>
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> Visualpython-users mailing list
> Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/visualpython-users

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2