I've been working on a single program for a few months now, which now requires some additional functionality. Originally, a 32 bit install was just fine, but since I'm now working with massive matrices in scipy, I simply do not have the required RAM in 32bit.
The other problem I have is that my little project has to be very easily transposeable to new systems belonging to people who have no idea what they're doing and just want to click "run", so I did the whole thing with a portable python install.
Would it be possible to "upgrade" my little 2.7 python to 64 bit, or am I condemned to reinstalling every single module in a fresh install?
simple answer: make sure you install the bit version you want first. If you have already installed the 32bit version and want to switch to 64bit version then simply uninstall the 32bit version first then install the 64bit version.
Windows users can run 32-bit editions of Python on 64-bit Windows, but at a slight cost of performance. 32-bit Python, and 32-bit apps generally, can access only 4GB of memory at a time.
Updating Python in Windows Updating to a new Python version is easy on a computer running Windows. All you have to do is visit the Python downloads page and download the latest version. Clicking on the button will replace the existing version of Python with the new version.
1 Answer. According to the official Python documentation reports, Python 3.9.
No, it is not possible to upgrade a 32bit Python installation to a 64bit one.
Still, there is something that you can do in order to speedup installation of a new 64bit version.
Run pip freeze > packages.txt
on the old installation in order to generate a list of all installed packages and their versions.
After you install the new python version, run pip install -r packages.txt
in order to install the same version of the packages that you had on the old installation.
As I see you use scipy
, you may want to have a look at Anaconda. It could save you a lot of time.
make a backup of you "Lib" folder present in your python installation folder. Now when you install your python 64 bit paste this "Lib" folder there. After this, you don't need to install many modules again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With