This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF Connect 3.2.0 Getting Started Assistant - Cannot install required Python 3 Modules

I am going through the latest version of the Getting Started Assistant on an x64 Ubuntu 18 machine, using the v.1.0.0 tagged SDK release. When I reach the step "The nRF Connect SDK Zephyr repository contains a list of required Python modules. Install these modules by entering the following command:", pip3 fails to find a valid distribution for the hub module:

pip3 install -r zephyr/scripts/requirements.txt
Ignoring windows-curses: markers 'sys_platform == "win32"' don't match your environment
Collecting wheel==0.30.0 (from -r zephyr/scripts/requirements.txt (line 1))
Using cached files.pythonhosted.org/.../wheel-0.30.0-py2.py3-none-any.whl
Collecting breathe==4.9.1 (from -r zephyr/scripts/requirements.txt (line 2))
Using cached files.pythonhosted.org/.../breathe-4.9.1-py2.py3-none-any.whl
Collecting sphinx==1.7.5 (from -r zephyr/scripts/requirements.txt (line 3))
Using cached files.pythonhosted.org/.../Sphinx-1.7.5-py2.py3-none-any.whl
Collecting docutils==0.14 (from -r zephyr/scripts/requirements.txt (line 4))
Using cached files.pythonhosted.org/.../docutils-0.14-py3-none-any.whl
Collecting sphinx_rtd_theme (from -r zephyr/scripts/requirements.txt (line 5))
Using cached files.pythonhosted.org/.../sphinx_rtd_theme-0.4.3-py2.py3-none-any.whl
Collecting sphinxcontrib-svg2pdfconverter (from -r zephyr/scripts/requirements.txt (line 6))
Using cached files.pythonhosted.org/.../sphinxcontrib_svg2pdfconverter-0.1.0-py3-none-any.whl
Collecting junit2html (from -r zephyr/scripts/requirements.txt (line 7))
Collecting PyYAML>=3.13 (from -r zephyr/scripts/requirements.txt (line 8))
Collecting ply==3.10 (from -r zephyr/scripts/requirements.txt (line 9))
Collecting hub==2.0 (from -r zephyr/scripts/requirements.txt (line 10))
Could not find a version that satisfies the requirement hub==2.0 (from -r zephyr/scripts/requirements.txt (line 10)) (from versions: 0.0.1, 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.2, 0.2.0.1, 0.2.0.3, 0.2.0.4)
No matching distribution found for hub==2.0 (from -r zephyr/scripts/requirements.txt (line 10))

I am unsure how to proceed from here - PyPi lists the latest release of the hub module as being 0.2.0.4, so I do not know how to get hub 2.0. Any help would be appreciated.

Thanks,

Josh

Related