Is it possible to upgrade a portable Python 32 bit install to a 64 bit install?

前端 未结 2 598
野的像风
野的像风 2021-02-07 13:11

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 wor

相关标签:
2条回答
  • 2021-02-07 13:34

    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.

    0 讨论(0)
  • 2021-02-07 13:36

    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.

    0 讨论(0)
提交回复
热议问题