Tech Tips

  1. Uncategorized
  2. 44 view

[Python]Install python urllib 2

I wrote code of a programming book.
urllib2 is needed for the code, but I couldn’t find urllib2 at pip.
So I tried to install urllib3.
$sudo apt-get install python-pip
$sudo pip install urllib3
>>> import urllib3
>>> http = urllib3.PoolManager()
>>> print http.request('GET', '').data
There are some diifferences.
But, we can use same way because differences are little bit.

Uncategorized recent post

  1. Udacity Self-Driving Car Engineer Nanodegree …

  2. Install sbt 1.0.0 and run sample template

  3. Visualization of Neural Network and its Train…

  4. [Machine Learning]Created docker image includ…

  5. [Node.js]How to write batch script with Node.…