Call-for-Code / CFC-COVID-19-Video-Transcriber

The app you build in this tutorial will enable instructors to provide additional notes to students who are using video and audio tools as their primary way to learn.
Apache License 2.0
24 stars 23 forks source link

Error when installing dependencies in a new environment #1

Open pedrocruzio opened 4 years ago

pedrocruzio commented 4 years ago

After starting a fresh new project in a new environment, I get the following error:

(dev) Pedros-MacBook-Pro-3:cfc-covid-19-video-transcriber pedrocruz$ pipenv install
Creating a virtualenv for this project…
Pipfile: /Users/pedrocruz/IBM/Demos/watson-video-transcriber/live/cfc-covid-19-video-transcriber/Pipfile
Using /Users/pedrocruz/anaconda2/envs/dev/bin/python (3.5.6) to create virtualenv…
⠹ Creating virtual environment...created virtual environment CPython3.5.6.final.0-64 in 860ms
  creator CPython3Posix(dest=/Users/pedrocruz/.local/share/virtualenvs/cfc-covid-19-video-transcriber-zilx5AUw, clear=False, global=False)
  seeder FromAppData(download=False, pip=latest, setuptools=latest, wheel=latest, via=copy, app_data_dir=/Users/pedrocruz/Library/Application Support/virtualenv/seed-app-data/v1.0.1)
  activators XonshActivator,PowerShellActivator,FishActivator,CShellActivator,BashActivator,PythonActivator

✔ Successfully created virtual environment! 
Virtualenv location: /Users/pedrocruz/.local/share/virtualenvs/cfc-covid-19-video-transcriber-zilx5AUw
Installing dependencies from Pipfile.lock (a33470)…
An error occurred while installing flask-mqtt==1.1.0 --hash=sha256:d196c4a7a1fc37a4364e8fe46b3670cc656a851c5b63d69e2836c80e03da88f1! Will try again.
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 41/41 — 00:00:17
Installing initially failed dependencies…
[pipenv.exceptions.InstallError]:   File "/Users/pedrocruz/anaconda2/envs/dev/lib/python3.5/site-packages/pipenv/core.py", line 1874, in do_install
[pipenv.exceptions.InstallError]:       keep_outdated=keep_outdated
[pipenv.exceptions.InstallError]:   File "/Users/pedrocruz/anaconda2/envs/dev/lib/python3.5/site-packages/pipenv/core.py", line 1253, in do_init
[pipenv.exceptions.InstallError]:       pypi_mirror=pypi_mirror,
[pipenv.exceptions.InstallError]:   File "/Users/pedrocruz/anaconda2/envs/dev/lib/python3.5/site-packages/pipenv/core.py", line 859, in do_install_dependencies
[pipenv.exceptions.InstallError]:       retry_list, procs, failed_deps_queue, requirements_dir, **install_kwargs
[pipenv.exceptions.InstallError]:   File "/Users/pedrocruz/anaconda2/envs/dev/lib/python3.5/site-packages/pipenv/core.py", line 763, in batch_install
[pipenv.exceptions.InstallError]:       _cleanup_procs(procs, not blocking, failed_deps_queue, retry=retry)
[pipenv.exceptions.InstallError]:   File "/Users/pedrocruz/anaconda2/envs/dev/lib/python3.5/site-packages/pipenv/core.py", line 681, in _cleanup_procs
[pipenv.exceptions.InstallError]:       raise exceptions.InstallError(c.dep.name, extra=err_lines)
[pipenv.exceptions.InstallError]: []
[pipenv.exceptions.InstallError]: ['ERROR: Could not find a version that satisfies the requirement flask-mqtt==1.1.0 (from -r /var/folders/5y/gzfxzq5d7jv9m04hn97cjlpw0000gn/T/pipenv-h9p8omvl-requirements/pipenv-tke4cj75-requirement.txt (line 1)) (from versions: 0.0.1.macosx-10.12-x86_64, 0.0.2.macosx-10.12-x86_64, 0.0.3.macosx-10.12-x86_64, 0.0.4.linux-x86_64, 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.0.10, 0.0.11, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7)', 'ERROR: No matching distribution found for flask-mqtt==1.1.0 (from -r /var/folders/5y/gzfxzq5d7jv9m04hn97cjlpw0000gn/T/pipenv-h9p8omvl-requirements/pipenv-tke4cj75-requirement.txt (line 1))']
ERROR: ERROR: Package installation failed...
DanCunnington commented 4 years ago

I've updated the pipfile to pull the latest version of flask-mqtt, could you try pulling again?