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
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
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
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
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
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
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
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
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
[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"):
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
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
12 matches
Mail list logo