473,395 Members | 1,639 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Python DLL in Windows Folder

Hi,

why does the Python installer on Windows put the Python DLL into the
Windows system32 folder? Wouldn't it be more clean to place it into
the Python installation folder beside the python.exe file?

Kind regards,
Markus
Dec 23 '07 #1
7 1874
* Markus Gritsch (Sun, 23 Dec 2007 15:52:50 +0100)
why does the Python installer on Windows put the Python DLL into the
Windows system32 folder?
Are you sure it does?!

Thorsten
Dec 23 '07 #2
On 23/12/2007, Thorsten Kampe <th******@thorstenkampe.dewrote:
* Markus Gritsch (Sun, 23 Dec 2007 15:52:50 +0100)
why does the Python installer on Windows put the Python DLL into the
Windows system32 folder?

Are you sure it does?!
Yes.

Markus
Dec 23 '07 #3
* Markus Gritsch (Sun, 23 Dec 2007 18:28:41 +0100)
On 23/12/2007, Thorsten Kampe <th******@thorstenkampe.dewrote:
* Markus Gritsch (Sun, 23 Dec 2007 15:52:50 +0100)
why does the Python installer on Windows put the Python DLL into the
Windows system32 folder?
Are you sure it does?!

Yes.
If you choose "install just for me" it doesn't.
Dec 24 '07 #4
On 24/12/2007, Thorsten Kampe <th******@thorstenkampe.dewrote:
* Markus Gritsch (Sun, 23 Dec 2007 18:28:41 +0100)
On 23/12/2007, Thorsten Kampe <th******@thorstenkampe.dewrote:
* Markus Gritsch (Sun, 23 Dec 2007 15:52:50 +0100)
why does the Python installer on Windows put the Python DLL into the
Windows system32 folder?
>
Are you sure it does?!
Yes.

If you choose "install just for me" it doesn't.
Interesting. Therefore you asked me if I am sure :) Does this mean,
that COM stuff does not work when installing Python "just for me"?

Markus
Dec 24 '07 #5
On 24/12/2007, Markus Gritsch <m.*******@gmail.comwrote:
On 24/12/2007, Thorsten Kampe <th******@thorstenkampe.dewrote:
* Markus Gritsch (Sun, 23 Dec 2007 18:28:41 +0100)
On 23/12/2007, Thorsten Kampe <th******@thorstenkampe.dewrote:
* Markus Gritsch (Sun, 23 Dec 2007 15:52:50 +0100)
why does the Python installer on Windows put the Python DLL into the
Windows system32 folder?

Are you sure it does?!
>
Yes.
If you choose "install just for me" it doesn't.

Interesting. Therefore you asked me if I am sure :) Does this mean,
that COM stuff does not work when installing Python "just for me"?
Indeed, pywin32 stops working :( I installed Python "just for me",
then I installed pywin32-210, and now Pythonwin.exe is not able to
start. So for this scenario it seems to be necessary, that the Python
DLL is installed into the system32 folder.

Maybe the Python installer should issue a warning that pywin32 will
not be able to work when using the option "just for me"?

Kind regards,
Markus
Dec 25 '07 #6
Indeed, pywin32 stops working :( I installed Python "just for me",
then I installed pywin32-210, and now Pythonwin.exe is not able to
start. So for this scenario it seems to be necessary, that the Python
DLL is installed into the system32 folder.

Maybe the Python installer should issue a warning that pywin32 will
not be able to work when using the option "just for me"?
That is not supposed to happen; pywin32 should work. Just COM servers
written in Python may not.

Regards,
Martin
Dec 26 '07 #7
On 27/12/2007, "Martin v. Löwis" <ma****@v.loewis.dewrote:
Indeed, pywin32 stops working :( I installed Python "just for me",
then I installed pywin32-210, and now Pythonwin.exe is not able to
start. So for this scenario it seems to be necessary, that the Python
DLL is installed into the system32 folder.

Maybe the Python installer should issue a warning that pywin32 will
not be able to work when using the option "just for me"?

That is not supposed to happen; pywin32 should work. Just COM servers
written in Python may not.
Ok, my mistake. I was launching Pythonwin.exe by double clicking on
the executable, which works when Python is installed "for all users"
and does not work when installed "just for me". When Pythonwin is
launched by clicking on the shortcut in the start menu, which sets the
CWD to the Python installation folder, it works also when Python is
installed "just for me".

Kind regards,
Markus
Dec 27 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: WIWA | last post by:
I'm looking for SNMP support in Python. I have found pySNMP, but I'm not sure whether this works under Windows as well. A few questions: 1) Where do I need to install the pySNMP files? 2) What...
2
by: Raghul | last post by:
Is it possible to monitor a folder in the python?My question is if I put any file in it that particular folder my script should monitor the folder and read the file name.If so what function can I...
34
by: Ben Sizer | last post by:
I've installed several different versions of Python across several different versions of MS Windows, and not a single time was the Python directory or the Scripts subdirectory added to the PATH...
6
by: globalrev | last post by:
type "python setup.py install" that is used in most "addons" for python. well using windows vista, where the h*** am i supposed to type this? if it is not doable in windows, what do i have...
5
by: Payala | last post by:
Hello, I have tried to install python 2.5.1 and 2.5.2 with the same error. The installer starts fine, but when it gets to the part that says "Status: Copying new files" it terminates with an error...
7
by: Dominic Rice | last post by:
Hi, I can't seem to get python to run my scripts using the command: python <userscript>.py If I type python the interpreter runs as I sorted out the Path property, I'm afraid I don't know...
1
by: Tim Rowe | last post by:
I have Python 2.5 working just fine on my system. I've tried downloading and installing the MS Windows Python extensions, but can't get pythonw.exe (that's the windows executable, right?) to do...
7
by: greg | last post by:
Thomas Philips wrote: Have a look in /Library/Frameworks/Python.framework/Versions/2.5 You can't -- this feature only exists in the Search window, which is a different kind of window...
7
by: W. eWatson | last post by:
I copied the following code from a matplotlib tutorial, and it fails. I'm using python 2.4 on Win XP. It's matplotlib-0.98.3.win32-py2.4exe. It fails in IDLE with a small window showing a runtime...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.