Re: Module error

2023-05-27 Thread Thomas Passin
On 5/26/2023 8:30 PM, giuseppacef...@gmail.com wrote: I have reinstalled python which reinstalls pip. I have added the path:'C:\sers\Giuseppa\AppData\Local\Packages\PythonSoftwareFoundation.Pytho n.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\Scripts and still get the error below. Coul

Re: Module error

2023-05-26 Thread MRAB
On 2023-05-27 01:30, giuseppacef...@gmail.com wrote: I have reinstalled python which reinstalls pip. I have added the path:'C:\sers\Giuseppa\AppData\Local\Packages\PythonSoftwareFoundation.Pytho n.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\Scripts and still get the error below. Could

FW: Module error

2023-05-26 Thread giuseppacefalu
: giuseppacef...@gmail.com Sent: Friday, May 26, 2023 8:31 PM To: python-list@python.org Subject: Module error I have reinstalled python which reinstalls pip. I have added the path:'C:\sers\Giuseppa\AppData\Local\Packages\PythonSoftwareFoundation.Pytho n.3.11_qbz5n2kfra8p0\LocalCache\local-pac

FW: Module error

2023-05-26 Thread giuseppacefalu
Dir(s) 378,485,805,056 bytes free From: giuseppacef...@gmail.com Sent: Friday, May 26, 2023 8:31 PM To: python-list@python.org Subject: Module error I have reinstalled python which reinstalls pip. I have added the path:'C:\sers\Giuseppa\AppData\Local\Packages\PythonSoftwareFoundation.

Module error

2023-05-26 Thread giuseppacefalu
I have reinstalled python which reinstalls pip. I have added the path:'C:\sers\Giuseppa\AppData\Local\Packages\PythonSoftwareFoundation.Pytho n.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\Scripts and still get the error below. Could you help me with this please? Traceback (most rece

With distutils, "optional" C extension module error is fatal

2019-12-29 Thread Dan Stromberg
Hi folks. I'm putting a little time into getting my treap module (like a dict, but always sorted by key) working with distutils. I want it to be able to compile and install the Cython version from an included .c file, or to fall back on a pure python version if that fails. I'm currently using: s

Re: Python27.dll module error from Python 2.7.15/PCbuild/get_externals.bat

2018-06-30 Thread Amit Kumar Singh
Yes pylauncher was installed when I installed 3.6.4. Moreover, the python in externals\pythonx86 is supposed to be able to parse it's own code but it errors out in my case. Can you provide me the list of all the external modules with it's dependencies if possible ? I will pull those separately a

Re: Python27.dll module error from Python 2.7.15/PCbuild/get_externals.bat

2018-06-29 Thread Terry Reedy
On 6/29/2018 3:42 AM, amit.singh2...@gmail.com wrote: I am trying to compile the freshly downloaded Python 2.7.15. When the PCBuild/build.bat goes to pull-in the external modules along with their dependencies it encounters this error for each of the external modules. F:\Dev\depot\tools\source\p

Python27.dll module error from Python 2.7.15/PCbuild/get_externals.bat

2018-06-29 Thread amit . singh2241
I am trying to compile the freshly downloaded Python 2.7.15. When the PCBuild/build.bat goes to pull-in the external modules along with their dependencies it encounters this error for each of the external modules. F:\Dev\depot\tools\source\python\Python-2.7.15>.\PCbuild\get_externals.bat Using "

Windows mingw64 compile pthon module error

2015-09-11 Thread Wannaphong
I using Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:44:40) [MSC v.1600 64 bit (AM D64)] on win32. I install tdm64-gcc-5-1-0.exe. I setting from https://stackoverflow.com/a/27506457 , but I using "pip install scandir". C:\TDM-GCC-64\bin\x86_64-w64-mingw32-gcc.e

Re: Py2exe and Module Error...

2008-10-24 Thread Mike Driscoll
On Oct 23, 5:02 pm, [EMAIL PROTECTED] wrote: > On Oct 22, 8:33 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> > wrote: > > > > > En Wed, 22 Oct 2008 20:34:39 -0200, <[EMAIL PROTECTED]> escribió: > > > > I am using py2exe and everything is working fine except one module, > > > ClientCookie, found here:

Re: Py2exe and Module Error...

2008-10-23 Thread Gabriel Genellina
En Thu, 23 Oct 2008 20:02:41 -0200, <[EMAIL PROTECTED]> escribió: On Oct 22, 8:33 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: En Wed, 22 Oct 2008 20:34:39 -0200, <[EMAIL PROTECTED]> escribió: > I am using py2exe and everything is working fine except one module, > ClientCookie, found he

Re: Py2exe and Module Error...

2008-10-23 Thread vincehofmeister
On Oct 22, 8:33 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Wed, 22 Oct 2008 20:34:39 -0200, <[EMAIL PROTECTED]> escribió: > > > I am using py2exe and everything is working fine except one module, > > ClientCookie, found here: > > >http://wwwsearch.sourceforge.net/ClientCookie/ > > > Ke

Re: Py2exe and Module Error...

2008-10-22 Thread Gabriel Genellina
En Wed, 22 Oct 2008 20:34:39 -0200, <[EMAIL PROTECTED]> escribió: I am using py2exe and everything is working fine except one module, ClientCookie, found here: http://wwwsearch.sourceforge.net/ClientCookie/ Keeps coming up as not found no matter what I do. I have tried all these combinations f

Py2exe and Module Error...

2008-10-22 Thread vincehofmeister
Hey everyone: I am using py2exe and everything is working fine except one module, ClientCookie, found here: http://wwwsearch.sourceforge.net/ClientCookie/ Keeps coming up as not found no matter what I do. I have tried all these combinations from the command line: python run.py py2exe - Results

Re: module error in Vista -- works as administrator

2008-04-25 Thread sawilla
I've discovered the cause of the problem. At some point previously, Windows Vista had created a copy of the site-packages directory in a virtual store for the user account. The easy-install.pth file in the virtual store did not contain the same path information as the easy- install.pth that the adm

Re: module error in Vista -- works as administrator

2008-04-25 Thread sawilla
The access writes to easy-install.pth for regular users is read and execute. The output of sys.path for regular users is: ['', 'C:\\Program Files\\Python25\\lib\\site-packages\ \setuptools-0.6c8-py2.5.eg g', 'C:\\Program Files\\Python25\\python25.zip', 'C:\\Program Files\ \Python25\\D LLs', 'C:\\P

Re: module error in Vista -- works as administrator

2008-04-21 Thread John Machin
sawilla wrote: On Apr 21, 5:42 pm, John Machin <[EMAIL PROTECTED]> wrote: Log on as administrator, start python in command window and do this: import sys sys.path # shows where python is looking for importables import numpy import os.path print os.path.abspath(numpy.__file__) # shows where it f

Re: module error in Vista -- works as administrator

2008-04-21 Thread sawilla
On Apr 21, 5:42 pm, John Machin <[EMAIL PROTECTED]> wrote: > Log on as administrator, start python in command window and do this: > > import sys > sys.path # shows where python is looking for importables > import numpy > import os.path > print os.path.abspath(numpy.__file__) # shows where it found

Re: module error in Vista -- works as administrator

2008-04-21 Thread John Machin
sawilla wrote: First, I'm new to Python. I'm getting and error when I run Python 2.5.2 as a regular user in Vista but not when I run Python as an administrator. For example, if I type "import numpy" after I launch python from an adminstrator-privileged command window it loads fine. However, from

module error in Vista -- works as administrator

2008-04-21 Thread sawilla
First, I'm new to Python. I'm getting and error when I run Python 2.5.2 as a regular user in Vista but not when I run Python as an administrator. For example, if I type "import numpy" after I launch python from an adminstrator-privileged command window it loads fine. However, from a regular-user c

Re: module error for elementtree

2007-05-11 Thread John Machin
On May 11, 11:12 pm, "Jerry Hill" <[EMAIL PROTECTED]> wrote: > On 11 May 2007 00:05:19 -0700, [EMAIL PROTECTED] > > <[EMAIL PROTECTED]> wrote: > > For the above code to work elementtree is > > imported in first line ,but when running it says : > > ImportError: No module named e

Re: module error for elementtree

2007-05-11 Thread Jerry Hill
On 11 May 2007 00:05:19 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > For the above code to work elementtree is > imported in first line ,but when running it says : > ImportError: No module named elementtree.ElementTree > Does thie module exists as default or a patch is

Re: module error for elementtree

2007-05-11 Thread Stefan Behnel
[EMAIL PROTECTED] wrote: > On May 11, 12:22 pm, [EMAIL PROTECTED] wrote: >> On May 11, 12:05 am, [EMAIL PROTECTED] wrote: >> >> >> >> >> >>> #!/usr/bin/env python >>> from elementtree import ElementTree as Element >>> tree = et.parse("testxml.xml") >>> for t in tree.getiterator("SERVICEPARAMETER"):

Re: module error for elementtree

2007-05-11 Thread saif . shakeel
On May 11, 12:22 pm, [EMAIL PROTECTED] wrote: > On May 11, 12:05 am, [EMAIL PROTECTED] wrote: > > > > > > > #!/usr/bin/env python > > > from elementtree import ElementTree as Element > > tree = et.parse("testxml.xml") > > > for t in tree.getiterator("SERVICEPARAMETER"): > > if t.get("Semant

Re: module error for elementtree

2007-05-11 Thread half . italian
On May 11, 12:05 am, [EMAIL PROTECTED] wrote: > #!/usr/bin/env python > > from elementtree import ElementTree as Element > tree = et.parse("testxml.xml") > > for t in tree.getiterator("SERVICEPARAMETER"): > if t.get("Semantics") == "localId": > t.set("Semantics", "dataPackag

module error for elementtree

2007-05-11 Thread saif . shakeel
#!/usr/bin/env python from elementtree import ElementTree as Element tree = et.parse("testxml.xml") for t in tree.getiterator("SERVICEPARAMETER"): if t.get("Semantics") == "localId": t.set("Semantics", "dataPackageID") tree.write("output.xml") Hi,

Importing from filesystem path a 'frozen sub-module' error

2005-02-28 Thread Calvin Spealman
I've been working on a small test runner script, to accumulate my test scripts (all python files in the 'test' sub-directories of my source tree). Things were going well, but I'm still having trouble loading the modules, once I have a path to the python source file. This is the error I am getting:

Re: Tarfile module error

2005-01-21 Thread Kartic
Your NewBackupFilename contains ":" which is not a valid character in a filename in Windows. You could do something like this: >>> NewBackupFilename = DirBackup + '\\' + '%s' % str(datetime.today()).replace(':', '-') + '.tar.bz2' >>> NewBackupFilename 'c:skpdc01Backups\\2005-01-21 12-26-21

Tarfile module error

2005-01-21 Thread Beowulf
Hello, I'm using Python to automate admin tasks on my job. We use Windoze 2000 as desktop platform. When executing this daily backup scripts I get the following error: Traceback (most recent call last): File "C:\UTILS\backup.py", line 8, in ? TarFileBackup = tarfile.open(NewBackupFilename,