What are the available libraries in the Google Colaboratory?

TensorFlow is certainly supported, but PyTorch is not. I did not find a complete list here. https://dbsnail.com/2017/10/26/quick-check-of-google-colaboratory

Is there an official list of supported libraries somewhere?

+6
source share
2 answers

I just ran !pip freezeand got a response.

backports-abc==0.5
backports.functools-lru-cache==1.4
backports.shutil-get-terminal-size==1.0.0
beautifulsoup4==4.6.0
bleach==2.1.1
brewer2mpl==1.4.1
cachetools==2.0.1
certifi==2017.7.27.1
chardet==3.0.4
configparser==3.5.0
crcmod==1.7
cycler==0.10.0
decorator==4.1.2
entrypoints==0.2.3
enum34==1.1.6
funcsigs==1.0.2
functools32==3.2.3.post2
future==0.15.2
futures==3.0.5
ggplot==0.6.8
google-api-python-client==1.6.4
google-auth==1.1.1
google-auth-httplib2==0.0.2
google-auth-oauthlib==0.1.1
google-cloud-bigquery==0.27.0
google-cloud-core==0.27.1
google-colab==0.0.1a1
google-resumable-media==0.3.1
googleapis-common-protos==1.5.3
html5lib==1.0b10
httplib2==0.10.3
idna==2.6
ipykernel==4.6.1
ipython==5.5.0
ipython-genutils==0.2.0
Jinja2==2.8
jsonschema==2.5.1
jupyter-client==5.1.0
jupyter-core==4.3.0
MarkupSafe==1.0
matplotlib==2.1.0
mistune==0.7.4
mock==2.0.0
mpmath==1.0.0
nbconvert==5.3.1
nbformat==4.4.0
networkx==2.0
nltk==3.2.1
notebook==5.2.0
numpy==1.13.3
oauth2client==4.1.2
oauthlib==2.0.6
pandas==0.20.3
pandas-gbq==0.2.0
pandocfilters==1.3.0
pathlib2==2.3.0
patsy==0.4.1
pbr==3.1.1
pexpect==4.2.1
pickleshare==0.7.4
Pillow==3.4.1
plotly==1.12.5
prompt-toolkit==1.0.15
protobuf==3.4.0
psutil==4.3.0
ptyprocess==0.5.2
pyasn1==0.3.7
pyasn1-modules==0.1.5
Pygments==2.1.3
pyparsing==2.2.0
python-dateutil==2.5.0
pytz==2016.7
PyWavelets==0.5.2
PyYAML==3.11
pyzmq==16.0.2
requests==2.18.4
requests-oauthlib==0.8.0
rsa==3.4.2
scandir==1.6
scikit-image==0.13.0
scikit-learn==0.18.2
scipy==0.19.1
seaborn==0.7.1
simplegeneric==0.8.1
singledispatch==3.4.0.3
six==1.10.0
statsmodels==0.8.0
subprocess32==3.5.0
sympy==1.1.1
tensorflow==1.0.1
terminado==0.6
testpath==0.3.1
tornado==4.4.2
traitlets==4.3.2
uritemplate==3.0.0
urllib3==1.22
wcwidth==0.1.7
webencodings==0.5.1
+8
source

Most libraries can be quickly installed using pipor apt.

Python 3

To install pytorch, add a cell with:

!pip3 install -q http://download.pytorch.org/whl/cu80/torch-0.3.0.post4-cp36-cp36m-linux_x86_64.whl && pip3 install -q torchvision

Here is an example laptop

Python 2

For example, to install pytorch, add a cell with the following command:

!pip install -q http://download.pytorch.org/whl/cu80/torch-0.2.0.post3-cp27-cp27mu-manylinux1_x86_64.whl && pip install -q torchvision

( 25 .)

opencv, :

!pip install -q opencv-python && apt -qq update && apt -qq install -y libsm6 libxext6

+2

Source: https://habr.com/ru/post/1688722/


All Articles