(gmapenv)teruun@ubuntu:~/gmapenv$ vi search1.py
(gmapenv)teruun@ubuntu:~/gmapenv$ python -c 'import googlemaps'
(gmapenv)teruun@ubuntu:~/gmapenv$ python search1.py
Traceback (most recent call last):
File "search1.py", line 5, in <module>
print GoogleMaps().address_to_latlng(address)
File "/home/teruun/gmapenv/local/lib/python2.7/site-packages/googlemaps.py", line 310, in address_to_latlng
return tuple(self.geocode(address)['Placemark'][0]['Point']['coordinates'][1::-1])
File "/home/teruun/gmapenv/local/lib/python2.7/site-packages/googlemaps.py", line 259, in geocode
url, response = fetch_json(self._GEOCODE_QUERY_URL, params=params)
File "/home/teruun/gmapenv/local/lib/python2.7/site-packages/googlemaps.py", line 50, in fetch_json
response = urllib2.urlopen(request)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 444, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 403: Forbidden
(gmapenv)teruun@ubuntu:~/gmapenv$ clear
(gmapenv)teruun@ubuntu:~/gmapenv$ pip install googlemaps
Requirement already satisfied (use --upgrade to upgrade): googlemaps in ./lib/python2.7/site-packages
Cleaning up...
(gmapenv)teruun@ubuntu:~/gmapenv$ python -c 'import googlemaps'
(gmapenv)teruun@ubuntu:~/gmapenv$ python search1.py
Traceback (most recent call last):
File "search1.py", line 5, in <module>
print GoogleMaps().address_to_latlng(address)
File "/home/teruun/gmapenv/local/lib/python2.7/site-packages/googlemaps.py", line 310, in address_to_latlng
return tuple(self.geocode(address)['Placemark'][0]['Point']['coordinates'][1::-1])
File "/home/teruun/gmapenv/local/lib/python2.7/site-packages/googlemaps.py", line 259, in geocode
url, response = fetch_json(self._GEOCODE_QUERY_URL, params=params)
File "/home/teruun/gmapenv/local/lib/python2.7/site-packages/googlemaps.py", line 50, in fetch_json
response = urllib2.urlopen(request)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 444, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 403: Forbidden
(gmapenv)teruun@ubuntu:~/gmapenv$ vi search1.py
(gmapenv)teruun@ubuntu:~/gmapenv$ vi search1.py
(gmapenv)teruun@ubuntu:~/gmapenv$ clear
(gmapenv)teruun@ubuntu:~/gmapenv$ virtualenv --no-site-packages gmapenv
The --no-site-packages flag is deprecated; it is now the default behavior.
New python executable in gmapenv/bin/python
Installing distribute.............................................................................................................................................................................................done.
Installing pip...............done.
(gmapenv)teruun@ubuntu:~/gmapenv$ cd gmapenv
(gmapenv)teruun@ubuntu:~/gmapenv/gmapenv$ ls
bin include lib local
(gmapenv)teruun@ubuntu:~/gmapenv/gmapenv$ pip install googlemaps
Requirement already satisfied (use --upgrade to upgrade): googlemaps in /home/teruun/gmapenv/lib/python2.7/site-packages
Cleaning up...
(gmapenv)teruun@ubuntu:~/gmapenv/gmapenv$ python -c 'import googlemaps'
(gmapenv)teruun@ubuntu:~/gmapenv/gmapenv$ vi search1.py
(gmapenv)teruun@ubuntu:~/gmapenv/gmapenv$ vi search1.py
(gmapenv)teruun@ubuntu:~/gmapenv/gmapenv$ python search1.py
Traceback (most recent call last):
File "search1.py", line 5, in <module>
print GoogleMaps().address_to_latlng(address)
File "/home/teruun/gmapenv/local/lib/python2.7/site-packages/googlemaps.py", line 310, in address_to_latlng
return tuple(self.geocode(address)['Placemark'][0]['Point']['coordinates'][1::-1])
File "/home/teruun/gmapenv/local/lib/python2.7/site-packages/googlemaps.py", line 259, in geocode
url, response = fetch_json(self._GEOCODE_QUERY_URL, params=params)
File "/home/teruun/gmapenv/local/lib/python2.7/site-packages/googlemaps.py", line 50, in fetch_json
response = urllib2.urlopen(request)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 444, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 403: Forbidden
(gmapenv)teruun@ubuntu:~/gmapenv/gmapenv$ deactivate
teruun@ubuntu:~/gmapenv/gmapenv$ virtualenv --no-site-packages env
The --no-site-packages flag is deprecated; it is now the default behavior.
New python executable in env/bin/python
Installing distribute.............................................................................................................................................................................................done.
Installing pip...............done.
teruun@ubuntu:~/gmapenv/gmapenv$ cd env
teruun@ubuntu:~/gmapenv/gmapenv/env$ ls
bin include lib local
teruun@ubuntu:~/gmapenv/gmapenv/env$ . bin/activate
(env)teruun@ubuntu:~/gmapenv/gmapenv/env$ pip install googlemaps
Downloading/unpacking googlemaps
Downloading googlemaps-1.0.2.tar.gz (60Kb): 60Kb downloaded
Running setup.py egg_info for package googlemaps
Installing collected packages: googlemaps
Running setup.py install for googlemaps
Successfully installed googlemaps
Cleaning up...
(env)teruun@ubuntu:~/gmapenv/gmapenv/env$ python -c 'import googlemaps'
(env)teruun@ubuntu:~/gmapenv/gmapenv/env$ vi search1.py
(env)teruun@ubuntu:~/gmapenv/gmapenv/env$ python search1.py
Traceback (most recent call last):
File "search1.py", line 3, in <module>
print GoogleMaps().address_to_latlng(address)
File "/home/teruun/gmapenv/gmapenv/env/local/lib/python2.7/site-packages/googlemaps.py", line 310, in address_to_latlng
return tuple(self.geocode(address)['Placemark'][0]['Point']['coordinates'][1::-1])
File "/home/teruun/gmapenv/gmapenv/env/local/lib/python2.7/site-packages/googlemaps.py", line 259, in geocode
url, response = fetch_json(self._GEOCODE_QUERY_URL, params=params)
File "/home/teruun/gmapenv/gmapenv/env/local/lib/python2.7/site-packages/googlemaps.py", line 50, in fetch_json
response = urllib2.urlopen(request)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 444, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 403: Forbidden
(gmapenv)teruun@ubuntu:~/gmapenv$ python -c 'import googlemaps'
(gmapenv)teruun@ubuntu:~/gmapenv$ python search1.py
Traceback (most recent call last):
File "search1.py", line 5, in <module>
print GoogleMaps().address_to_latlng(address)
File "/home/teruun/gmapenv/local/lib/python2.7/site-packages/googlemaps.py", line 310, in address_to_latlng
return tuple(self.geocode(address)['Placemark'][0]['Point']['coordinates'][1::-1])
File "/home/teruun/gmapenv/local/lib/python2.7/site-packages/googlemaps.py", line 259, in geocode
url, response = fetch_json(self._GEOCODE_QUERY_URL, params=params)
File "/home/teruun/gmapenv/local/lib/python2.7/site-packages/googlemaps.py", line 50, in fetch_json
response = urllib2.urlopen(request)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 444, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 403: Forbidden
(gmapenv)teruun@ubuntu:~/gmapenv$ clear
(gmapenv)teruun@ubuntu:~/gmapenv$ pip install googlemaps
Requirement already satisfied (use --upgrade to upgrade): googlemaps in ./lib/python2.7/site-packages
Cleaning up...
(gmapenv)teruun@ubuntu:~/gmapenv$ python -c 'import googlemaps'
(gmapenv)teruun@ubuntu:~/gmapenv$ python search1.py
Traceback (most recent call last):
File "search1.py", line 5, in <module>
print GoogleMaps().address_to_latlng(address)
File "/home/teruun/gmapenv/local/lib/python2.7/site-packages/googlemaps.py", line 310, in address_to_latlng
return tuple(self.geocode(address)['Placemark'][0]['Point']['coordinates'][1::-1])
File "/home/teruun/gmapenv/local/lib/python2.7/site-packages/googlemaps.py", line 259, in geocode
url, response = fetch_json(self._GEOCODE_QUERY_URL, params=params)
File "/home/teruun/gmapenv/local/lib/python2.7/site-packages/googlemaps.py", line 50, in fetch_json
response = urllib2.urlopen(request)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 444, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 403: Forbidden
(gmapenv)teruun@ubuntu:~/gmapenv$ vi search1.py
(gmapenv)teruun@ubuntu:~/gmapenv$ vi search1.py
(gmapenv)teruun@ubuntu:~/gmapenv$ clear
(gmapenv)teruun@ubuntu:~/gmapenv$ virtualenv --no-site-packages gmapenv
The --no-site-packages flag is deprecated; it is now the default behavior.
New python executable in gmapenv/bin/python
Installing distribute.............................................................................................................................................................................................done.
Installing pip...............done.
(gmapenv)teruun@ubuntu:~/gmapenv$ cd gmapenv
(gmapenv)teruun@ubuntu:~/gmapenv/gmapenv$ ls
bin include lib local
(gmapenv)teruun@ubuntu:~/gmapenv/gmapenv$ pip install googlemaps
Requirement already satisfied (use --upgrade to upgrade): googlemaps in /home/teruun/gmapenv/lib/python2.7/site-packages
Cleaning up...
(gmapenv)teruun@ubuntu:~/gmapenv/gmapenv$ python -c 'import googlemaps'
(gmapenv)teruun@ubuntu:~/gmapenv/gmapenv$ vi search1.py
(gmapenv)teruun@ubuntu:~/gmapenv/gmapenv$ vi search1.py
(gmapenv)teruun@ubuntu:~/gmapenv/gmapenv$ python search1.py
Traceback (most recent call last):
File "search1.py", line 5, in <module>
print GoogleMaps().address_to_latlng(address)
File "/home/teruun/gmapenv/local/lib/python2.7/site-packages/googlemaps.py", line 310, in address_to_latlng
return tuple(self.geocode(address)['Placemark'][0]['Point']['coordinates'][1::-1])
File "/home/teruun/gmapenv/local/lib/python2.7/site-packages/googlemaps.py", line 259, in geocode
url, response = fetch_json(self._GEOCODE_QUERY_URL, params=params)
File "/home/teruun/gmapenv/local/lib/python2.7/site-packages/googlemaps.py", line 50, in fetch_json
response = urllib2.urlopen(request)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 444, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 403: Forbidden
(gmapenv)teruun@ubuntu:~/gmapenv/gmapenv$ deactivate
teruun@ubuntu:~/gmapenv/gmapenv$ virtualenv --no-site-packages env
The --no-site-packages flag is deprecated; it is now the default behavior.
New python executable in env/bin/python
Installing distribute.............................................................................................................................................................................................done.
Installing pip...............done.
teruun@ubuntu:~/gmapenv/gmapenv$ cd env
teruun@ubuntu:~/gmapenv/gmapenv/env$ ls
bin include lib local
teruun@ubuntu:~/gmapenv/gmapenv/env$ . bin/activate
(env)teruun@ubuntu:~/gmapenv/gmapenv/env$ pip install googlemaps
Downloading/unpacking googlemaps
Downloading googlemaps-1.0.2.tar.gz (60Kb): 60Kb downloaded
Running setup.py egg_info for package googlemaps
Installing collected packages: googlemaps
Running setup.py install for googlemaps
Successfully installed googlemaps
Cleaning up...
(env)teruun@ubuntu:~/gmapenv/gmapenv/env$ python -c 'import googlemaps'
(env)teruun@ubuntu:~/gmapenv/gmapenv/env$ vi search1.py
(env)teruun@ubuntu:~/gmapenv/gmapenv/env$ python search1.py
Traceback (most recent call last):
File "search1.py", line 3, in <module>
print GoogleMaps().address_to_latlng(address)
File "/home/teruun/gmapenv/gmapenv/env/local/lib/python2.7/site-packages/googlemaps.py", line 310, in address_to_latlng
return tuple(self.geocode(address)['Placemark'][0]['Point']['coordinates'][1::-1])
File "/home/teruun/gmapenv/gmapenv/env/local/lib/python2.7/site-packages/googlemaps.py", line 259, in geocode
url, response = fetch_json(self._GEOCODE_QUERY_URL, params=params)
File "/home/teruun/gmapenv/gmapenv/env/local/lib/python2.7/site-packages/googlemaps.py", line 50, in fetch_json
response = urllib2.urlopen(request)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 444, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 403: Forbidden