akashdeepdhar

CommandLog

Feb 18th, 2019
22
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. akashdeep@DL-H61MXEL:~/mflix-python$ mv dotini_unix .ini
  2. akashdeep@DL-H61MXEL:~/mflix-python$ python3 run.py
  3.  * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
  4.  * Restarting with stat
  5.  * Debugger is active!
  6.  * Debugger PIN: 168-834-830
  7. 127.0.0.1 - - [18/Feb/2019 18:38:21] "GET / HTTP/1.1" 200 -
  8. 127.0.0.1 - - [18/Feb/2019 18:38:21] "GET /static/css/main.d2c98b4b.chunk.css HTTP/1.1" 200 -
  9. 127.0.0.1 - - [18/Feb/2019 18:38:21] "GET /static/js/1.85042e97.chunk.js HTTP/1.1" 200 -
  10. 127.0.0.1 - - [18/Feb/2019 18:38:21] "GET /static/js/main.81b71a0a.chunk.js HTTP/1.1" 200 -
  11. 127.0.0.1 - - [18/Feb/2019 18:38:23] "GET /api/v1/movies/ HTTP/1.1" 200 -
  12. 127.0.0.1 - - [18/Feb/2019 18:38:23] "GET /static/media/mongoleaf.0ebc1843.png HTTP/1.1" 200 -
  13. 127.0.0.1 - - [18/Feb/2019 18:38:24] "GET /manifest.json HTTP/1.1" 200 -
  14. 127.0.0.1 - - [18/Feb/2019 18:38:24] "GET /favicon.ico HTTP/1.1" 200 -
  15. 127.0.0.1 - - [18/Feb/2019 18:38:37] "GET /api/v1/movies/id/573a13acf29313caabd29647 HTTP/1.1" 200 -
  16. 127.0.0.1 - - [18/Feb/2019 18:38:37] "GET /favicon.ico HTTP/1.1" 200 -
  17. 127.0.0.1 - - [18/Feb/2019 18:38:37] "GET /favicon.ico HTTP/1.1" 200 -
  18. 127.0.0.1 - - [18/Feb/2019 18:38:40] "GET /favicon.ico HTTP/1.1" 200 -
  19. ^Cakashdeep@DL-H61MXEL:~/mflix-python$ cd notebooks
  20. akashdeep@DL-H61MXEL:~/mflix-python/notebooks$ jupyter notebooks
  21.  
  22. Command 'jupyter' not found, but can be installed with:
  23.  
  24. sudo apt install jupyter-core
  25.  
  26. akashdeep@DL-H61MXEL:~/mflix-python/notebooks$ sudo apt install jupyter-core
  27. [sudo] password for akashdeep:
  28. Reading package lists... Done
  29. Building dependency tree      
  30. Reading state information... Done
  31. The following additional packages will be installed:
  32.   python3-decorator python3-ipython-genutils python3-jupyter-core python3-traitlets
  33. The following NEW packages will be installed:
  34.   jupyter-core python3-decorator python3-ipython-genutils python3-jupyter-core python3-traitlets
  35. 0 upgraded, 5 newly installed, 0 to remove and 228 not upgraded.
  36. Need to get 132 kB of archives.
  37. After this operation, 779 kB of additional disk space will be used.
  38. Do you want to continue? [Y/n] y
  39. Get:1 http://in.archive.ubuntu.com/ubuntu cosmic/main amd64 python3-decorator all 4.3.0-1 [9,428 B]
  40. Get:2 http://in.archive.ubuntu.com/ubuntu cosmic/universe amd64 python3-ipython-genutils all 0.2.0-1 [20.9 kB]
  41. Get:3 http://in.archive.ubuntu.com/ubuntu cosmic/universe amd64 python3-traitlets all 4.3.2-1 [59.1 kB]
  42. Get:4 http://in.archive.ubuntu.com/ubuntu cosmic/universe amd64 python3-jupyter-core all 4.4.0-2 [37.3 kB]
  43. Get:5 http://in.archive.ubuntu.com/ubuntu cosmic/universe amd64 jupyter-core all 4.4.0-2 [5,212 B]
  44. Fetched 132 kB in 3s (41.4 kB/s)        
  45. Selecting previously unselected package python3-decorator.
  46. (Reading database ... 196023 files and directories currently installed.)
  47. Preparing to unpack .../python3-decorator_4.3.0-1_all.deb ...
  48. Unpacking python3-decorator (4.3.0-1) ...
  49. Selecting previously unselected package python3-ipython-genutils.
  50. Preparing to unpack .../python3-ipython-genutils_0.2.0-1_all.deb ...
  51. Unpacking python3-ipython-genutils (0.2.0-1) ...
  52. Selecting previously unselected package python3-traitlets.
  53. Preparing to unpack .../python3-traitlets_4.3.2-1_all.deb ...
  54. Unpacking python3-traitlets (4.3.2-1) ...
  55. Selecting previously unselected package python3-jupyter-core.
  56. Preparing to unpack .../python3-jupyter-core_4.4.0-2_all.deb ...
  57. Unpacking python3-jupyter-core (4.4.0-2) ...
  58. Selecting previously unselected package jupyter-core.
  59. Preparing to unpack .../jupyter-core_4.4.0-2_all.deb ...
  60. Unpacking jupyter-core (4.4.0-2) ...
  61. Setting up python3-ipython-genutils (0.2.0-1) ...
  62. Processing triggers for man-db (2.8.4-2) ...
  63. Setting up python3-decorator (4.3.0-1) ...
  64. Setting up python3-traitlets (4.3.2-1) ...
  65. Setting up python3-jupyter-core (4.4.0-2) ...
  66. Setting up jupyter-core (4.4.0-2) ...
  67. akashdeep@DL-H61MXEL:~/mflix-python/notebooks$ jupyter notebooks            
  68. Error executing Jupyter command 'notebooks': [Errno 2] No such file or directory
  69. akashdeep@DL-H61MXEL:~/mflix-python/notebooks$ jupyter notebook
  70. Error executing Jupyter command 'notebook': [Errno 2] No such file or directory
  71. akashdeep@DL-H61MXEL:~/mflix-python/notebooks$ jupyter notebook
  72. Error executing Jupyter command 'notebook': [Errno 2] No such file or directory
  73. akashdeep@DL-H61MXEL:~/mflix-python/notebooks$ jupyter
  74. usage: jupyter [-h] [--version] [--config-dir] [--data-dir] [--runtime-dir]
  75.                [--paths] [--json]
  76.                [subcommand]
  77. jupyter: error: one of the arguments --version subcommand --config-dir --data-dir --runtime-dir --paths is required
  78. akashdeep@DL-H61MXEL:~/mflix-python/notebooks$ jupyter
  79. usage: jupyter [-h] [--version] [--config-dir] [--data-dir] [--runtime-dir]
  80.                [--paths] [--json]
  81.                [subcommand]
  82. jupyter: error: one of the arguments --version subcommand --config-dir --data-dir --runtime-dir --paths is required
  83. akashdeep@DL-H61MXEL:~/mflix-python/notebooks$ jupyter notebook
  84. Error executing Jupyter command 'notebook': [Errno 2] No such file or directory
  85. akashdeep@DL-H61MXEL:~/mflix-python/notebooks$ cd
  86. akashdeep@DL-H61MXEL:~$ jupyter notebook --generate-config
  87. Error executing Jupyter command 'notebook': [Errno 2] No such file or directory
  88. akashdeep@DL-H61MXEL:~$ sudo apt purge jupyter-core
  89. Reading package lists... Done
  90. Building dependency tree      
  91. Reading state information... Done
  92. The following packages were automatically installed and are no longer required:
  93.   python3-decorator python3-ipython-genutils python3-jupyter-core python3-traitlets
  94. Use 'sudo apt autoremove' to remove them.
  95. The following packages will be REMOVED:
  96.   jupyter-core*
  97. 0 upgraded, 0 newly installed, 1 to remove and 228 not upgraded.
  98. After this operation, 25.6 kB disk space will be freed.
  99. Do you want to continue? [Y/n] y
  100. (Reading database ... 196159 files and directories currently installed.)
  101. Removing jupyter-core (4.4.0-2) ...
  102. Processing triggers for man-db (2.8.4-2) ...
  103. akashdeep@DL-H61MXEL:~$ cd mflix-python
  104. akashdeep@DL-H61MXEL:~/mflix-python$ virtualenv -p YOUR_LOCAL_PYTHON3_PATH mflix_venv
  105. The path YOUR_LOCAL_PYTHON3_PATH (from --python=YOUR_LOCAL_PYTHON3_PATH) does not exist
  106. akashdeep@DL-H61MXEL:~/mflix-python$ virtualenv -p python3 mflix_venv                
  107. Already using interpreter /usr/bin/python3
  108. Using base prefix '/usr'
  109. New python executable in /home/akashdeep/mflix-python/mflix_venv/bin/python3
  110. Not overwriting existing python script /home/akashdeep/mflix-python/mflix_venv/bin/python (you must use /home/akashdeep/mflix-python/mflix_venv/bin/python3)
  111. Installing setuptools, pip, wheel...
  112. done.
  113. akashdeep@DL-H61MXEL:~/mflix-python$ source mflix_venv/bin/activate
  114. (mflix_venv) akashdeep@DL-H61MXEL:~/mflix-python$ pip install -r requirements.txt
  115. Collecting Flask==0.12.4 (from -r requirements.txt (line 1))
  116.   Using cached https://files.pythonhosted.org/packages/2e/48/f1936dadac2326b3d73f2fe0a964a87d16be16eb9d7fc56f09c1bea3d17c/Flask-0.12.4-py2.py3-none-any.whl
  117. Collecting Flask-Bcrypt==0.7.1 (from -r requirements.txt (line 2))
  118. Collecting Flask-Login==0.4.0 (from -r requirements.txt (line 3))
  119.   Using cached https://files.pythonhosted.org/packages/5a/14/364597ec0dd5490eb4443adae60b35088a6b7d466a9f7c8dacbe259477b5/Flask_Login-0.4.0-py2.py3-none-any.whl
  120. Collecting pymongo==3.7.0 (from -r requirements.txt (line 4))
  121.   Using cached https://files.pythonhosted.org/packages/91/0f/03409241acedb5e27c5ddfef86e1e6b88c1a3864be83d59d796cc06a52b2/pymongo-3.7.0-cp36-cp36m-manylinux1_x86_64.whl
  122. Collecting dnspython==1.15.0 (from -r requirements.txt (line 5))
  123.   Using cached https://files.pythonhosted.org/packages/a6/72/209e18bdfedfd78c6994e9ec96981624a5ad7738524dd474237268422cb8/dnspython-1.15.0-py2.py3-none-any.whl
  124. Collecting pytest-flask==0.10.0 (from -r requirements.txt (line 6))
  125.   Using cached https://files.pythonhosted.org/packages/30/39/cfff2ef18c97f50024ee4bcb8a1ab5ec7dabdb2c2edc5b2cc93e8f867481/pytest_flask-0.10.0-py2.py3-none-any.whl
  126. Collecting Flask-Cors==3.0.3 (from -r requirements.txt (line 7))
  127.   Using cached https://files.pythonhosted.org/packages/83/a7/c7243ffd096a491013956c9ee71e2ed0b7d14979fafe89986ca2d30fc6f7/Flask_Cors-3.0.3-py2.py3-none-any.whl
  128. Collecting flask-jwt-extended==3.7.0 (from -r requirements.txt (line 8))
  129. Collecting faker==0.8.13 (from -r requirements.txt (line 9))
  130.   Using cached https://files.pythonhosted.org/packages/25/96/70d8293a839b21133dcb11bb15aec0ed9d2aca9da6a9766a5e21c848615b/Faker-0.8.13-py2.py3-none-any.whl
  131. Collecting jupyter==1.0.0 (from -r requirements.txt (line 10))
  132.   Using cached https://files.pythonhosted.org/packages/83/df/0f5dd132200728a86190397e1ea87cd76244e42d39ec5e88efd25b2abd7e/jupyter-1.0.0-py2.py3-none-any.whl
  133. Collecting jupyter-client==5.2.3 (from -r requirements.txt (line 11))
  134.   Using cached https://files.pythonhosted.org/packages/94/dd/fe6c4d683b09eb05342bd2816b7779663f71762b4fa9c2d5203d35d17354/jupyter_client-5.2.3-py2.py3-none-any.whl
  135. Collecting jupyter-console==5.2.0 (from -r requirements.txt (line 12))
  136.   Using cached https://files.pythonhosted.org/packages/77/82/6469cd7fccf7958cbe5dce2e623f1e3c5e27f1bb1ad36d90519bc2d5d370/jupyter_console-5.2.0-py2.py3-none-any.whl
  137. Collecting jupyter-core==4.4.0 (from -r requirements.txt (line 13))
  138.   Using cached https://files.pythonhosted.org/packages/1d/44/065d2d7bae7bebc06f1dd70d23c36da8c50c0f08b4236716743d706762a8/jupyter_core-4.4.0-py2.py3-none-any.whl
  139. Collecting itsdangerous>=0.21 (from Flask==0.12.4->-r requirements.txt (line 1))
  140.   Using cached https://files.pythonhosted.org/packages/76/ae/44b03b253d6fade317f32c24d100b3b35c2239807046a4c953c7b89fa49e/itsdangerous-1.1.0-py2.py3-none-any.whl
  141. Collecting Jinja2>=2.4 (from Flask==0.12.4->-r requirements.txt (line 1))
  142.   Using cached https://files.pythonhosted.org/packages/7f/ff/ae64bacdfc95f27a016a7bed8e8686763ba4d277a78ca76f32659220a731/Jinja2-2.10-py2.py3-none-any.whl
  143. Collecting click>=2.0 (from Flask==0.12.4->-r requirements.txt (line 1))
  144.   Using cached https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl
  145. Collecting Werkzeug>=0.7 (from Flask==0.12.4->-r requirements.txt (line 1))
  146.   Using cached https://files.pythonhosted.org/packages/20/c4/12e3e56473e52375aa29c4764e70d1b8f3efa6682bef8d0aae04fe335243/Werkzeug-0.14.1-py2.py3-none-any.whl
  147. Collecting bcrypt (from Flask-Bcrypt==0.7.1->-r requirements.txt (line 2))
  148.   Using cached https://files.pythonhosted.org/packages/d0/79/79a4d167a31cc206117d9b396926615fa9c1fdbd52017bcced80937ac501/bcrypt-3.1.6-cp34-abi3-manylinux1_x86_64.whl
  149. Collecting pytest>=2.4 (from pytest-flask==0.10.0->-r requirements.txt (line 6))
  150.   Using cached https://files.pythonhosted.org/packages/11/e9/dc9a7269a7e1fed46de7d5864da6a86370256c791bf263dd0c7d7e8f1ff1/pytest-4.2.1-py2.py3-none-any.whl
  151. Collecting Six (from Flask-Cors==3.0.3->-r requirements.txt (line 7))
  152.   Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
  153. Collecting PyJWT (from flask-jwt-extended==3.7.0->-r requirements.txt (line 8))
  154.   Using cached https://files.pythonhosted.org/packages/87/8b/6a9f14b5f781697e51259d81657e6048fd31a113229cf346880bb7545565/PyJWT-1.7.1-py2.py3-none-any.whl
  155. Collecting text-unidecode==1.2 (from faker==0.8.13->-r requirements.txt (line 9))
  156.   Using cached https://files.pythonhosted.org/packages/79/42/d717cc2b4520fb09e45b344b1b0b4e81aa672001dd128c180fabc655c341/text_unidecode-1.2-py2.py3-none-any.whl
  157. Collecting python-dateutil>=2.4 (from faker==0.8.13->-r requirements.txt (line 9))
  158.   Using cached https://files.pythonhosted.org/packages/41/17/c62faccbfbd163c7f57f3844689e3a78bae1f403648a6afb1d0866d87fbb/python_dateutil-2.8.0-py2.py3-none-any.whl
  159. Collecting ipykernel (from jupyter==1.0.0->-r requirements.txt (line 10))
  160.   Using cached https://files.pythonhosted.org/packages/d8/b0/f0be5c5ab335196f5cce96e5b889a4fcf5bfe462eb0acc05cd7e2caf65eb/ipykernel-5.1.0-py3-none-any.whl
  161. Collecting notebook (from jupyter==1.0.0->-r requirements.txt (line 10))
  162.   Using cached https://files.pythonhosted.org/packages/f8/a6/dbdf0954d073ab2cf5421cad20334d1e4c780da37205c04522c045298f67/notebook-5.7.4-py2.py3-none-any.whl
  163. Collecting ipywidgets (from jupyter==1.0.0->-r requirements.txt (line 10))
  164.   Using cached https://files.pythonhosted.org/packages/30/9a/a008c7b1183fac9e52066d80a379b3c64eab535bd9d86cdc29a0b766fd82/ipywidgets-7.4.2-py2.py3-none-any.whl
  165. Collecting nbconvert (from jupyter==1.0.0->-r requirements.txt (line 10))
  166.   Using cached https://files.pythonhosted.org/packages/b8/39/1e67fea74dc9577cc49f9863fe3ec824e525d1304ab6027d95a94cd586f5/nbconvert-5.4.1-py2.py3-none-any.whl
  167. Collecting qtconsole (from jupyter==1.0.0->-r requirements.txt (line 10))
  168.   Using cached https://files.pythonhosted.org/packages/e0/7a/8aefbc0ed078dec7951ac9a06dcd1869243ecd7bcbce26fa47bf5e469a8f/qtconsole-4.4.3-py2.py3-none-any.whl
  169. Collecting pyzmq>=13 (from jupyter-client==5.2.3->-r requirements.txt (line 11))
  170.   Using cached https://files.pythonhosted.org/packages/48/93/59592cb294761aaa40589b544eaa5175446d687ff95beeeb666de60f3274/pyzmq-17.1.2-cp36-cp36m-manylinux1_x86_64.whl
  171. Collecting tornado>=4.1 (from jupyter-client==5.2.3->-r requirements.txt (line 11))
  172. Collecting traitlets (from jupyter-client==5.2.3->-r requirements.txt (line 11))
  173.   Using cached https://files.pythonhosted.org/packages/93/d6/abcb22de61d78e2fc3959c964628a5771e47e7cc60d53e9342e21ed6cc9a/traitlets-4.3.2-py2.py3-none-any.whl
  174. Collecting ipython (from jupyter-console==5.2.0->-r requirements.txt (line 12))
  175.   Using cached https://files.pythonhosted.org/packages/f0/b4/a9ea018c73a84ee6280b2e94a1a6af8d63e45903eac2da0640fa63bca4db/ipython-7.2.0-py3-none-any.whl
  176. Collecting prompt-toolkit<2.0.0,>=1.0.0 (from jupyter-console==5.2.0->-r requirements.txt (line 12))
  177.   Using cached https://files.pythonhosted.org/packages/04/d1/c6616dd03701e7e2073f06d5c3b41b012256e42b72561f16a7bd86dd7b43/prompt_toolkit-1.0.15-py3-none-any.whl
  178. Collecting pygments (from jupyter-console==5.2.0->-r requirements.txt (line 12))
  179.   Using cached https://files.pythonhosted.org/packages/13/e5/6d710c9cf96c31ac82657bcfb441df328b22df8564d58d0c4cd62612674c/Pygments-2.3.1-py2.py3-none-any.whl
  180. Collecting MarkupSafe>=0.23 (from Jinja2>=2.4->Flask==0.12.4->-r requirements.txt (line 1))
  181.   Using cached https://files.pythonhosted.org/packages/08/04/f2191b50fb7f0712f03f064b71d8b4605190f2178ba02e975a87f7b89a0d/MarkupSafe-1.1.0-cp36-cp36m-manylinux1_x86_64.whl
  182. Collecting cffi>=1.1 (from bcrypt->Flask-Bcrypt==0.7.1->-r requirements.txt (line 2))
  183.   Using cached https://files.pythonhosted.org/packages/be/99/3a088b41d93aa46f07cf7fd4da1b3287e6899ad7b2b75f1a177edf025e1a/cffi-1.12.1-cp36-cp36m-manylinux1_x86_64.whl
  184. Requirement already satisfied: setuptools in ./mflix_venv/lib/python3.6/site-packages (from pytest>=2.4->pytest-flask==0.10.0->-r requirements.txt (line 6)) (40.8.0)
  185. Collecting more-itertools>=4.0.0; python_version > "2.7" (from pytest>=2.4->pytest-flask==0.10.0->-r requirements.txt (line 6))
  186.   Using cached https://files.pythonhosted.org/packages/ae/d4/d6bad4844831943dd667510947712750004525c5807711982f4ec390da2b/more_itertools-6.0.0-py3-none-any.whl
  187. Collecting atomicwrites>=1.0 (from pytest>=2.4->pytest-flask==0.10.0->-r requirements.txt (line 6))
  188.   Using cached https://files.pythonhosted.org/packages/52/90/6155aa926f43f2b2a22b01be7241be3bfd1ceaf7d0b3267213e8127d41f4/atomicwrites-1.3.0-py2.py3-none-any.whl
  189. Collecting pluggy>=0.7 (from pytest>=2.4->pytest-flask==0.10.0->-r requirements.txt (line 6))
  190.   Using cached https://files.pythonhosted.org/packages/2d/60/f58d9e8197f911f9405bf7e02227b43a2acc2c2f1a8cbb1be5ecf6bfd0b8/pluggy-0.8.1-py2.py3-none-any.whl
  191. Collecting py>=1.5.0 (from pytest>=2.4->pytest-flask==0.10.0->-r requirements.txt (line 6))
  192.   Using cached https://files.pythonhosted.org/packages/3e/c7/3da685ef117d42ac8d71af525208759742dd235f8094221fdaafcd3dba8f/py-1.7.0-py2.py3-none-any.whl
  193. Collecting attrs>=17.4.0 (from pytest>=2.4->pytest-flask==0.10.0->-r requirements.txt (line 6))
  194.   Using cached https://files.pythonhosted.org/packages/3a/e1/5f9023cc983f1a628a8c2fd051ad19e76ff7b142a0faf329336f9a62a514/attrs-18.2.0-py2.py3-none-any.whl
  195. Collecting Send2Trash (from notebook->jupyter==1.0.0->-r requirements.txt (line 10))
  196.   Using cached https://files.pythonhosted.org/packages/49/46/c3dc27481d1cc57b9385aff41c474ceb7714f7935b1247194adae45db714/Send2Trash-1.5.0-py3-none-any.whl
  197. Collecting terminado>=0.8.1 (from notebook->jupyter==1.0.0->-r requirements.txt (line 10))
  198.   Using cached https://files.pythonhosted.org/packages/2e/20/a26211a24425923d46e1213b376a6ee60dc30bcdf1b0c345e2c3769deb1c/terminado-0.8.1-py2.py3-none-any.whl
  199. Collecting prometheus-client (from notebook->jupyter==1.0.0->-r requirements.txt (line 10))
  200. Collecting nbformat (from notebook->jupyter==1.0.0->-r requirements.txt (line 10))
  201.   Using cached https://files.pythonhosted.org/packages/da/27/9a654d2b6cc1eaa517d1c5a4405166c7f6d72f04f6e7eea41855fe808a46/nbformat-4.4.0-py2.py3-none-any.whl
  202. Collecting ipython-genutils (from notebook->jupyter==1.0.0->-r requirements.txt (line 10))
  203.   Using cached https://files.pythonhosted.org/packages/fa/bc/9bd3b5c2b4774d5f33b2d544f1460be9df7df2fe42f352135381c347c69a/ipython_genutils-0.2.0-py2.py3-none-any.whl
  204. Collecting widgetsnbextension~=3.4.0 (from ipywidgets->jupyter==1.0.0->-r requirements.txt (line 10))
  205.   Using cached https://files.pythonhosted.org/packages/8a/81/35789a3952afb48238289171728072d26d6e76649ddc8b3588657a2d78c1/widgetsnbextension-3.4.2-py2.py3-none-any.whl
  206. Collecting entrypoints>=0.2.2 (from nbconvert->jupyter==1.0.0->-r requirements.txt (line 10))
  207.   Using cached https://files.pythonhosted.org/packages/ac/c6/44694103f8c221443ee6b0041f69e2740d89a25641e62fb4f2ee568f2f9c/entrypoints-0.3-py2.py3-none-any.whl
  208. Collecting defusedxml (from nbconvert->jupyter==1.0.0->-r requirements.txt (line 10))
  209.   Using cached https://files.pythonhosted.org/packages/87/1c/17f3e3935a913dfe2a5ca85fa5ccbef366bfd82eb318b1f75dadbf0affca/defusedxml-0.5.0-py2.py3-none-any.whl
  210. Collecting bleach (from nbconvert->jupyter==1.0.0->-r requirements.txt (line 10))
  211.   Using cached https://files.pythonhosted.org/packages/ab/05/27e1466475e816d3001efb6e0a85a819be17411420494a1e602c36f8299d/bleach-3.1.0-py2.py3-none-any.whl
  212. Collecting mistune>=0.8.1 (from nbconvert->jupyter==1.0.0->-r requirements.txt (line 10))
  213.   Using cached https://files.pythonhosted.org/packages/09/ec/4b43dae793655b7d8a25f76119624350b4d65eb663459eb9603d7f1f0345/mistune-0.8.4-py2.py3-none-any.whl
  214. Collecting testpath (from nbconvert->jupyter==1.0.0->-r requirements.txt (line 10))
  215.   Using cached https://files.pythonhosted.org/packages/be/a4/162f9ebb6489421fe46dcca2ae420369edfee4b563c668d93cb4605d12ba/testpath-0.4.2-py2.py3-none-any.whl
  216. Collecting pandocfilters>=1.4.1 (from nbconvert->jupyter==1.0.0->-r requirements.txt (line 10))
  217. Collecting decorator (from traitlets->jupyter-client==5.2.3->-r requirements.txt (line 11))
  218.   Using cached https://files.pythonhosted.org/packages/f1/cd/7c8240007e9716b14679bc217a1baefa4432aa30394f7e2ec40a52b1a708/decorator-4.3.2-py2.py3-none-any.whl
  219. Collecting backcall (from ipython->jupyter-console==5.2.0->-r requirements.txt (line 12))
  220. Collecting pickleshare (from ipython->jupyter-console==5.2.0->-r requirements.txt (line 12))
  221.   Using cached https://files.pythonhosted.org/packages/9a/41/220f49aaea88bc6fa6cba8d05ecf24676326156c23b991e80b3f2fc24c77/pickleshare-0.7.5-py2.py3-none-any.whl
  222. Collecting pexpect; sys_platform != "win32" (from ipython->jupyter-console==5.2.0->-r requirements.txt (line 12))
  223.   Using cached https://files.pythonhosted.org/packages/89/e6/b5a1de8b0cc4e07ca1b305a4fcc3f9806025c1b651ea302646341222f88b/pexpect-4.6.0-py2.py3-none-any.whl
  224. Collecting jedi>=0.10 (from ipython->jupyter-console==5.2.0->-r requirements.txt (line 12))
  225.   Using cached https://files.pythonhosted.org/packages/c2/bc/54d53f5bc4658380d0eca9055d72be4df45e5bfd91a4bac97da224a92553/jedi-0.13.2-py2.py3-none-any.whl
  226. Collecting wcwidth (from prompt-toolkit<2.0.0,>=1.0.0->jupyter-console==5.2.0->-r requirements.txt (line 12))
  227.   Using cached https://files.pythonhosted.org/packages/7e/9f/526a6947247599b084ee5232e4f9190a38f398d7300d866af3ab571a5bfe/wcwidth-0.1.7-py2.py3-none-any.whl
  228. Collecting pycparser (from cffi>=1.1->bcrypt->Flask-Bcrypt==0.7.1->-r requirements.txt (line 2))
  229. Collecting ptyprocess; os_name != "nt" (from terminado>=0.8.1->notebook->jupyter==1.0.0->-r requirements.txt (line 10))
  230.   Using cached https://files.pythonhosted.org/packages/d1/29/605c2cc68a9992d18dada28206eeada56ea4bd07a239669da41674648b6f/ptyprocess-0.6.0-py2.py3-none-any.whl
  231. Collecting jsonschema!=2.5.0,>=2.4 (from nbformat->notebook->jupyter==1.0.0->-r requirements.txt (line 10))
  232.   Using cached https://files.pythonhosted.org/packages/77/de/47e35a97b2b05c2fadbec67d44cfcdcd09b8086951b331d82de90d2912da/jsonschema-2.6.0-py2.py3-none-any.whl
  233. Collecting webencodings (from bleach->nbconvert->jupyter==1.0.0->-r requirements.txt (line 10))
  234.   Using cached https://files.pythonhosted.org/packages/f4/24/2a3e3df732393fed8b3ebf2ec078f05546de641fe1b667ee316ec1dcf3b7/webencodings-0.5.1-py2.py3-none-any.whl
  235. Collecting parso>=0.3.0 (from jedi>=0.10->ipython->jupyter-console==5.2.0->-r requirements.txt (line 12))
  236.   Using cached https://files.pythonhosted.org/packages/19/b1/522b2671cc6d134c9d3f5dfc0d02fee07cab848e908d03d2bffea78cca8f/parso-0.3.4-py2.py3-none-any.whl
  237. ipython 7.2.0 has requirement prompt-toolkit<2.1.0,>=2.0.0, but you'll have prompt-toolkit 1.0.15 which is incompatible.
  238. Installing collected packages: itsdangerous, MarkupSafe, Jinja2, click, Werkzeug, Flask, pycparser, cffi, Six, bcrypt, Flask-Bcrypt, Flask-Login, pymongo, dnspython, more-itertools, atomicwrites, pluggy, py, attrs, pytest, pytest-flask, Flask-Cors, PyJWT, flask-jwt-extended, text-unidecode, python-dateutil, faker, tornado, decorator, ipython-genutils, traitlets, backcall, pickleshare, pygments, ptyprocess, pexpect, parso, jedi, wcwidth, prompt-toolkit, ipython, pyzmq, jupyter-core, jupyter-client, ipykernel, Send2Trash, terminado, prometheus-client, jsonschema, nbformat, entrypoints, defusedxml, webencodings, bleach, mistune, testpath, pandocfilters, nbconvert, notebook, widgetsnbextension, ipywidgets, jupyter-console, qtconsole, jupyter
  239. Successfully installed Flask-0.12.4 Flask-Bcrypt-0.7.1 Flask-Cors-3.0.3 Flask-Login-0.4.0 Jinja2-2.10 MarkupSafe-1.1.0 PyJWT-1.7.1 Send2Trash-1.5.0 Six-1.12.0 Werkzeug-0.14.1 atomicwrites-1.3.0 attrs-18.2.0 backcall-0.1.0 bcrypt-3.1.6 bleach-3.1.0 cffi-1.12.1 click-7.0 decorator-4.3.2 defusedxml-0.5.0 dnspython-1.15.0 entrypoints-0.3 faker-0.8.13 flask-jwt-extended-3.7.0 ipykernel-5.1.0 ipython-7.2.0 ipython-genutils-0.2.0 ipywidgets-7.4.2 itsdangerous-1.1.0 jedi-0.13.2 jsonschema-2.6.0 jupyter-1.0.0 jupyter-client-5.2.3 jupyter-console-5.2.0 jupyter-core-4.4.0 mistune-0.8.4 more-itertools-6.0.0 nbconvert-5.4.1 nbformat-4.4.0 notebook-5.7.4 pandocfilters-1.4.2 parso-0.3.4 pexpect-4.6.0 pickleshare-0.7.5 pluggy-0.8.1 prometheus-client-0.5.0 prompt-toolkit-1.0.15 ptyprocess-0.6.0 py-1.7.0 pycparser-2.19 pygments-2.3.1 pymongo-3.7.0 pytest-4.2.1 pytest-flask-0.10.0 python-dateutil-2.8.0 pyzmq-17.1.2 qtconsole-4.4.3 terminado-0.8.1 testpath-0.4.2 text-unidecode-1.2 tornado-5.1.1 traitlets-4.3.2 wcwidth-0.1.7 webencodings-0.5.1 widgetsnbextension-3.4.2
  240. (mflix_venv) akashdeep@DL-H61MXEL:~/mflix-python$ cd notebooks
  241. (mflix_venv) akashdeep@DL-H61MXEL:~/mflix-python/notebooks$ jupyter notebook
  242. [I 19:03:16.894 NotebookApp] Writing notebook server cookie secret to /run/user/1000/jupyter/notebook_cookie_secret
  243. [I 19:03:17.075 NotebookApp] Serving notebooks from local directory: /home/akashdeep/mflix-python/notebooks
  244. [I 19:03:17.075 NotebookApp] The Jupyter Notebook is running at:
  245. [I 19:03:17.075 NotebookApp] http://localhost:8888/?token=e39d10d19bd7cd6895538295c7ab4637086e615d71335df7
  246. [I 19:03:17.075 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
  247. [C 19:03:17.080 NotebookApp]
  248.    
  249.    To access the notebook, open this file in a browser:
  250.        file:///run/user/1000/jupyter/nbserver-31352-open.html
  251.    Or copy and paste one of these URLs:
  252.        http://localhost:8888/?token=e39d10d19bd7cd6895538295c7ab4637086e615d71335df7
  253. [I 19:04:42.306 NotebookApp] Writing notebook-signing key to /home/akashdeep/.local/share/jupyter/notebook_secret
  254. [W 19:04:42.307 NotebookApp] Notebook MongoClient.ipynb is not trusted
  255. [I 19:04:42.872 NotebookApp] Kernel started: a7f71614-0ca8-4c6e-824b-ab55c29501b4
  256. Traceback (most recent call last):
  257.  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
  258.    "__main__", mod_spec)
  259.  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
  260.    exec(code, run_globals)
  261.  File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel_launcher.py", line 15, in <module>
  262.    from ipykernel import kernelapp as app
  263.  File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel/__init__.py", line 2, in <module>
  264.    from .connect import *
  265.  File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel/connect.py", line 13, in <module>
  266.    from IPython.core.profiledir import ProfileDir
  267.  File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/__init__.py", line 55, in <module>
  268.    from .terminal.embed import embed
  269.  File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/terminal/embed.py", line 16, in <module>
  270.    from IPython.terminal.interactiveshell import TerminalInteractiveShell
  271.  File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/terminal/interactiveshell.py", line 20, in <module>
  272.    from prompt_toolkit.formatted_text import PygmentsTokens
  273. ModuleNotFoundError: No module named 'prompt_toolkit.formatted_text'
  274. [I 19:04:45.872 NotebookApp] KernelRestarter: restarting kernel (1/5), new random ports
  275. Traceback (most recent call last):
  276.  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
  277.    "__main__", mod_spec)
  278.  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
  279.    exec(code, run_globals)
  280.  File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel_launcher.py", line 15, in <module>
  281.    from ipykernel import kernelapp as app
  282.  File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel/__init__.py", line 2, in <module>
  283.    from .connect import *
  284.  File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel/connect.py", line 13, in <module>
  285.    from IPython.core.profiledir import ProfileDir
  286.  File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/__init__.py", line 55, in <module>
  287.    from .terminal.embed import embed
  288.  File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/terminal/embed.py", line 16, in <module>
  289.    from IPython.terminal.interactiveshell import TerminalInteractiveShell
  290.  File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/terminal/interactiveshell.py", line 20, in <module>
  291.    from prompt_toolkit.formatted_text import PygmentsTokens
  292. ModuleNotFoundError: No module named 'prompt_toolkit.formatted_text'
  293. [I 19:04:48.881 NotebookApp] KernelRestarter: restarting kernel (2/5), new random ports
  294. Traceback (most recent call last):
  295.  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
  296.    "__main__", mod_spec)
  297.  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
  298.    exec(code, run_globals)
  299.  File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel_launcher.py", line 15, in <module>
  300.    from ipykernel import kernelapp as app
  301.  File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel/__init__.py", line 2, in <module>
  302.    from .connect import *
  303.  File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel/connect.py", line 13, in <module>
  304.    from IPython.core.profiledir import ProfileDir
  305.  File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/__init__.py", line 55, in <module>
  306.    from .terminal.embed import embed
  307.  File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/terminal/embed.py", line 16, in <module>
  308.    from IPython.terminal.interactiveshell import TerminalInteractiveShell
  309.  File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/terminal/interactiveshell.py", line 20, in <module>
  310.    from prompt_toolkit.formatted_text import PygmentsTokens
  311. ModuleNotFoundError: No module named 'prompt_toolkit.formatted_text'
  312. [I 19:04:51.891 NotebookApp] KernelRestarter: restarting kernel (3/5), new random ports
  313. Traceback (most recent call last):
  314.  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
  315.    "__main__", mod_spec)
  316.  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
  317.    exec(code, run_globals)
  318.  File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel_launcher.py", line 15, in <module>
  319.    from ipykernel import kernelapp as app
  320.  File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel/__init__.py", line 2, in <module>
  321.    from .connect import *
  322.  File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel/connect.py", line 13, in <module>
  323.    from IPython.core.profiledir import ProfileDir
  324.  File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/__init__.py", line 55, in <module>
  325.    from .terminal.embed import embed
  326.  File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/terminal/embed.py", line 16, in <module>
  327.    from IPython.terminal.interactiveshell import TerminalInteractiveShell
  328.  File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/terminal/interactiveshell.py", line 20, in <module>
  329.    from prompt_toolkit.formatted_text import PygmentsTokens
  330. ModuleNotFoundError: No module named 'prompt_toolkit.formatted_text'
  331. [I 19:04:54.899 NotebookApp] KernelRestarter: restarting kernel (4/5), new random ports
  332. Traceback (most recent call last):
  333.  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
  334.    "__main__", mod_spec)
  335.  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
  336.    exec(code, run_globals)
  337.  File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel_launcher.py", line 15, in <module>
  338.    from ipykernel import kernelapp as app
  339.  File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel/__init__.py", line 2, in <module>
  340.    from .connect import *
  341.  File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel/connect.py", line 13, in <module>
  342.    from IPython.core.profiledir import ProfileDir
  343.  File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/__init__.py", line 55, in <module>
  344.    from .terminal.embed import embed
  345.  File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/terminal/embed.py", line 16, in <module>
  346.    from IPython.terminal.interactiveshell import TerminalInteractiveShell
  347.  File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/terminal/interactiveshell.py", line 20, in <module>
  348.    from prompt_toolkit.formatted_text import PygmentsTokens
  349. ModuleNotFoundError: No module named 'prompt_toolkit.formatted_text'
  350. [W 19:04:57.909 NotebookApp] KernelRestarter: restart failed
  351. [W 19:04:57.910 NotebookApp] Kernel a7f71614-0ca8-4c6e-824b-ab55c29501b4 died, removing from map.
  352. [W 19:05:42.976 NotebookApp] Timeout waiting for kernel_info reply from a7f71614-0ca8-4c6e-824b-ab55c29501b4
  353. [E 19:05:42.978 NotebookApp] Error opening stream: HTTP 404: Not Found (Kernel does not exist: a7f71614-0ca8-4c6e-824b-ab55c29501b4)
  354. ^C[I 19:06:34.882 NotebookApp] interrupted
  355. Serving notebooks from local directory: /home/akashdeep/mflix-python/notebooks
  356. 0 active kernels
  357. The Jupyter Notebook is running at:
  358. http://localhost:8888/?token=e39d10d19bd7cd6895538295c7ab4637086e615d71335df7
  359. Shutdown this notebook server (y/[n])? y
  360. [C 19:06:38.321 NotebookApp] Shutdown confirmed
  361. [I 19:06:38.322 NotebookApp] Shutting down 0 kernels
  362. (mflix_venv) akashdeep@DL-H61MXEL:~/mflix-python/notebooks$ python3 run.py
  363. python3: can't open file 'run.py': [Errno 2] No such file or directory
  364. (mflix_venv) akashdeep@DL-H61MXEL:~/mflix-python/notebooks$ jupyter notebook
  365. [I 19:06:57.787 NotebookApp] Serving notebooks from local directory: /home/akashdeep/mflix-python/notebooks
  366. [I 19:06:57.788 NotebookApp] The Jupyter Notebook is running at:
  367. [I 19:06:57.788 NotebookApp] http://localhost:8888/?token=5b9d1dad853c7f72115cd2aa93192029dc69f64fd3ba19c9
  368. [I 19:06:57.788 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
  369. [C 19:06:57.792 NotebookApp]
  370.    
  371.     To access the notebook, open this file in a browser:
  372.         file:///run/user/1000/jupyter/nbserver-31507-open.html
  373.     Or copy and paste one of these URLs:
  374.         http://localhost:8888/?token=5b9d1dad853c7f72115cd2aa93192029dc69f64fd3ba19c9
  375. [I 19:07:05.956 NotebookApp] Saving file at /MongoClient.ipynb
  376. [I 19:08:45.460 NotebookApp] Saving file at /MongoClient.ipynb
  377. [I 19:09:54.664 NotebookApp] Saving file at /MongoClient.ipynb
  378. [W 19:09:54.933 NotebookApp] Trusting notebook /MongoClient.ipynb
  379. [I 19:09:56.331 NotebookApp] Kernel started: 6f2b90af-87e3-40de-98d6-458b2f7f39f2
  380. Traceback (most recent call last):
  381.   File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
  382.     "__main__", mod_spec)
  383.   File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
  384.     exec(code, run_globals)
  385.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel_launcher.py", line 15, in <module>
  386.     from ipykernel import kernelapp as app
  387.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel/__init__.py", line 2, in <module>
  388.     from .connect import *
  389.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel/connect.py", line 13, in <module>
  390.     from IPython.core.profiledir import ProfileDir
  391.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/__init__.py", line 55, in <module>
  392.     from .terminal.embed import embed
  393.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/terminal/embed.py", line 16, in <module>
  394.     from IPython.terminal.interactiveshell import TerminalInteractiveShell
  395.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/terminal/interactiveshell.py", line 20, in <module>
  396.     from prompt_toolkit.formatted_text import PygmentsTokens
  397. ModuleNotFoundError: No module named 'prompt_toolkit.formatted_text'
  398. [I 19:09:59.326 NotebookApp] KernelRestarter: restarting kernel (1/5), new random ports
  399. Traceback (most recent call last):
  400.   File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
  401.     "__main__", mod_spec)
  402.   File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
  403.     exec(code, run_globals)
  404.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel_launcher.py", line 15, in <module>
  405.     from ipykernel import kernelapp as app
  406.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel/__init__.py", line 2, in <module>
  407.     from .connect import *
  408.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel/connect.py", line 13, in <module>
  409.     from IPython.core.profiledir import ProfileDir
  410.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/__init__.py", line 55, in <module>
  411.     from .terminal.embed import embed
  412.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/terminal/embed.py", line 16, in <module>
  413.     from IPython.terminal.interactiveshell import TerminalInteractiveShell
  414.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/terminal/interactiveshell.py", line 20, in <module>
  415.     from prompt_toolkit.formatted_text import PygmentsTokens
  416. ModuleNotFoundError: No module named 'prompt_toolkit.formatted_text'
  417. [I 19:10:02.337 NotebookApp] KernelRestarter: restarting kernel (2/5), new random ports
  418. Traceback (most recent call last):
  419.   File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
  420.     "__main__", mod_spec)
  421.   File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
  422.     exec(code, run_globals)
  423.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel_launcher.py", line 15, in <module>
  424.     from ipykernel import kernelapp as app
  425.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel/__init__.py", line 2, in <module>
  426.     from .connect import *
  427.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel/connect.py", line 13, in <module>
  428.     from IPython.core.profiledir import ProfileDir
  429.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/__init__.py", line 55, in <module>
  430.     from .terminal.embed import embed
  431.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/terminal/embed.py", line 16, in <module>
  432.     from IPython.terminal.interactiveshell import TerminalInteractiveShell
  433.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/terminal/interactiveshell.py", line 20, in <module>
  434.     from prompt_toolkit.formatted_text import PygmentsTokens
  435. ModuleNotFoundError: No module named 'prompt_toolkit.formatted_text'
  436. [I 19:10:05.346 NotebookApp] KernelRestarter: restarting kernel (3/5), new random ports
  437. Traceback (most recent call last):
  438.   File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
  439.     "__main__", mod_spec)
  440.   File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
  441.     exec(code, run_globals)
  442.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel_launcher.py", line 15, in <module>
  443.     from ipykernel import kernelapp as app
  444.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel/__init__.py", line 2, in <module>
  445.     from .connect import *
  446.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel/connect.py", line 13, in <module>
  447.     from IPython.core.profiledir import ProfileDir
  448.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/__init__.py", line 55, in <module>
  449.     from .terminal.embed import embed
  450.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/terminal/embed.py", line 16, in <module>
  451.     from IPython.terminal.interactiveshell import TerminalInteractiveShell
  452.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/terminal/interactiveshell.py", line 20, in <module>
  453.     from prompt_toolkit.formatted_text import PygmentsTokens
  454. ModuleNotFoundError: No module named 'prompt_toolkit.formatted_text'
  455. [I 19:10:08.354 NotebookApp] KernelRestarter: restarting kernel (4/5), new random ports
  456. Traceback (most recent call last):
  457.   File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
  458.     "__main__", mod_spec)
  459.   File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
  460.     exec(code, run_globals)
  461.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel_launcher.py", line 15, in <module>
  462.     from ipykernel import kernelapp as app
  463.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel/__init__.py", line 2, in <module>
  464.     from .connect import *
  465.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel/connect.py", line 13, in <module>
  466.     from IPython.core.profiledir import ProfileDir
  467.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/__init__.py", line 55, in <module>
  468.     from .terminal.embed import embed
  469.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/terminal/embed.py", line 16, in <module>
  470.     from IPython.terminal.interactiveshell import TerminalInteractiveShell
  471.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/terminal/interactiveshell.py", line 20, in <module>
  472.     from prompt_toolkit.formatted_text import PygmentsTokens
  473. ModuleNotFoundError: No module named 'prompt_toolkit.formatted_text'
  474. [W 19:10:11.363 NotebookApp] KernelRestarter: restart failed
  475. [W 19:10:11.363 NotebookApp] Kernel 6f2b90af-87e3-40de-98d6-458b2f7f39f2 died, removing from map.
  476. [W 19:10:56.391 NotebookApp] Timeout waiting for kernel_info reply from 6f2b90af-87e3-40de-98d6-458b2f7f39f2
  477. [E 19:10:56.393 NotebookApp] Error opening stream: HTTP 404: Not Found (Kernel does not exist: 6f2b90af-87e3-40de-98d6-458b2f7f39f2)
  478. [I 19:11:41.783 NotebookApp] Saving file at /MongoClient.ipynb
  479. [I 19:11:56.362 NotebookApp] Saving file at /MongoClient.ipynb
  480. [E 19:12:08.283 NotebookApp] Exception restarting kernel
  481.     Traceback (most recent call last):
  482.       File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/notebook/services/kernels/handlers.py", line 85, in post
  483.         yield gen.maybe_future(km.restart_kernel(kernel_id))
  484.       File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/notebook/services/kernels/kernelmanager.py", line 285, in restart_kernel
  485.         self._check_kernel_id(kernel_id)
  486.       File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/notebook/services/kernels/kernelmanager.py", line 364, in _check_kernel_id
  487.         raise web.HTTPError(404, u'Kernel does not exist: %s' % kernel_id)
  488.     tornado.web.HTTPError: HTTP 404: Not Found (Kernel does not exist: 6f2b90af-87e3-40de-98d6-458b2f7f39f2)
  489. [E 19:12:08.284 NotebookApp] {
  490.       "Host": "localhost:8888",
  491.       "Connection": "keep-alive",
  492.       "Content-Length": "0",
  493.       "Accept": "application/json, text/javascript, */*; q=0.01",
  494.       "Origin": "http://localhost:8888",
  495.       "X-Requested-With": "XMLHttpRequest",
  496.       "X-Xsrftoken": "2|147cb637|1d68f126b117b5178f8bbe96fbc38c85|1550496799",
  497.       "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36",
  498.       "Referer": "http://localhost:8888/notebooks/MongoClient.ipynb",
  499.       "Accept-Encoding": "gzip, deflate, br",
  500.       "Accept-Language": "en-US,en;q=0.9",
  501.       "Cookie": "_xsrf=2|147cb637|1d68f126b117b5178f8bbe96fbc38c85|1550496799; username-localhost-8888=\"2|1:0|10:1550497019|23:username-localhost-8888|44:ZmI0Y2FiZmJmZDQ5NDFkMDliNWEwYTRjMmU1YzE1NmY=|6ecdd9a9a7aeb9a788d358f292da8f84f87477f7ec22ea68f9177a62a7353fa6\""
  502.     }
  503. [E 19:12:08.284 NotebookApp] 500 POST /api/kernels/6f2b90af-87e3-40de-98d6-458b2f7f39f2/restart (127.0.0.1) 2.36ms referer=http://localhost:8888/notebooks/MongoClient.ipynb
  504. [W 19:12:08.297 NotebookApp] 410 DELETE /api/sessions/b199fcd4-8fd4-4ec4-ba05-3147efd43a98 (127.0.0.1): Kernel deleted before session
  505. [W 19:12:08.297 NotebookApp] Kernel deleted before session
  506. [W 19:12:08.297 NotebookApp] 410 DELETE /api/sessions/b199fcd4-8fd4-4ec4-ba05-3147efd43a98 (127.0.0.1) 1.95ms referer=http://localhost:8888/notebooks/MongoClient.ipynb
  507. [I 19:12:08.321 NotebookApp] Kernel started: cae406fb-3c50-48ca-b890-99a1057e6196
  508. Traceback (most recent call last):
  509.   File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
  510.     "__main__", mod_spec)
  511.   File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
  512.     exec(code, run_globals)
  513.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel_launcher.py", line 15, in <module>
  514.     from ipykernel import kernelapp as app
  515.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel/__init__.py", line 2, in <module>
  516.     from .connect import *
  517.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel/connect.py", line 13, in <module>
  518.     from IPython.core.profiledir import ProfileDir
  519.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/__init__.py", line 55, in <module>
  520.     from .terminal.embed import embed
  521.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/terminal/embed.py", line 16, in <module>
  522.     from IPython.terminal.interactiveshell import TerminalInteractiveShell
  523.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/terminal/interactiveshell.py", line 20, in <module>
  524.     from prompt_toolkit.formatted_text import PygmentsTokens
  525. ModuleNotFoundError: No module named 'prompt_toolkit.formatted_text'
  526. [I 19:12:11.319 NotebookApp] KernelRestarter: restarting kernel (1/5), new random ports
  527. Traceback (most recent call last):
  528.   File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
  529.     "__main__", mod_spec)
  530.   File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
  531.     exec(code, run_globals)
  532.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel_launcher.py", line 15, in <module>
  533.     from ipykernel import kernelapp as app
  534.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel/__init__.py", line 2, in <module>
  535.     from .connect import *
  536.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel/connect.py", line 13, in <module>
  537.     from IPython.core.profiledir import ProfileDir
  538.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/__init__.py", line 55, in <module>
  539.     from .terminal.embed import embed
  540.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/terminal/embed.py", line 16, in <module>
  541.     from IPython.terminal.interactiveshell import TerminalInteractiveShell
  542.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/terminal/interactiveshell.py", line 20, in <module>
  543.     from prompt_toolkit.formatted_text import PygmentsTokens
  544. ModuleNotFoundError: No module named 'prompt_toolkit.formatted_text'
  545. [I 19:12:14.328 NotebookApp] KernelRestarter: restarting kernel (2/5), new random ports
  546. Traceback (most recent call last):
  547.   File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
  548.     "__main__", mod_spec)
  549.   File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
  550.     exec(code, run_globals)
  551.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel_launcher.py", line 15, in <module>
  552.     from ipykernel import kernelapp as app
  553.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel/__init__.py", line 2, in <module>
  554.     from .connect import *
  555.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel/connect.py", line 13, in <module>
  556.     from IPython.core.profiledir import ProfileDir
  557.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/__init__.py", line 55, in <module>
  558.     from .terminal.embed import embed
  559.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/terminal/embed.py", line 16, in <module>
  560.     from IPython.terminal.interactiveshell import TerminalInteractiveShell
  561.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/terminal/interactiveshell.py", line 20, in <module>
  562.     from prompt_toolkit.formatted_text import PygmentsTokens
  563. ModuleNotFoundError: No module named 'prompt_toolkit.formatted_text'
  564. [I 19:12:17.337 NotebookApp] KernelRestarter: restarting kernel (3/5), new random ports
  565. Traceback (most recent call last):
  566.   File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
  567.     "__main__", mod_spec)
  568.   File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
  569.     exec(code, run_globals)
  570.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel_launcher.py", line 15, in <module>
  571.     from ipykernel import kernelapp as app
  572.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel/__init__.py", line 2, in <module>
  573.     from .connect import *
  574.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel/connect.py", line 13, in <module>
  575.     from IPython.core.profiledir import ProfileDir
  576.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/__init__.py", line 55, in <module>
  577.     from .terminal.embed import embed
  578.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/terminal/embed.py", line 16, in <module>
  579.     from IPython.terminal.interactiveshell import TerminalInteractiveShell
  580.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/terminal/interactiveshell.py", line 20, in <module>
  581.     from prompt_toolkit.formatted_text import PygmentsTokens
  582. ModuleNotFoundError: No module named 'prompt_toolkit.formatted_text'
  583. [I 19:12:20.347 NotebookApp] KernelRestarter: restarting kernel (4/5), new random ports
  584. Traceback (most recent call last):
  585.   File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
  586.     "__main__", mod_spec)
  587.   File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
  588.     exec(code, run_globals)
  589.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel_launcher.py", line 15, in <module>
  590.     from ipykernel import kernelapp as app
  591.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel/__init__.py", line 2, in <module>
  592.     from .connect import *
  593.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/ipykernel/connect.py", line 13, in <module>
  594.     from IPython.core.profiledir import ProfileDir
  595.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/__init__.py", line 55, in <module>
  596.     from .terminal.embed import embed
  597.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/terminal/embed.py", line 16, in <module>
  598.     from IPython.terminal.interactiveshell import TerminalInteractiveShell
  599.   File "/home/akashdeep/mflix-python/mflix_venv/lib/python3.6/site-packages/IPython/terminal/interactiveshell.py", line 20, in <module>
  600.     from prompt_toolkit.formatted_text import PygmentsTokens
  601. ModuleNotFoundError: No module named 'prompt_toolkit.formatted_text'
  602. [W 19:12:23.355 NotebookApp] KernelRestarter: restart failed
  603. [W 19:12:23.355 NotebookApp] Kernel cae406fb-3c50-48ca-b890-99a1057e6196 died, removing from map.
  604. ^C[I 19:13:08.074 NotebookApp] interrupted
  605. Serving notebooks from local directory: /home/akashdeep/mflix-python/notebooks
  606. 0 active kernels
  607. The Jupyter Notebook is running at:
  608. http://localhost:8888/?token=5b9d1dad853c7f72115cd2aa93192029dc69f64fd3ba19c9
  609. Shutdown this notebook server (y/[n])? [W 19:13:08.338 NotebookApp] Timeout waiting for kernel_info reply from cae406fb-3c50-48ca-b890-99a1057e6196
  610. [E 19:13:08.340 NotebookApp] Error opening stream: HTTP 404: Not Found (Kernel does not exist: cae406fb-3c50-48ca-b890-99a1057e6196)
  611. y
  612. [C 19:13:09.991 NotebookApp] Shutdown confirmed
  613. [I 19:13:09.992 NotebookApp] Shutting down 0 kernels
  614. (mflix_venv) akashdeep@DL-H61MXEL:~/mflix-python/notebooks$ sudo apt install prompt-toolkit
  615. [sudo] password for akashdeep:
  616. Reading package lists... Done
  617. Building dependency tree      
  618. Reading state information... Done
  619. E: Unable to locate package prompt-toolkit
  620. (mflix_venv) akashdeep@DL-H61MXEL:~/mflix-python/notebooks$
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×