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: stormen
Subject: Re: [Bug-gnubg] Problem with imported Python module.
Date: Fri, 16 Apr 2010 12:45:17 -0700 (PDT)

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.





reply via email to

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