[issue380] ImportError: No module named smart

Cliff Wells cliff at develix.com
Tue Jun 17 20:09:42 PDT 2008


On Tue, 2008-06-17 at 23:47 +0000, Steve Kelem at Labix Tracker wrote:
> New submission from Steve Kelem <steve at kelem.net>:
> 
> I'm trying to run smart 0.52 on SuSE 10.0.
> I'm getting the message:
> Traceback (most recent call last):
>   File "/usr/bin/smart", line 27, in <module>
>     from smart import init, initDistro, initPlugins, initPsyco
> ImportError: No module named smart
> 
> I then removed the python rpm, compiled and installed Python-2.5.2, and got the
> same error. Then I uninstalled smart, downloaded the latest subversion version,
> and got the same error.

You've probably got two versions of Python on your system, and you're
installing with one and somehow running smart with the other.  You might
double-check the shebang line in the smart main program to make sure it
points to the Python you think it does.

Cliff




More information about the Smart mailing list