473,560 Members | 2,936 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Upgrading and modules

Hi,

Every time I upgrade python I also have to download all packages and
reinstall them.

http://www.voidspace.org.uk/python/a...ng_python.html
tells me that this is only a problem on windows for some reasons that
have to do with binary distributions, compiling and more.

This leads me to the questions:
1: Isn't there a better way?
2: Why is compilation needed for installation of a package?
3: Why isn't python backwards compatible so reinstallation is
unneeded?
4: Would it help if python was compiled with gcc/mingw so installation
would be the same as on other systems?
5: What about a package repository and a manager like miktex has?

regards,
--
Brian (remove the sport for mail)
http://www.et.web.mek.dtu.dk/Staff/be/be.html
http://www.rugbyklubben-speed.dk
Apr 14 '06 #1
4 1155
Are you saying you're on Windows?

If so, try:

http://www.activestate.com/Products/ActivePython/

It's a one-click, msi install with everything you need for win32,
including IDE etc.

Only thing to watch for is that sometimes the msi file won't install
from a logical drive other than c:\. So if you get a file access error
or something, copy the install file to the root of your c:\ drive and
double-click on it.

I'm sure someone else will come along with advice for the Python.org
installation.

rick

Apr 14 '06 #2
"BartlebyScrive ner" <rp*******@gmai l.com> writes:
Are you saying you're on Windows?
Yes http://www.activestate.com/Products/ActivePython/ It's a one-click, msi install with everything you need for win32,
including IDE etc.


I don't it includes every possible module, e.g., py2exe, ctypes,
mysqldb, wxpython...

--
Brian (remove the sport for mail)
http://www.et.web.mek.dtu.dk/Staff/be/be.html
http://www.rugbyklubben-speed.dk
Apr 16 '06 #3
Brian Elmegaard <br***@rkspee d-rugby.dk> writes:
I don't it includes every possible module, e.g., py2exe, ctypes,
mysqldb, wxpython...


Right but since Python doesn't have a full-integrated central packaging
(despite the ongoing Pypi project and Eby's efforts in setuptools) you have to
do it manually :)

How many modules do you really use? It's a matter of minutes.

--
Lawrence - http://www.oluyede.org/blog
"Nothing is more dangerous than an idea
if it's the only one you have" - E. A. Chartier
Apr 17 '06 #4
Lawrence Oluyede <ra***@dot.co m> writes:
(despite the ongoing Pypi project and Eby's efforts in setuptools)
you have to do it manually :)
Great, there is progress in this.
How many modules do you really use? It's a matter of minutes.


Yes, but 60 minutes make an hour. I installed 2.4 some days ago. I
then needed ctypes and mySQLdb. Both of them had had some updates in
addition to the version change. What could have been seconds did take
a while because of this. Of course it is because I try to do both
steps in one installation.

--
Brian (remove the sport for mail)
http://www.et.web.mek.dtu.dk/Staff/be/be.html
http://www.rugbyklubben-speed.dk
Apr 18 '06 #5

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

Similar topics

2
1417
by: Zachary | last post by:
Hello, I've heard some rumors about Python 3.0. I am wondering what sort of upgrading I'll have to do, as I have also heard people on this group asking us to use certain modules or operators or whatever. Is it a major sort of upgrade? What would I need to do to prepare for it? Thanks, Zack
4
1695
by: Robert Oschler | last post by:
Hello, (Note: if there is a FAQ that covers this issue just give me the URL. I checked python.org's General and Windows FAQ's and didn't see anything.) I am about to upgrade from Python 2.2 to 2.3. Here are a few questions: - Do I need to uninstall 2.2 first? - Are there any paths I should add to my Win 2k PATH environment variable?...
6
1630
by: Michael Foord | last post by:
http://www.voidspace.org.uk/python/articles/upgrading_python.html I've been looking at whether to upgrade immediately from Python 2.3 to Python 2.4 or postpone it. This is my first `major version change`, so I've come up against the usual windoze (tm) problem - upgrading python breaks all my extension modules. I've been looking into the...
2
1624
by: wellington fan | last post by:
Dear newsies, My ISP has offered to upgrade my servers from 3.23 to 4.1. I'm excited by the potential gains in performance, and the ability to write subqueries, but am wary of any forward incompatibilities. I have a mass of PHP code with MySQL throughout. I don't relish peeking into every file and making a determination of 'it should...
0
834
by: Gary Varga | last post by:
Different cause, modules are loading - will repost real issue please ignore!!! >-----Original Message----- >The module just is not called, in fact either of the only >two modules - bit of a problem being a security filter >and a URL rewriter. Have I missed something in the >upgrade? >
1
1449
by: Ray Wampler | last post by:
According to the information on the Microsoft web site, code written in VB.NET 2002 can simply be recompiled using VS.NET 2003. However, I have found that code which compiles cleanly in VS.Net 2002 gets new compile errors in VS 2003. It appears that there are new scope rules in VB.NET 2003. I get "Name not declared" errors on public...
8
2042
by: Smartin | last post by:
My Company is planning to upgrade MSOffice from 97 to 2003 this year. We make fairly extensive use of Access 97 databases to support departmental needs, having on the order of 50 MDB's in regular use. I heard on the grapevine that the Company is planning to hire a consultant to assist in the migration to upgrade all the MDB files. Before my...
1
1004
by: Tommy Grav | last post by:
I am currently using Activepython 2.4.4, but would like to upgrade to 2.5. Am I right in thinking that if I do that I need to reinstall all the packages and modules (like numpy, scipy, pyfits, and so on)? Or is there a way to avoid that? Cheers Tommy
4
4355
by: mechphisto | last post by:
I'm working on a friend's box, Fedora Core 6. It has PHP 5.1.6. I need to install mcrypt into it, and the only way I can find to do it is from source then recompile PHP. So I did all that, and got the latest PHP, 5.2.5. The ./configure finally went through OK. Make and make install. Then I restarted Apache... but the phpinfo() shows no...
0
7840
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8063
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6187
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5458
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3605
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3584
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2046
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1168
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
874
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.