我在一个virtualenv中安装了python 3.4,我使用带有mod_wsgi的apache 2的django 1.7。遇到错误时(错误与问题无关)我在错误消息中看到以下python路径:
Python Path:
['/var/www/buchhaltung',
'/home/desktop/django/lib/python3.4/site-packages',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-x86_64-linux-gnu',
'/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages/PILcompat',
'/usr/lib/python2.7/dist-packages/gtk-2.0',
'/usr/lib/python2.7/dist-packages/ubuntu-sso-client']
现在我想知道是否真的应该有2个不同的python版本的文件夹?那是对的吗?