OnionIoT / Onion-Docs

Documentation for all things Onion
https://docs.onion.io
GNU General Public License v3.0
112 stars 65 forks source link

Error while installing pip library #88

Open Aksthakor opened 2 years ago

Aksthakor commented 2 years ago

Hello, am getting this error while installing the pip library for running octoprint on the Omega board, any ideas how to resolve it referring the setup link: https://docs.onion.io/omega2-project-book-vol1/octoprint-server.html

root@Omega-AT:~/OctoPrint-1.0.0# root@Omega-AT:~/OctoPrint-1.0.0# pip install -r requirements.txt WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip. Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue. To avoid this problem you can invoke Python with '-m pip' instead of running pip directly. DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. Collecting flask==0.9 Using cached Flask-0.9.tar.gz (481 kB) ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. root@Omega-AT:~/OctoPrint-1.0.0# root@Omega-AT:~/OctoPrint-1.0.0#