Python-Virtualenv,Python 3吗? [英] Python - Virtualenv , python 3?

查看:83
本文介绍了Python-Virtualenv,Python 3吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

似乎每个人都建议将virtualenv用于多个python版本(在osx上),但它甚至可以在python 3.0中使用吗?我下载了它,但似乎没有..我真的不太了解它是如何工作的,您可以一次打开" env吗?我想要的是离开系统python 2.5(很明显),让python 3.1.1和颠覆pygame编写我自己的东西,让python 2.6带有正常稳定的pygame来运行其他事情,例如从pygame下载的pygame游戏.org.对如何实现这一目标有帮助吗?谢谢.

Seems everyone recommends virtualenv for multiple python versions (on osx), but does it even work with python 3.0? I downloaded it, and it doesn't seem to.. And I don't really understand how it works, Can you 'turn on' on env at a time or something? What I want is to leave the system python 2.5 (obviously), and to have python 3.1.1 with subversion pygame to write my own stuff, and python 2.6 with normal stable pygame to use to run other things, like pygame games downloaded from pygame.org. Any help on how to accomplish that? Thanks.

好的,我意识到virtualenv不是我想要的.

OK I realized virtualenv is not what I'm looking for.

推荐答案

您的用例实际上不需要virtualenv.您只需要安装几个不同的Python版本.

Your use case doesn't actually need virtualenv. You just need to install several different Python versions.

这篇关于Python-Virtualenv,Python 3吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆