140 lines
6.0 KiB
Plaintext
140 lines
6.0 KiB
Plaintext
{
|
|
"cells": [
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": null,
|
|
"id": "cf72c66e-cdee-43d0-94c9-563b1acb28c9",
|
|
"metadata": {},
|
|
"outputs": [
|
|
{
|
|
"name": "stdout",
|
|
"output_type": "stream",
|
|
"text": [
|
|
"\u001b[33mWARNING: The directory '/root/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.\u001b[0m\n",
|
|
"Collecting numpy==1.20.0\n",
|
|
" Downloading numpy-1.20.0-cp39-cp39-manylinux2010_x86_64.whl (15.4 MB)\n",
|
|
"\u001b[K |████████████████████████████████| 15.4 MB 10.3 MB/s eta 0:00:01\n",
|
|
"\u001b[?25hInstalling collected packages: numpy\n",
|
|
" Attempting uninstall: numpy\n",
|
|
" Found existing installation: numpy 1.26.1\n",
|
|
" Uninstalling numpy-1.26.1:\n",
|
|
" Successfully uninstalled numpy-1.26.1\n",
|
|
"\u001b[31mERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.\n",
|
|
"scipy 1.11.3 requires numpy<1.28.0,>=1.21.6, but you have numpy 1.20.0 which is incompatible.\n",
|
|
"pandas 2.1.2 requires numpy<2,>=1.22.4; python_version < \"3.11\", but you have numpy 1.20.0 which is incompatible.\u001b[0m\n",
|
|
"Successfully installed numpy-1.20.0\n",
|
|
"\u001b[33mWARNING: The directory '/root/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.\u001b[0m\n",
|
|
"Collecting requests==2.24.0\n",
|
|
" Downloading requests-2.24.0-py2.py3-none-any.whl (61 kB)\n",
|
|
"\u001b[K |████████████████████████████████| 61 kB 6.6 MB/s eta 0:00:01\n",
|
|
"\u001b[?25hRequirement already satisfied: chardet<4,>=3.0.2 in /usr/local/lib/python3.9/dist-packages (from requests==2.24.0) (3.0.4)\n",
|
|
"Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.9/dist-packages (from requests==2.24.0) (2023.7.22)\n",
|
|
"Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.9/dist-packages (from requests==2.24.0) (1.25.11)\n",
|
|
"Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.9/dist-packages (from requests==2.24.0) (2.10)\n",
|
|
"Installing collected packages: requests\n",
|
|
" Attempting uninstall: requests\n",
|
|
" Found existing installation: requests 2.31.0\n",
|
|
" Uninstalling requests-2.31.0:\n",
|
|
" Successfully uninstalled requests-2.31.0\n",
|
|
"\u001b[31mERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.\n",
|
|
"jupyterlab-server 2.25.0 requires requests>=2.31, but you have requests 2.24.0 which is incompatible.\u001b[0m\n",
|
|
"Successfully installed requests-2.24.0\n",
|
|
"\u001b[33mWARNING: The directory '/root/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.\u001b[0m\n",
|
|
"Requirement already satisfied: networkx==2.4 in /usr/local/lib/python3.9/dist-packages (2.4)\n",
|
|
"Requirement already satisfied: decorator>=4.3.0 in /usr/local/lib/python3.9/dist-packages (from networkx==2.4) (5.1.1)\n",
|
|
"\u001b[33mWARNING: The directory '/root/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.\u001b[0m\n",
|
|
"Collecting pandas==1.1.0\n",
|
|
" Downloading pandas-1.1.0.tar.gz (5.2 MB)\n",
|
|
"\u001b[K |████████████████████████████████| 5.2 MB 11.4 MB/s eta 0:00:01\n",
|
|
"\u001b[?25h Installing build dependencies ... \u001b[?25l/"
|
|
]
|
|
}
|
|
],
|
|
"source": [
|
|
"import sys\n",
|
|
"!{sys.executable} -m pip install numpy==1.20.0\n",
|
|
"!{sys.executable} -m pip install requests==2.24.0\n",
|
|
"!{sys.executable} -m pip install networkx==2.4\n",
|
|
"!{sys.executable} -m pip install pandas==1.1.0\n",
|
|
"!{sys.executable} -m pip install ipywidgets==7.5.1"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": null,
|
|
"id": "8e5c6e13-f6f2-4f35-9229-7f50f3702bfd",
|
|
"metadata": {},
|
|
"outputs": [],
|
|
"source": [
|
|
"import sys\n",
|
|
"!{sys.executable} -m pip install scikit-learn==0.22.1"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": 6,
|
|
"id": "db63b9d8-17ce-499d-ab11-63f07c108f6d",
|
|
"metadata": {},
|
|
"outputs": [
|
|
{
|
|
"name": "stdout",
|
|
"output_type": "stream",
|
|
"text": [
|
|
"/root\n"
|
|
]
|
|
}
|
|
],
|
|
"source": [
|
|
"!pwd"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": 7,
|
|
"id": "88f231a9-6276-45ce-8703-0f3d3049f616",
|
|
"metadata": {},
|
|
"outputs": [
|
|
{
|
|
"name": "stdout",
|
|
"output_type": "stream",
|
|
"text": [
|
|
"Q1 Q2\tQ3 dc_up.sh setup_env.ipynb\n"
|
|
]
|
|
}
|
|
],
|
|
"source": [
|
|
"!ls "
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": null,
|
|
"id": "f631507c-06d0-4f25-8ac8-2b9fd727ff0b",
|
|
"metadata": {},
|
|
"outputs": [],
|
|
"source": []
|
|
}
|
|
],
|
|
"metadata": {
|
|
"kernelspec": {
|
|
"display_name": "Python 3 (ipykernel)",
|
|
"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.9.2"
|
|
}
|
|
},
|
|
"nbformat": 4,
|
|
"nbformat_minor": 5
|
|
}
|