bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Problem with imported Python module.


From: Michael Petch
Subject: Re: [Bug-gnubg] Problem with imported Python module.
Date: Fri, 16 Apr 2010 13:57:42 -0600

Oh I thought you were on windows. My apologies. Where (directory) have you placed your Gnubg Python modules on your Linux box? I seem to recall putting mine in /usr/local/share/gnubg/scripts but that was a while back.

On 16-Apr-10, at 1:45 PM, stormen wrote:


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
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-gnubg



_______________________________________________
Bug-gnubg mailing list
address@hidden
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
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-gnubg






reply via email to

[Prev in Thread] Current Thread [Next in Thread]