Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
Bottom Page

Thread Rating:
  • 2 Vote(s) - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Basic] [Part-1]Python 3.6 and pip installation under Windows
This is a advice how to install Python and pip under Windows.
It's advisable to change the long default Path,to a simper Path eg C:\Python36.

Python download.
Choose a executable installer  32-bit or 64-bit.


Under Customize installation make sure that pip is marked on.


Here also choose Path C:\Python36


Finish install.



Testing that python and pip command work from cmd.
Start cmd:

Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. Med enerett.
Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 07:18:10) [MSC v.1900 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> exit()
C:\>pip -V
pip 9.0.1 from c:\python36\lib\site-packages (python 3.6)
Now that all work,can eg test pip with install of Requests.
C:\>pip install requests
Collecting requests
  Using cached requests-2.13.0-py2.py3-none-any.whl
Installing collected packages: requests
Successfully installed requests-2.13.0

Python 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 17:54:52) [MSC v.1900 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import requests
>>> r = requests.get('https://www.python.org/')
>>> r.status_code
>>> r.encoding
>>> r.headers['date']
'Tue, 09 May 2017 15:34:57 GMT'
Larz60+, metulburr, wavic like this post
Would like to add some things.

A lot of people come unfamiliar with using the command prompt and are confused in thinking pip is ran on the python interpreter (ie. >>> prompt), but is ran on the system's command prompt (ie. windows C:\ prompt, linux username@computername ~$).

Also your pip may be out of date.

Quote:pip : You are using pip version 8.1.1, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
This is just a warning. Your package will still install, but it is just warning you that your pip is not current. You can update pip by the command they give you pip install --upgrade pip

You can use pip to upgrade your existing packages
pip install -U youtube-dl
snippsat likes this post
*Describe the environment in which it occurs.                                    *Describe the symptoms of your problem clearly.
*Describe the research you did to try and understand the problem.      *Describe the goal, not the step. 
*Use meaningful, specific subject headers                                          *Write in clear, grammatical, correctly-spelled language
*Describe the problem's symptoms, not your guesses                         *Describe your problem's symptoms in chronological order
*Describe the diagnostic steps you took to try and pin down the problem yourself.
*Describe any possibly relevant recent changes in your computer or software configuration. 
*Provide a way to reproduce the problem in a controlled environment.

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Web-Scraping part-1 snippsat 2 3,172 Jun-08-2017, 10:55 PM
Last Post: snippsat
  Basic DC Electronics- Resistors Part III sparkz_alot 0 236 May-31-2017, 03:36 PM
Last Post: sparkz_alot
  Basic DC Electronics- Resistors Part II sparkz_alot 0 248 May-29-2017, 11:23 PM
Last Post: sparkz_alot
  Basic DC Electronics- Resistors Part I sparkz_alot 0 764 May-25-2017, 07:52 PM
Last Post: sparkz_alot
  [Basic] [Part-1]Linux Python 3 environment snippsat 1 698 May-25-2017, 05:14 PM
Last Post: snippsat
  [Basic] [Part-2]Python environment Windows snippsat 4 788 May-24-2017, 10:44 AM
Last Post: metulburr
  Web-scraping part-2 snippsat 5 2,010 Jan-30-2017, 01:43 PM
Last Post: snippsat
  Creating C extensions, Part 2 metulburr 1 545 Oct-05-2016, 10:00 PM
Last Post: metulburr
  Creating C extensions, Part 1 metulburr 1 540 Oct-05-2016, 09:57 PM
Last Post: metulburr
  [Basic] Modules part 1 metulburr 4 1,317 Oct-04-2016, 01:31 AM
Last Post: metulburr

Forum Jump:

Users browsing this thread: 3 Guest(s)