[BUG] Installing Hub package on Jupyter Notebook generates Error
See original GitHub issueππ Bug Report
Running !pip3 install -U hub==1.0.0
generates errors on Jupyter Notebook.
Here is the error from colab notebook
ERROR: albumentations 0.1.12 has requirement imgaug<0.2.7,>=0.2.5, but you'll have imgaug 0.2.9 which is incompatible.
ERROR: botocore 1.19.57 has requirement urllib3<1.27,>=1.25.4; python_version != "3.4", but you'll have urllib3 1.24.3 which is incompatible.
Full log
Collecting hub==1.0.0
Downloading https://files.pythonhosted.org/packages/4f/ea/27ed992ac5bc21791254b969d9240fc4bf3180eadeb022ade158495a28bb/hub-1.0.0-py3-none-any.whl (111kB)
|ββββββββββββββββββββββββββββββββ| 112kB 7.6MB/s
Collecting fsspec==0.8.4
Downloading https://files.pythonhosted.org/packages/a5/8b/1df260f860f17cb08698170153ef7db672c497c1840dcc8613ce26a8a005/fsspec-0.8.4-py3-none-any.whl (91kB)
|ββββββββββββββββββββββββββββββββ| 92kB 4.8MB/s
Requirement already satisfied, skipping upgrade: click<8,>=6.7 in /usr/local/lib/python3.6/dist-packages (from hub==1.0.0) (7.1.2)
Collecting gcsfs==0.6.2
Downloading https://files.pythonhosted.org/packages/ce/5c/bc61dbd2e5b61d84486a96a64ca43512c9ac085487464562182f58406290/gcsfs-0.6.2-py2.py3-none-any.whl
Collecting tqdm==4.51
Downloading https://files.pythonhosted.org/packages/93/3a/96b3dc293aa72443cf9627444c3c221a7ba34bb622e4d8bf1b5d4f2d9d08/tqdm-4.51.0-py2.py3-none-any.whl (70kB)
|ββββββββββββββββββββββββββββββββ| 71kB 5.8MB/s
Collecting zarr==2.5
Downloading https://files.pythonhosted.org/packages/22/17/37cc7afabdec7b5759d68fab0bc5afd950799a4ce2189826caf5ee087414/zarr-2.5.0-py3-none-any.whl (131kB)
|ββββββββββββββββββββββββββββββββ| 133kB 12.1MB/s
Collecting lmdb==1.0.0
Downloading https://files.pythonhosted.org/packages/63/49/3c7bead9dcea2cdc57a91bb1f83d4d28166cdf5b0d35d6b876541b3b114b/lmdb-1.0.0-cp36-cp36m-manylinux1_x86_64.whl (278kB)
|ββββββββββββββββββββββββββββββββ| 286kB 11.9MB/s
Requirement already satisfied, skipping upgrade: requests<3,>=2 in /usr/local/lib/python3.6/dist-packages (from hub==1.0.0) (2.23.0)
Collecting s3fs==0.4.2
Downloading https://files.pythonhosted.org/packages/b8/e4/b8fc59248399d2482b39340ec9be4bb2493846ac23641b43115a7e5cd675/s3fs-0.4.2-py3-none-any.whl
Collecting cachey==0.2.1
Downloading https://files.pythonhosted.org/packages/57/f0/e24f3e5d5d539abeb783087b87c26cfb99c259f1126700569e000243745a/cachey-0.2.1-py3-none-any.whl
Collecting lz4<4,>=3
Downloading https://files.pythonhosted.org/packages/dd/d5/16665849da278052c011779774a7180a7ca65e6ec7b7d3f1a150c06ba880/lz4-3.1.3-cp36-cp36m-manylinux2010_x86_64.whl (1.8MB)
|ββββββββββββββββββββββββββββββββ| 1.8MB 14.6MB/s
Collecting azure-storage-blob==12.5.0
Downloading https://files.pythonhosted.org/packages/b8/84/7e51b3e1156bcb89a20b9ec641d4fced4800aa79daac3a403898c32046be/azure_storage_blob-12.5.0-py2.py3-none-any.whl (326kB)
|ββββββββββββββββββββββββββββββββ| 327kB 50.9MB/s
Collecting outdated==0.2.0
Downloading https://files.pythonhosted.org/packages/86/70/2f166266438a30e94140f00c99c0eac1c45807981052a1d4c123660e1323/outdated-0.2.0.tar.gz
Collecting boto3==1.16.10
Downloading https://files.pythonhosted.org/packages/77/69/a6e0987f4cc6aa6519c2f3db1916aeb4891bd326ed8688319d98ff009f93/boto3-1.16.10-py2.py3-none-any.whl (129kB)
|ββββββββββββββββββββββββββββββββ| 133kB 52.4MB/s
Requirement already satisfied, skipping upgrade: numpy<2,>=1.13.0 in /usr/local/lib/python3.6/dist-packages (from hub==1.0.0) (1.19.5)
Collecting Pillow>=8.0.1
Downloading https://files.pythonhosted.org/packages/b6/c0/442d9d87e0da00bf856ef6dd4916f84a2d710b5f1a367d42d7f3c4e99a6c/Pillow-8.1.0-cp36-cp36m-manylinux1_x86_64.whl (2.2MB)
|ββββββββββββββββββββββββββββββββ| 2.2MB 45.7MB/s
Collecting pathos>=0.2.2
Downloading https://files.pythonhosted.org/packages/10/9e/0100b1d500851fc8e093da5463ca38e013c86ea0855e7c510ca0d3e1f7c1/pathos-0.2.7-py2.py3-none-any.whl (81kB)
|ββββββββββββββββββββββββββββββββ| 81kB 8.7MB/s
Collecting psutil>=5.7.3
Downloading https://files.pythonhosted.org/packages/da/82/56cd16a4c5f53e3e5dd7b2c30d5c803e124f218ebb644ca9c30bc907eadd/psutil-5.8.0-cp36-cp36m-manylinux2010_x86_64.whl (291kB)
|ββββββββββββββββββββββββββββββββ| 296kB 42.4MB/s
Requirement already satisfied, skipping upgrade: decorator in /usr/local/lib/python3.6/dist-packages (from gcsfs==0.6.2->hub==1.0.0) (4.4.2)
Requirement already satisfied, skipping upgrade: google-auth-oauthlib in /usr/local/lib/python3.6/dist-packages (from gcsfs==0.6.2->hub==1.0.0) (0.4.2)
Requirement already satisfied, skipping upgrade: google-auth>=1.2 in /usr/local/lib/python3.6/dist-packages (from gcsfs==0.6.2->hub==1.0.0) (1.17.2)
Collecting numcodecs>=0.6.4
Downloading https://files.pythonhosted.org/packages/94/dc/0b7ae820c6c5f3a8b79912ec43dd9a1305e33970a05d3c02a1e8203ead9c/numcodecs-0.7.2-cp36-cp36m-manylinux2010_x86_64.whl (5.8MB)
|ββββββββββββββββββββββββββββββββ| 5.8MB 32.8MB/s
Collecting asciitree
Downloading https://files.pythonhosted.org/packages/2d/6a/885bc91484e1aa8f618f6f0228d76d0e67000b0fdd6090673b777e311913/asciitree-0.3.3.tar.gz
Collecting fasteners
Downloading https://files.pythonhosted.org/packages/78/20/c862d765287e9e8b29f826749ebae8775bdca50b2cb2ca079346d5fbfd76/fasteners-0.16-py2.py3-none-any.whl
Requirement already satisfied, skipping upgrade: chardet<4,>=3.0.2 in /usr/local/lib/python3.6/dist-packages (from requests<3,>=2->hub==1.0.0) (3.0.4)
Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in /usr/local/lib/python3.6/dist-packages (from requests<3,>=2->hub==1.0.0) (2020.12.5)
Requirement already satisfied, skipping upgrade: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.6/dist-packages (from requests<3,>=2->hub==1.0.0) (1.24.3)
Requirement already satisfied, skipping upgrade: idna<3,>=2.5 in /usr/local/lib/python3.6/dist-packages (from requests<3,>=2->hub==1.0.0) (2.10)
Collecting botocore>=1.12.91
Downloading https://files.pythonhosted.org/packages/2f/70/35b0627ec7c38cdac30636b98549075cb6a8f3ff236a26fa204f6b509ded/botocore-1.19.57-py2.py3-none-any.whl (7.2MB)
|ββββββββββββββββββββββββββββββββ| 7.2MB 48.3MB/s
Requirement already satisfied, skipping upgrade: heapdict in /usr/local/lib/python3.6/dist-packages (from cachey==0.2.1->hub==1.0.0) (1.0.1)
Collecting msrest>=0.6.10
Downloading https://files.pythonhosted.org/packages/fa/f5/9e315fe8cb985b0ce052b34bcb767883dc739f46fadb62f05a7e6d6eedbe/msrest-0.6.19-py2.py3-none-any.whl (84kB)
|ββββββββββββββββββββββββββββββββ| 92kB 9.0MB/s
Collecting azure-core<2.0.0,>=1.6.0
Downloading https://files.pythonhosted.org/packages/12/9e/6bb67fe85f6a89d71f50c86a0da778a5064f749a485ed9ba498067034227/azure_core-1.10.0-py2.py3-none-any.whl (125kB)
|ββββββββββββββββββββββββββββββββ| 133kB 43.0MB/s
Collecting cryptography>=2.1.4
Downloading https://files.pythonhosted.org/packages/c9/de/7054df0620b5411ba45480f0261e1fb66a53f3db31b28e3aa52c026e72d9/cryptography-3.3.1-cp36-abi3-manylinux2010_x86_64.whl (2.6MB)
|ββββββββββββββββββββββββββββββββ| 2.6MB 41.0MB/s
Collecting littleutils
Downloading https://files.pythonhosted.org/packages/4e/b1/bb4e06f010947d67349f863b6a2ad71577f85590180a935f60543f622652/littleutils-0.2.2.tar.gz
Collecting jmespath<1.0.0,>=0.7.1
Downloading https://files.pythonhosted.org/packages/07/cb/5f001272b6faeb23c1c9e0acc04d48eaaf5c862c17709d20e3469c6e0139/jmespath-0.10.0-py2.py3-none-any.whl
Collecting s3transfer<0.4.0,>=0.3.0
Downloading https://files.pythonhosted.org/packages/ea/43/4b4a1b26eb03a429a4c37ca7fdf369d938bd60018fc194e94b8379b0c77c/s3transfer-0.3.4-py2.py3-none-any.whl (69kB)
|ββββββββββββββββββββββββββββββββ| 71kB 7.3MB/s
Requirement already satisfied, skipping upgrade: dill>=0.3.3 in /usr/local/lib/python3.6/dist-packages (from pathos>=0.2.2->hub==1.0.0) (0.3.3)
Collecting pox>=0.2.9
Downloading https://files.pythonhosted.org/packages/6b/06/600e1b1103336ce94cf01e63a6c7b134f0edccf59bbf99189c975e2f257e/pox-0.2.9-py2.py3-none-any.whl
Requirement already satisfied, skipping upgrade: multiprocess>=0.70.11 in /usr/local/lib/python3.6/dist-packages (from pathos>=0.2.2->hub==1.0.0) (0.70.11.1)
Collecting ppft>=1.6.6.3
Downloading https://files.pythonhosted.org/packages/51/7b/e63dcf1f9b5ecd37691ee8a7029f71ddb7cafab780a60e312d913afc0f29/ppft-1.6.6.3-py3-none-any.whl (65kB)
|ββββββββββββββββββββββββββββββββ| 71kB 7.7MB/s
Requirement already satisfied, skipping upgrade: requests-oauthlib>=0.7.0 in /usr/local/lib/python3.6/dist-packages (from google-auth-oauthlib->gcsfs==0.6.2->hub==1.0.0) (1.3.0)
Requirement already satisfied, skipping upgrade: pyasn1-modules>=0.2.1 in /usr/local/lib/python3.6/dist-packages (from google-auth>=1.2->gcsfs==0.6.2->hub==1.0.0) (0.2.8)
Requirement already satisfied, skipping upgrade: rsa<5,>=3.1.4; python_version >= "3" in /usr/local/lib/python3.6/dist-packages (from google-auth>=1.2->gcsfs==0.6.2->hub==1.0.0) (4.6)
Requirement already satisfied, skipping upgrade: setuptools>=40.3.0 in /usr/local/lib/python3.6/dist-packages (from google-auth>=1.2->gcsfs==0.6.2->hub==1.0.0) (51.1.2)
Requirement already satisfied, skipping upgrade: cachetools<5.0,>=2.0.0 in /usr/local/lib/python3.6/dist-packages (from google-auth>=1.2->gcsfs==0.6.2->hub==1.0.0) (4.2.0)
Requirement already satisfied, skipping upgrade: six>=1.9.0 in /usr/local/lib/python3.6/dist-packages (from google-auth>=1.2->gcsfs==0.6.2->hub==1.0.0) (1.15.0)
Requirement already satisfied, skipping upgrade: python-dateutil<3.0.0,>=2.1 in /usr/local/lib/python3.6/dist-packages (from botocore>=1.12.91->s3fs==0.4.2->hub==1.0.0) (2.8.1)
Collecting isodate>=0.6.0
Downloading https://files.pythonhosted.org/packages/9b/9f/b36f7774ff5ea8e428fdcfc4bb332c39ee5b9362ddd3d40d9516a55221b2/isodate-0.6.0-py2.py3-none-any.whl (45kB)
|ββββββββββββββββββββββββββββββββ| 51kB 5.4MB/s
Requirement already satisfied, skipping upgrade: cffi>=1.12 in /usr/local/lib/python3.6/dist-packages (from cryptography>=2.1.4->azure-storage-blob==12.5.0->hub==1.0.0) (1.14.4)
Requirement already satisfied, skipping upgrade: oauthlib>=3.0.0 in /usr/local/lib/python3.6/dist-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib->gcsfs==0.6.2->hub==1.0.0) (3.1.0)
Requirement already satisfied, skipping upgrade: pyasn1<0.5.0,>=0.4.6 in /usr/local/lib/python3.6/dist-packages (from pyasn1-modules>=0.2.1->google-auth>=1.2->gcsfs==0.6.2->hub==1.0.0) (0.4.8)
Requirement already satisfied, skipping upgrade: pycparser in /usr/local/lib/python3.6/dist-packages (from cffi>=1.12->cryptography>=2.1.4->azure-storage-blob==12.5.0->hub==1.0.0) (2.20)
Building wheels for collected packages: outdated, asciitree, littleutils
Building wheel for outdated (setup.py) ... done
Created wheel for outdated: filename=outdated-0.2.0-cp36-none-any.whl size=4961 sha256=6524835daffbea76d1ad61ee4ddd18d72fb7ca0d79af557f837d96e6db42a396
Stored in directory: /root/.cache/pip/wheels/fd/7c/ef/814f514d31197310872b5abf353feb8fef9d67ee658e1e7e39
Building wheel for asciitree (setup.py) ... done
Created wheel for asciitree: filename=asciitree-0.3.3-cp36-none-any.whl size=5038 sha256=15203d0ca431e27db743abf2bd6d5b543752fa0afff4003385fe9b4bad403fe9
Stored in directory: /root/.cache/pip/wheels/1d/d9/58/9808b306744df0208fccc640d3d9952a5bc7468502d42897d5
Building wheel for littleutils (setup.py) ... done
Created wheel for littleutils: filename=littleutils-0.2.2-cp36-none-any.whl size=7051 sha256=78e988e37d22599cf4c3f90f4ca51c83b4c410efda454919d548da1c65e9d4f6
Stored in directory: /root/.cache/pip/wheels/53/16/9f/ac67d15c40243754fd73f620e1b9b6dedc20492ecc19a2bae1
Successfully built outdated asciitree littleutils
ERROR: albumentations 0.1.12 has requirement imgaug<0.2.7,>=0.2.5, but you'll have imgaug 0.2.9 which is incompatible.
ERROR: botocore 1.19.57 has requirement urllib3<1.27,>=1.25.4; python_version != "3.4", but you'll have urllib3 1.24.3 which is incompatible.
Installing collected packages: fsspec, gcsfs, tqdm, numcodecs, asciitree, fasteners, zarr, lmdb, jmespath, botocore, s3fs, cachey, lz4, isodate, msrest, azure-core, cryptography, azure-storage-blob, littleutils, outdated, s3transfer, boto3, Pillow, pox, ppft, pathos, psutil, hub
Found existing installation: tqdm 4.41.1
Uninstalling tqdm-4.41.1:
Successfully uninstalled tqdm-4.41.1
Found existing installation: lmdb 0.99
Uninstalling lmdb-0.99:
Successfully uninstalled lmdb-0.99
Found existing installation: Pillow 7.0.0
Uninstalling Pillow-7.0.0:
Successfully uninstalled Pillow-7.0.0
Found existing installation: psutil 5.4.8
Uninstalling psutil-5.4.8:
Successfully uninstalled psutil-5.4.8
Successfully installed Pillow-8.1.0 asciitree-0.3.3 azure-core-1.10.0 azure-storage-blob-12.5.0 boto3-1.16.10 botocore-1.19.57 cachey-0.2.1 cryptography-3.3.1 fasteners-0.16 fsspec-0.8.4 gcsfs-0.6.2 hub-1.0.0 isodate-0.6.0 jmespath-0.10.0 littleutils-0.2.2 lmdb-1.0.0 lz4-3.1.3 msrest-0.6.19 numcodecs-0.7.2 outdated-0.2.0 pathos-0.2.7 pox-0.2.9 ppft-1.6.6.3 psutil-5.8.0 s3fs-0.4.2 s3transfer-0.3.4 tqdm-4.51.0 zarr-2.5.0
WARNING: The following packages were previously imported in this runtime:
[PIL]
You must restart the runtime in order to use newly installed versions.
βοΈ Environment
- Python 3.6.9
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Installed package won't import in notebook #2359 - GitHub
Assert that it imports as expected. Open a Jupyter notebook session: jupyter notebook. Create a new Python3 notebook and import pymc3. Failure ......
Read more >What to do when things go wrong - The Jupyter Notebook
If Jupyter gives an error that it can't find notebook , check with pip or conda that the notebook package is installed. Try...
Read more >How to fix errors occurring on installation of Jupyter Notebook
Go to your python.exe (for example, my way is C:\Users\user\AppData\Local\Programs\Python\Python37) - just for sure; python.exe python -m pip Β ...
Read more >Execute a Jupyter notebook with Airflow - Astronomer Docs
To run a DAG that executes a Jupyter notebook, you first need to create an Astro project, which contains the set of files...
Read more >jupyterhub - PyPI
With JupyterHub you can create a multi-user Hub that spawns, manages, and proxies multiple instances of the single-user Jupyter notebook server.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ahmedshahriar Iβm closing this issue but let me (or @haiyangdeperci ) know if you run into any other dependency conflicts.
@ahmedshahriar Thanks for mentioning that. Iβve fixed the docs part. Have you tried running it in colab on Python 3.8 or 3.7?