hi @yogisin42 have you got yours working on your Pi?
I just received my new Pi4 and I followed everything @marvin mentioned, and all dependencies have been installed successfully, it’s the last step
curl -s https://course.fast.ai/setup/colab | bash
it throws error:
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-0tqdx4c8/spacy/
so I run
sudo pip install fastai
to see more details and found this:
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting fastai
Using cached https://files.pythonhosted.org/packages/f5/e4/a7025bf28f303dbda0f862c09a7f957476fa92c9271643b4061a81bb595f/fastai-1.0.60-py3-none-any.whl
Collecting packaging (from fastai)
Using cached https://files.pythonhosted.org/packages/98/42/87c585dd3b113c775e65fd6b8d9d0a43abe1819c471d7af702d4e01e9b20/packaging-20.1-py2.py3-none-any.whl
Collecting nvidia-ml-py3 (from fastai)
Using cached https://www.piwheels.org/simple/nvidia-ml-py3/nvidia_ml_py3-7.352.0-py3-none-any.whl
Requirement already satisfied: pyyaml in /usr/lib/python3/dist-packages (from fastai) (3.13)
Requirement already satisfied: matplotlib in /usr/lib/python3/dist-packages (from fastai) (3.0.2)
Requirement already satisfied: Pillow in /usr/lib/python3/dist-packages (from fastai) (5.4.1)
Requirement already satisfied: scipy in /usr/local/lib/python3.7/dist-packages (from fastai) (1.4.1)
Requirement already satisfied: pandas in /usr/local/lib/python3.7/dist-packages (from fastai) (0.25.3)
Requirement already satisfied: torchvision in /usr/local/lib/python3.7/dist-packages/torchvision-0.6.0a0+bb5af1d-py3.7-linux-armv7l.egg (from fastai) (0.6.0a0+bb5af1d)
Requirement already satisfied: beautifulsoup4 in /usr/lib/python3/dist-packages (from fastai) (4.7.1)
Requirement already satisfied: numpy>=1.15 in /usr/local/lib/python3.7/dist-packages (from fastai) (1.18.1)
Requirement already satisfied: torch>=1.0.0 in /usr/local/lib/python3.7/dist-packages (from fastai) (1.3.0a0+ee77ccb)
Collecting fastprogress>=0.2.1 (from fastai)
Using cached https://files.pythonhosted.org/packages/41/67/347d73405b8612e436a4278f577186a8b783fe757df549ba1a82a2986727/fastprogress-0.2.2-py3-none-any.whl
Collecting bottleneck (from fastai)
Using cached https://www.piwheels.org/simple/bottleneck/Bottleneck-1.3.1-cp37-cp37m-linux_armv7l.whl
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from fastai) (2.21.0)
Collecting numexpr (from fastai)
Using cached https://www.piwheels.org/simple/numexpr/numexpr-2.7.1-cp37-cp37m-linux_armv7l.whl
Collecting spacy>=2.0.18 (from fastai)
Using cached https://files.pythonhosted.org/packages/b7/f2/052bfe5861761599b5421916aba3eb0064d83145ff3072390ecdc5a836de/spacy-2.2.3.tar.gz
Installing build dependencies ... done
Complete output from command python setup.py egg_info:
Failed building wheel for blis
ERROR: Failed to build one or more wheels
Traceback (most recent call last):
File "/tmp/pip-build-env-hqcbe4dr/lib/python3.7/site-packages/setuptools/installer.py", line 128, in fetch_build_egg
subprocess.check_call(cmd)
File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmp50x62zwq', '--quiet', 'blis<0.5.0,>=0.4.0']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-0d91mofz/spacy/setup.py", line 200, in <module>
setup_package()
File "/tmp/pip-install-0d91mofz/spacy/setup.py", line 195, in setup_package
cmdclass={"build_ext": build_ext_subclass},
File "/tmp/pip-build-env-hqcbe4dr/lib/python3.7/site-packages/setuptools/__init__.py", line 144, in setup
_install_setup_requires(attrs)
File "/tmp/pip-build-env-hqcbe4dr/lib/python3.7/site-packages/setuptools/__init__.py", line 139, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/tmp/pip-build-env-hqcbe4dr/lib/python3.7/site-packages/setuptools/dist.py", line 721, in fetch_build_eggs
replace_conflicting=True,
File "/tmp/pip-build-env-hqcbe4dr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 783, in resolve
replace_conflicting=replace_conflicting
File "/tmp/pip-build-env-hqcbe4dr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1066, in best_match
return self.obtain(req, installer)
File "/tmp/pip-build-env-hqcbe4dr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1078, in obtain
return installer(requirement)
File "/tmp/pip-build-env-hqcbe4dr/lib/python3.7/site-packages/setuptools/dist.py", line 777, in fetch_build_egg
return fetch_build_egg(self, req)
File "/tmp/pip-build-env-hqcbe4dr/lib/python3.7/site-packages/setuptools/installer.py", line 130, in fetch_build_egg
raise DistutilsError(str(e))
distutils.errors.DistutilsError: Command '['/usr/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmp50x62zwq', '--quiet', 'blis<0.5.0,>=0.4.0']' returned non-zero exit status 1.
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-0d91mofz/spacy/
Could you help please.