I seem not to have a pythonlib subdir (?!) I am on a linux box and have installed from a repo.
Michael Petch wrote: > > Are your Python modules inside of the pythonlib subdirectory within > the Gnubg install folder? > > > On 16-Apr-10, at 12:58 PM, Bob Harley wrote: > >> Hi, >> >> I am working on a couple of functions that I want to add to my >> gnubg.py and am using some imports. When I start my python >> interpreter my import statement works fine, but adding the same >> import statement to gnubg.py or using it after having dropped to >> python using ">" when running GnuBG I get an import error: >> "ImportError: No module named MyModule", where MyModule is a module >> that is installed and wich I can Import when just running ">python" >> in a console. >> >> Suggestions ? >> >> Storm >> >> >> _______________________________________________ >> Bug-gnubg mailing list >> [email protected] >> http://lists.gnu.org/mailman/listinfo/bug-gnubg > > > > _______________________________________________ > Bug-gnubg mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/bug-gnubg > > -- View this message in context: http://old.nabble.com/Problem-with-imported-Python-module.-tp28270647p28271089.html Sent from the Gnu - Backgammon mailing list archive at Nabble.com. _______________________________________________ Bug-gnubg mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gnubg
