This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Failed to build pypilot in tinycore (tinypilot)
#1
Hi,

I tried to build the latest version of pypilot in tinypilot.

I followed the steps in the workbook described in step 11 (updating pypilot) starting with the tinypilotimage from 27. Oct. 2020

When running pypilot.build I got the following messages (faults in red):

checking for RTIMULIB2...done
checking for serial...done
checking for numpy...done
checking for scipy...done
checking for libpython3-dev...libpython3-dev not found
sudo: apt: command not found
failed to install libpython3-dev
checking for swig...swig not found
sudo: apt: command not found
failed to install swig
checking for ujson...done
checking for pyudev...done
checking for zeroconf...done
checking for requests...done
checking for websocket...done
checking for pil...done
checking for wiringpi...wiringpi not found
sudo: apt: command not found
failed to install wiringpi
checking for flask...done
checking for gevent-websocket...done
checking for python-socketio...done
checking for flask-socketio...flask-socketio not found
sudo: apt: command not found
failed to install via apt, trying with pip flask-socketio
Collecting flask-socketio==5
  Could not fetch URL https://pypi.python.org/simple/flask-socketio/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749) - skipping
  Could not find a version that satisfies the requirement flask-socketio==5 (from versions: )
No matching distribution found for flask-socketio==5
failed to install dependency
failed to install flask-socketio
checking for flask-babel...failed to import flask-babel
flask-babel not found
sudo: apt: command not found
failed to install via apt, trying with pip flask-babel
Collecting flask-babel
  Could not fetch URL https://pypi.python.org/simple/flask-babel/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749) - skipping
  Could not find a version that satisfies the requirement flask-babel (from versions: )
No matching distribution found for flask-babel
failed to install dependency
failed to install flask-babel
checking for python3-wxgtk4.0...python3-wxgtk4.0 not found
sudo: apt: command not found
failed to install python3-wxgtk4.0
checking for opengl...failed to import opengl
opengl not found
sudo: apt: command not found
failed to install via apt, trying with pip opengl
Collecting opengl
  Could not fetch URL https://pypi.python.org/simple/opengl/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749) - skipping
  Could not find a version that satisfies the requirement opengl (from versions: )
No matching distribution found for opengl
failed to install dependency
failed to install opengl
checking for pyglet...failed to import pyglet
pyglet not found
sudo: apt: command not found
failed to install via apt, trying with pip pyglet
Collecting pyglet
  Could not fetch URL https://pypi.python.org/simple/pyglet/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749) - skipping
  Could not find a version that satisfies the requirement pyglet (from versions: )
No matching distribution found for pyglet
failed to install dependency
failed to install pyglet
checking for pywavefront...failed to import pywavefront
pywavefront not found
sudo: apt: command not found
failed to install via apt, trying with pip pywavefront
Collecting pywavefront
  Could not fetch URL https://pypi.python.org/simple/pywavefront/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749) - skipping
  Could not find a version that satisfies the requirement pywavefront (from versions: )
No matching distribution found for pywavefront
failed to install dependency
failed to install pywavefront
checking for data...done


summary of pypilot dependencies
autopilot core autopilot or imu-only mode:failed to install swig
optimize (recommended) core autopilot operations:SUCCESS
signalk communicate with signalk-node-server distributed with openploter:SUCCESS
hat SPI lcd keypad, and remote control interface:failed to install wiringpi
web web browser control:failed to install flask-babel
python_gui python scripts for control and configuration:failed to install pywavefront
data data files used by various pypilot components:SUCCESS


running build....

then I got the messages from building it with some warnings and some messages like that:
tc@box:~/pypilot-update/pypilot$ sudo: apt: command not found
-sh: sudo:: not found
tc@box:~/pypilot-update/pypilot$ failed to install python3-wxgtk4.0
-sh: failed: not found
tc@box:~/pypilot-update/pypilot$ checking for opengl...failed to import opengl
-sh: checking: not found
tc@box:~/pypilot-update/pypilot$ opengl not found
-sh: opengl: not found
tc@box:~/pypilot-update/pypilot$ sudo: apt: command not found
-sh: sudo:: not found
tc@box:~/pypilot-update/pypilot$ failed to install via apt, trying with pip open
gl
-sh: failed: not found
tc@box:~/pypilot-update/pypilot$ Collecting opengl
-sh: Collecting: not found
tc@box:~/pypilot-update/pypilot$   Could not fetch URL https://pypi.python.org/s
imple/opengl/: There was a problem confirming the ssl certificate: [SSL: CERTIFI
CATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749) - skipping


When using the "old" version and build it there are also some warnings during compilation but no faults like above. At the End all works fine.

It seems that some needed packages in tinycorelinux are missing?
Before I waste time, there is another trick or is it correct to assume that the missing packages have to be installed.
Other suggestions?

I tried to build it in tinycore cause I want to test the latest changes like tacking etc. When just using and updating the specific files for tacking etc. it´s possible to build it with the "old" pypilot.build file but then I got a non working version of pypilot (no connection to OC etc.). I got problems like described in this thread: Webapp - No connection (newest op image)
and so I decided to try to build a new version in tinycore.

Thanks and best regards

Andreas
Reply


Messages In This Thread
Failed to build pypilot in tinycore (tinypilot) - by Andreas29 - 2021-07-27, 11:20 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)