nephila / djangocms-installer

Console wizard to bootstrap django CMS projects
https://djangocms-installer.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
177 stars 78 forks source link

I have both python 2.7 and python 3 on my machine. Django-cms installer is using the 2.7 #257

Closed kyeljmd closed 8 years ago

kyeljmd commented 8 years ago

I have both python 2.7 and python 3 on my machine. and then Installed virtualenv. Upon setting up django-cms on my virtualenv. this error churns out

InsecurePlatformWarning
/home/kdavid/env2/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
Command "/home/kdavid/env2/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-uDbQob/Pillow/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-Qhv3no-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/kdavid/env2/include/site/python2.7/Pillow" failed with error code 1 in /tmp/pip-build-uDbQob/Pillow/
The installation failed.

How do I tell the djangocms-installer to use python3

yakky commented 8 years ago

you have to create a python3 virtualenv Usually something like virtualenv --python=/usr/bin/python3 myenv