Re: [Tutor] Import error, no module named app script

2019-03-21 Thread Mats Wichmann
On 3/21/19 5:00 PM, nathan tech wrote: > Hi guys, > So I recently begun using Mac to program in python. > For one of the modules I am going to be using, it calls app script in order > to send commands to voiceover, which is a screen reader for the MAC. > The only problem is, it gives an error abou

[Tutor] Import error, no module named app script

2019-03-21 Thread nathan tech
Hi guys, So I recently begun using Mac to program in python. For one of the modules I am going to be using, it calls app script in order to send commands to voiceover, which is a screen reader for the MAC. The only problem is, it gives an error about no module named appscript. Indeed, when I go i

Re: [Tutor] Import Error.

2017-07-23 Thread Steven D'Aprano
On Sun, Jul 23, 2017 at 09:54:09PM +0530, Deepen Patel wrote: > ImportError: No module named cryptography.exceptions > > Currently, I am using virtual environments and in virtual environment this > code not run properly. > previously, I am running code without virtual environments. it works prope

[Tutor] Import Error.

2017-07-23 Thread Deepen Patel
Hi, I got error like Import error. Traceback (most recent call last): File "startnode.py", line 8, in from twisted.conch import manhole, manhole_ssh File "/usr/local/lib/python2.7/dist-packages/twisted/conch/manhole_ssh.py", line 14, in from twisted.conch.ssh import factory, session

Re: [Tutor] Import Error.

2017-07-23 Thread Peter Otten
Deepen Patel wrote: > Hi, > > I got error like Import error. > > Traceback (most recent call last): > File "startnode.py", line 8, in > from twisted.conch import manhole, manhole_ssh > File > "/usr/local/lib/python2.7/dist-packages/twisted/conch/manhole_ssh.py", > line 14, in > fro

Re: [Tutor] import error

2013-12-19 Thread Alan Gauld
On 19/12/13 09:14, prashant wrote: hi, I am trying add some python packages required for keystone,but I am getting following error, What is keystone? Do they have a support forum/mail list? /usr/lib/python2.6/site-packages/nose/plugins/manager.py:364: RuntimeWarning: Unable to load plugin pyl

[Tutor] import error

2013-12-19 Thread prashant
hi, I am trying add some python packages required for keystone,but I am getting following error, /usr/lib/python2.6/site-packages/nose/plugins/manager.py:364: RuntimeWarning: Unable to load plugin pylons = pylons.test:PylonsPlugin: cannot import name fix_call I am stuck here,please anybody hel

Re: [Tutor] Import error in UNO

2008-02-06 Thread Chris Calloway
On Feb 6, 2008, at 5:23 AM, muhamed niyas wrote: I can import when i moved to the uno location. pls see the messages in the terminal. C:\>cd "Program Files\OpenOffice.org 2.0\program"\ C:\Program Files\OpenOffice.org 2.0\program>python Python 2.3.4 (#53, Feb 2 2006, 01:06:22) [MSC v.1310 32 b

Re: [Tutor] Import error in UNO

2008-02-06 Thread Alan Gauld
"muhamed niyas" <[EMAIL PROTECTED]> wrote >I can import when i moved to the uno location. > pls see the messages in the terminal. > > > C:\>cd "Program Files\OpenOffice.org 2.0\program"\ > C:\Program Files\OpenOffice.org 2.0\program>python > Python 2.3.4 (#53, Feb 2 2006, 01:06:22) [MSC v.1310 3

Re: [Tutor] Import error in UNO

2008-02-06 Thread muhamed niyas
I can import when i moved to the uno location. pls see the messages in the terminal. C:\>cd "Program Files\OpenOffice.org 2.0\program"\ C:\Program Files\OpenOffice.org 2.0\program>python Python 2.3.4 (#53, Feb 2 2006, 01:06:22) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "cred

Re: [Tutor] Import error in UNO

2008-02-06 Thread Alan Gauld
"muhamed niyas" <[EMAIL PROTECTED]> wrote import uno > > I am not getting the promt >>> after importing that. OK, That suggests a problem in the uno module itself. Yet ISTR you said you could import if you changed to the directory and ran Python there? Can you try that again just to confi

Re: [Tutor] Import error in UNO

2008-02-06 Thread muhamed niyas
When i import >>>import uno I am not getting the promt >>> after importing that. On Feb 6, 2008 2:29 PM, Alan Gauld <[EMAIL PROTECTED]> wrote: > > "muhamed niyas" <[EMAIL PROTECTED]> wrote > > > Thanks for your kind response. I tried to include the path > > 'C:\Program > > Files\OpenOffice.org

Re: [Tutor] Import error in UNO

2008-02-06 Thread Alan Gauld
"muhamed niyas" <[EMAIL PROTECTED]> wrote > Thanks for your kind response. I tried to include the path > 'C:\Program > Files\OpenOffice.org 2.0\program' in PYTHONPATH. but now i didnt get > any error message but its hanging while importing. Pls advice me to > correct > this. > What happens if

Re: [Tutor] Import error in UNO

2008-02-05 Thread muhamed niyas
Thanks for your kind response. I tried to include the path 'C:\Program Files\OpenOffice.org 2.0\program' in PYTHONPATH. but now i didnt get any error message but its hanging while importing. Pls advice me to correct this. On Feb 6, 2008 3:54 AM, Tiger12506 <[EMAIL PROTECTED]> wrote: > > "muhamed

Re: [Tutor] Import error in UNO

2008-02-05 Thread Tiger12506
> "muhamed niyas" <[EMAIL PROTECTED]> wrote > >> Also i set 'C:\Program Files\OpenOffice.org 2.0\program' in PATH >> evvironment >> variable. > > Close but not quite. > You need to set the module folder in your PYTHONPATH environment > variable. > > PATH is where the python interpreter lives >

Re: [Tutor] Import error in UNO

2008-02-05 Thread Alan Gauld
"muhamed niyas" <[EMAIL PROTECTED]> wrote > Also i set 'C:\Program Files\OpenOffice.org 2.0\program' in PATH > evvironment > variable. Close but not quite. You need to set the module folder in your PYTHONPATH environment variable. PATH is where the python interpreter lives PYTHONPATH is where

Re: [Tutor] Import error in UNO

2008-02-05 Thread Kent Johnson
muhamed niyas wrote: > Also i set 'C:\Program Files\OpenOffice.org 2.0\program' in PATH evvironment > variable. PYTHONPATH is the environment variable you need, it is one way to tell the interpreter where to look for imports. Kent ___ Tutor maillist -

[Tutor] Import error in UNO

2008-02-05 Thread muhamed niyas
Dear All, I have a problem while importing UNO module in my windows vista. Openoffice and its uno module is installed in D:\ drive and my application is running in C:\ drive. i can import uno in interactive mode while moving to 'D:\Program Files\OpenOffice 2.0\program' location. I am getting an er