Ubuntu – How to install Visual Python in Ubuntu 10.04

pythonUbuntu

I am trying to do a Physics problem in python. I need to install visual python because I get the error that it can't find the visual library when I type import visual from *

The documentation on the Visual Python site is totally useless.

I have gone into synaptic package manger and installed python-visual. But I still get the same error.

Can someone please help?

Best Answer

You have to use

from visual import *

instead of

import visual from *

If that doesn't work please post the literal error messages you get when trying to do so and the output of running

apt-cache policy python-visual

in a Terminal window.

Related Question