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

前端 未结 2 593
野的像风
野的像风 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.

提交回复
热议问题