download django 1.10 to python 3.5
NickName:Robby Ask DateTime:2016-08-30T04:01:39

download django 1.10 to python 3.5

How do I download django for python 3.5? When I run my virtual environment and type:

pip install Django

I get:

Requirement already satisfied (use --upgrade to upgrade): django in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages

I noticed the problem when using PyCharm. PyCharm shows Django installed in Python 2.7, but not in 3.5. How do I pip install django into 3.5?

My main python package is 2.7. My work uses 2.7, and is migrating towards 3.5. So I'll need both, and would like to keep 2.7 as the default.

Copyright Notice:Content Author:「Robby」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/39214247/download-django-1-10-to-python-3-5

Answers
Daniel Kravetz Malabud 2016-08-29T20:38:54

You created your virtualenv with Python 2.7. You should first create a virtualenv with Python 3.5\n\nvirtualenv -p <path/to/python3.5> <path/to/new/virtualenv>\n\n\nThen activate this new virtualenv, and finally, run pip install django on the virtualenv with Python 3.5\n\nYou can have as many virtual environments as you wish, but each virtualenv can only hold a single Python installation; if you don't specify a Python interpreter, the default one will be used to create the virtualenv (in your case, the default is 2.7)",


SimonM 2016-08-30T06:55:34

Try using:\n\npip3 install Django or even pip3.5 install Django\n\nThis is what I used, as pip alone picks up python2 pip. I have Django installed for both python2 and python3.",


More about “download django 1.10 to python 3.5” related questions

download django 1.10 to python 3.5

How do I download django for python 3.5? When I run my virtual environment and type: pip install Django I get: Requirement already satisfied (use --upgrade to upgrade): django in /Library/Framew...

Show Detail

How to integrate MongoDB in Django1.10 and Python3.5?

I would like to use mongoDB as a database on behalf SQL for my django project. Where in we are developing the apps with django1.10 and python-3.5 version. We installed MongoDB in ubuntu-16.02LTE and

Show Detail

deploy python 3.5 and django 1.10 on windows

So I am using python 3.5 with django 1.10 and finished developing a small project and ready for deploy. Right now I have a Windows server 2012 R2 with IIS 8.5 already set up so I tried that first. I

Show Detail

python 3.5 - django 1.10 - mysqlclient windows 7 installation error

I have very disturbing me problem with configuring mysql in django. I did it with python 3.5 and Django 1.10 on Ubuntu x64 but I can't do this on windows 7. I tried almost everything, I hope almo...

Show Detail

Django 1.10 python 3.5 django-admin-tools

I am using Django 1.10 and installed django-admin-tools. Settings look like this: INSTALLED_APPS = [ 'admin_tools', 'admin_tools.theming', 'admin_tools.menu', 'admin_tools.dashboa

Show Detail

Using MariaDB with Django 1.10 and Python 3.5

I want to migrate my database from SQLite to MariaDB. Running Ubuntu 14.04, Django 1.10 and Python 3.5. Digital Ocean has a guide, but it silently assumes one is using Python 2.x, not 3.x. They use...

Show Detail

Jinja2 Environment ImportError in Django 1.10 with Python 3.5

I have a Django 1.10 project (with Python 3.5, and Jinja2 2.8 for templates) setup like this: *Consider the red marks as mysite File jinja2.py defines this: from __future__ import absolute_import

Show Detail

How to run Django with Python 3.5?

After source ./bin/activate, on doing a which python3.5 I get the following response /path/to/virtualenv/bin/python3.5 I am using Django 1.10.5 which according to their documentation supports Pyt...

Show Detail

Django Apache Python3.5 Vesta panel

I use a bunch of Ubuntu 16.04 + Apache 2.4 + Django 1.10 + Python3.5 + wsgi + virtualenv. The apache configuration ordered following WSGIDaemonProcess myproject python-path/home/admin/web/domen.com/

Show Detail

MySQL Connector not working | Django 1.10 | Windows | Python 3.5

For many months now I've been wanting to use MySQL and all of it's awesomeness for my django python website but keep running in to the same error. I've installed and reinstalled the official Oracle...

Show Detail