rsalmei / alive-progress

A new kind of Progress Bar, with real-time throughput, ETA, and very cool animations!
MIT License
5.53k stars 206 forks source link

pip install alive-progress #223

Closed ghost closed 1 year ago

ghost commented 1 year ago

The command pip install alive-progress does not work. It says that the module about-time was not found. Do I need to install the about-time module separately or should it be included with the alive-progress download?

rsalmei commented 1 year ago

What makes you say it doesn't work? It does work, here it is on a new venv:

❯ pyenv virtualenv 3.10.2 new
❯ pyenv shell new
❯ pip install alive-progress
Collecting alive-progress
  Downloading alive_progress-3.0.1-py3-none-any.whl (72 kB)
     |████████████████████████████████| 72 kB 4.3 MB/s
Collecting grapheme==0.6.0
  Using cached grapheme-0.6.0-py3-none-any.whl
Collecting about-time==4.2.1
  Using cached about_time-4.2.1-py3-none-any.whl (13 kB)
Installing collected packages: grapheme, about-time, alive-progress
Successfully installed about-time-4.2.1 alive-progress-3.0.1 grapheme-0.6.0
WARNING: You are using pip version 21.2.4; however, version 23.0 is available.
You should consider upgrading via the '/Users/rogerio/.pyenv/versions/3.10.2/envs/new/bin/python3.10 -m pip install --upgrade pip' command.

Let me see your output, and perhaps I can help you.

rsalmei commented 1 year ago

I've removed them all, updated pip, and tried without the cache: it does work again.

❯ pip list
Package    Version
---------- -------
pip        23.0
setuptools 58.1.0
wheel      0.38.4
❯ pip install --no-cache-dir alive-progress
Collecting alive-progress
  Downloading alive_progress-3.0.1-py3-none-any.whl (72 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 73.0/73.0 kB 7.1 MB/s eta 0:00:00
Collecting grapheme==0.6.0
  Downloading grapheme-0.6.0.tar.gz (207 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 207.3/207.3 kB 18.9 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting about-time==4.2.1
  Downloading about_time-4.2.1-py3-none-any.whl (13 kB)
Building wheels for collected packages: grapheme
  Building wheel for grapheme (setup.py) ... done
  Created wheel for grapheme: filename=grapheme-0.6.0-py3-none-any.whl size=210096 sha256=1e7d2246240a6ccf98c5a46538ca22772ad3454f07fd9c5b1586c4ba6d6cc0a6
  Stored in directory: /private/var/folders/l4/gnzh6bbs0kxfpxcf1vdqrjkh0000gn/T/pip-ephem-wheel-cache-avks1t5h/wheels/01/e1/49/37e6bde9886439057450c494a79b0bef8bbe897a54aebfc757
Successfully built grapheme
Installing collected packages: grapheme, about-time, alive-progress
Successfully installed about-time-4.2.1 alive-progress-3.0.1 grapheme-0.6.0
rsalmei commented 1 year ago

Ok, I'm closing this one. Let me know if anything new arises.