পাইথন জ্যাঙ্গো · পাইথন প্রোগ্রামিং · বিভাগহহীন

How to Install Django on Windows 10

a)
goto https://pypi.python.org/pypi/virtualenv

b)
download virtualenv-13.1.2.tar.gz (md5, pgp)

c)
Extract “virtualenv-13.1.2.tar.gz”

d)
Open command prompt then cd to following path
>cd C:\Users\subrata\Downloads\dist\virtualenv-13.1.2

e)
install virtualenv
>python setup.py install

 

2)CREATE AND ACTIVATE VIRTUALENVIRONMENT

a)
create virtualenv named “myenv”
>python -m virtualenv myenv
>dir

b)
activate virtualenvironment “myenv”
>C:\Users\subrata>.\myenv\Scripts\activate
(myenv) C:\Users\anusree>

3)INSTALL DJANGO

a)
install Django
(myenv) C:\Users\subrata>pip install django
Collecting django
Downloading Django-1.8.5-py2.py3-none-any.whl (6.2MB)
100% |################################| 6.2MB 48kB/s
Installing collected packages: django
Successfully installed django-1.8.5
(myenv) C:\Users\anusree>

b)
verify
(myenv) C:\Users\subrata>python
Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)] on win32
Type “help”, “copyright”, “credits” or “license” for more information.

>>
>> import django

মন্তব্য

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s