Is it possible to install python 3 and 2.6 on same PC?

前端 未结 7 1321
忘了有多久
忘了有多久 2021-01-06 13:47

How would I do this? The reason being I wanted to try some pygame out, but I have python 3 installed currently and have been learning with that. I\'m also interested in tryi

7条回答
  •  -上瘾入骨i
    2021-01-06 14:15

    If you are on Windows, then just install another version of Python using the installer. It would be installed into another directory.

    Then if you install other packages using the installer, it would ask you for which python installation to apply. If you use installation from source or easy_install, then just make sure that when you install, you are using the one of the proper version.

    If you have many packages installed in your current python-3, then just make a zip backup of your current installation just in case.

提交回复
热议问题