Getting started with python on Windows

14
Getting Started with Python on Windows

Transcript of Getting started with python on Windows

Page 1: Getting started with python on Windows

Getting Started with Python on Windows

Page 2: Getting started with python on Windows

System

Page 3: Getting started with python on Windows

Download Python

Page 4: Getting started with python on Windows

Install (1)

Page 5: Getting started with python on Windows

Install (2)

Page 6: Getting started with python on Windows

Install (3)

Page 7: Getting started with python on Windows

Install (4)

Page 8: Getting started with python on Windows

Check Install (1)

Page 9: Getting started with python on Windows

Check Install (2)

Page 10: Getting started with python on Windows

Install pip

Page 11: Getting started with python on Windows

Install VirtualenvC:\Users\Maximilian.Jackson>pip install C:\Users\Maximilian.Jackson\Downloads\virtualenv-12.1.1.tar.gzUnpacking c:\users\maximilian.jackson\downloads\virtualenv-12.1.1.tar.gz Running setup.py (path:c:\users\maximi~1.jac\appdata\local\temp\pip-vehfcn-build\setup.py) egg_info for package from file:///C:/Users/Maximilian.Jackson/Downloads/virtualenv-12.1.1.tar.gz

warning: no previously-included files matching '*' found under directory 'docs\_templates' warning: no previously-included files matching '*' found under directory 'docs\_build'Installing collected packages: virtualenv Running setup.py install for virtualenv

warning: no previously-included files matching '*' found under directory 'docs\_templates' warning: no previously-included files matching '*' found under directory 'docs\_build' Installing virtualenv-script.py script to C:\Python27\Scripts Installing virtualenv.exe script to C:\Python27\Scripts Installing virtualenv.exe.manifest script to C:\Python27\Scripts Installing virtualenv-2.7-script.py script to C:\Python27\Scripts Installing virtualenv-2.7.exe script to C:\Python27\Scripts Installing virtualenv-2.7.exe.manifest script to C:\Python27\ScriptsSuccessfully installed virtualenvCleaning up...

Page 12: Getting started with python on Windows

Install Virtualenvwrapper (1)

Page 13: Getting started with python on Windows

Install Virtualenvwrapper (2)C:\Users\Maximilian.Jackson>pip install C:\Users\Maximilian.Jackson\Downloads\virtualenvwrapper-win-1.2.0.zipUnpacking c:\users\maximilian.jackson\downloads\virtualenvwrapper-win-1.2.0.zip Running setup.py (path:c:\users\maximi~1.jac\appdata\local\temp\pip-zexs2o-build\setup.py) egg_info for package from file:///C:/Users/Maximilian.Jackson/Downloads/virtualenvwrapper-win-1.2.0.zip

Requirement already satisfied (use --upgrade to upgrade): virtualenv in c:\python27\lib\site-packages (from virtualenvwrapper-win==1.2.0)Installing collected packages: virtualenvwrapper-win Running setup.py install for virtualenvwrapper-win

Successfully installed virtualenvwrapper-winCleaning up...

Page 14: Getting started with python on Windows

Test Virtualenv

C:\Users\Maximilian.Jackson>mkvirtualenv testNew python executable in test\Scripts\python.exeInstalling setuptools, pip...done.

(test) C:\Users\Maximilian.Jackson>deactivate

C:\Users\Maximilian.Jackson>workon test(test) C:\Users\Maximilian.Jackson>pip freeze

(test) C:\Users\Maximilian.Jackson>python