Updated 3 years ago
!pip install google.cloud --upgrade
Collecting google.cloud
Downloading google_cloud-0.34.0-py2.py3-none-any.whl (1.8 kB)
Installing collected packages: google.cloud
Successfully installed google.cloud
!pip install google --upgrade
Requirement already satisfied: google in c:\users\phurin chawjarusopas\anaconda3\lib\site-packages (3.0.0)
Requirement already satisfied: beautifulsoup4 in c:\users\phurin chawjarusopas\anaconda3\lib\site-packages (from google) (4.9.3)
Requirement already satisfied: soupsieve>1.2 in c:\users\phurin chawjarusopas\anaconda3\lib\site-packages (from beautifulsoup4->google) (2.2.1)
from platform import python_version
print(python_version())
3.8.8
# find the environment you are working with
import sys
print(sys.prefix)
C:\Users\Phurin Chawjarusopas\anaconda3
# install virtuallenv and big query into the designated enviroment
!pip install virtualenv
virtualenv C:\Users\Phurin Chawjarusopas\anaconda3
<your-env>\Scripts\activate
<your-env>\Scripts\pip.exe install google-cloud-bigquery;
File "<ipython-input-23-eccec2dcfc16>", line 3
virtualenv C:\Users\Phurin Chawjarusopas\anaconda3
^
SyntaxError: invalid syntax