Skip to content

Instantly share code, notes, and snippets.

@Zheaoli
Created July 10, 2017 03:31
Show Gist options
  • Save Zheaoli/462cbef6cf2e6afd21d4f59b44cac146 to your computer and use it in GitHub Desktop.
Save Zheaoli/462cbef6cf2e6afd21d4f59b44cac146 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "code",
"execution_count": 2,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"import pip"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Collecting gevent\n",
" Downloading https://pypi.tuna.tsinghua.edu.cn/packages/13/a9/81166b3ad2d344882ab42eb222e7723f93838fdf641b17b319b3a84821a7/gevent-1.2.2-cp35-cp35m-manylinux1_x86_64.whl (1.7MB)\n",
"Collecting greenlet>=0.4.10 (from gevent)\n",
" Downloading https://pypi.tuna.tsinghua.edu.cn/packages/c3/f6/c5f9b779d71e0151113a867cf1ac8093106c3484d1c24f0204813569549f/greenlet-0.4.12-cp35-cp35m-manylinux1_x86_64.whl (42kB)\n",
"Installing collected packages: greenlet, gevent\n",
"Successfully installed gevent-1.2.2 greenlet-0.4.12\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"You are using pip version 8.1.1, however version 9.0.1 is available.\n",
"You should consider upgrading via the 'pip install --upgrade pip' command.\n"
]
},
{
"data": {
"text/plain": [
"0"
]
},
"execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"pip.main([\"install\",\"gevent\"])"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.5.1"
},
"widgets": {
"state": {},
"version": "1.1.2"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment