master
/ coding_here.ipynb

coding_here.ipynb @a606ce8view markup · raw · history · blame

Notebook
In [1]:
print('Hello Mo!')
Hello Mo!
In [2]:
!pip install dominate
WARNING: The directory '/home/jovyan/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
WARNING: The directory '/home/jovyan/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Looking in indexes: https://mirrors.ustc.edu.cn/pypi/web/simple
Collecting dominate
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='mirrors.ustc.edu.cn', port=443): Read timed out. (read timeout=15)",)': /pypi/web/simple/dominate/
  Downloading https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/1d/64/593e829416c951eb35c2246430d59b86f640087e29e71f32632bcde5d0f7/dominate-2.4.0-py2.py3-none-any.whl
Installing collected packages: dominate
Successfully installed dominate-2.4.0
In [2]:
!pip install visdom
WARNING: The directory '/home/jovyan/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
WARNING: The directory '/home/jovyan/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Looking in indexes: https://mirrors.ustc.edu.cn/pypi/web/simple
Collecting visdom
  Downloading https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/97/c4/5f5356fd57ae3c269e0e31601ea6487e0622fedc6756a591e4a5fd66cc7a/visdom-0.1.8.8.tar.gz (1.4MB)
     |████████████████████████████████| 1.4MB 1.6MB/s eta 0:00:01
Requirement already satisfied: numpy>=1.8 in /home/jovyan/.virtualenvs/basenv/lib/python3.5/site-packages (from visdom) (1.16.0)
Requirement already satisfied: scipy in /home/jovyan/.virtualenvs/basenv/lib/python3.5/site-packages (from visdom) (1.3.1)
Requirement already satisfied: requests in /home/jovyan/.virtualenvs/basenv/lib/python3.5/site-packages (from visdom) (2.22.0)
Requirement already satisfied: tornado in /home/jovyan/.virtualenvs/basenv/lib/python3.5/site-packages (from visdom) (6.0.3)
Requirement already satisfied: pyzmq in /home/jovyan/.virtualenvs/basenv/lib/python3.5/site-packages (from visdom) (18.1.0)
Requirement already satisfied: six in /home/jovyan/.virtualenvs/basenv/lib/python3.5/site-packages (from visdom) (1.12.0)
Collecting torchfile (from visdom)
  Downloading https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/91/af/5b305f86f2d218091af657ddb53f984ecbd9518ca9fe8ef4103a007252c9/torchfile-0.1.0.tar.gz
Collecting websocket-client (from visdom)
  Downloading https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/29/19/44753eab1fdb50770ac69605527e8859468f3c0fd7dc5a76dd9c4dbd7906/websocket_client-0.56.0-py2.py3-none-any.whl (200kB)
     |████████████████████████████████| 204kB 50.1MB/s eta 0:00:01
Requirement already satisfied: pillow in /home/jovyan/.virtualenvs/basenv/lib/python3.5/site-packages (from visdom) (6.1.0)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /home/jovyan/.virtualenvs/basenv/lib/python3.5/site-packages (from requests->visdom) (1.25.3)
Requirement already satisfied: idna<2.9,>=2.5 in /home/jovyan/.virtualenvs/basenv/lib/python3.5/site-packages (from requests->visdom) (2.8)
Requirement already satisfied: certifi>=2017.4.17 in /home/jovyan/.virtualenvs/basenv/lib/python3.5/site-packages (from requests->visdom) (2019.6.16)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /home/jovyan/.virtualenvs/basenv/lib/python3.5/site-packages (from requests->visdom) (3.0.4)
Building wheels for collected packages: visdom, torchfile
  WARNING: Building wheel for visdom failed: [Errno 13] Permission denied: '/home/jovyan/.cache/pip/wheels/65'
  WARNING: Building wheel for torchfile failed: [Errno 13] Permission denied: '/home/jovyan/.cache/pip/wheels/b7'
Failed to build visdom torchfile
Installing collected packages: torchfile, websocket-client, visdom
  Running setup.py install for torchfile ... done
  Running setup.py install for visdom ... done
Successfully installed torchfile-0.1.0 visdom-0.1.8.8 websocket-client-0.56.0
In [ ]:
!python -m visdom.server
Checking for scripts.
It's Alive!
INFO:root:Application Started
You can navigate to http://jupyter-4f4549ll415a47504b0lu4dc49ss44042a4ftm5f47h48h92da34a0x:8097
In [2]:
pwd
Out[2]:
'/home/jovyan/work'
In [ ]: