F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
|
This section will add some known hints to trouble-shooting with the installation of F´. This will hopefully help users install things more effectively.
Some of the F´ Python packages are built in a way that it is recommended to install them with modern versions of PIP. Systems not recommended or pip versions less than recommended will require Java and run slower versions of FPP tools. The recommended versions are described below:
System | Recommended pip version |
---|---|
macOS (10.9+) | >= 21.0.1 |
x86_64 | >= 19.3 |
aarch64 | >= 20.3 |
There are at least three common reasons for this error.
. fprime-venv/bin/activate ```
/folderA/MyProject
and moved to /someOtherFolder/MyProject
), various files in the original fprime-venv
folder will contain references to the original path. The easiest resolution is to remove and reprovision the virtual environment with the following: ```sh rm -rf fprime-venv python -m venv fprime-venv . fprime-venv/bin/activate pip install -r fprime/requirements.txt ```
> Some projects ship their own requirements.txt
. Install using that file if it exists.
$HOME/.local/bin
as a place to install user tools. Users running without virtual environments should add this directory to the path.This error can occur when the helper-script, (fprime/cmake/autocoder/fpp-wrapper/fpp-redirect-helper
) loses its execution permission.
To verify that this is the case, change to the directory containing fpp-redirect-helper
and verify that it is executable.
If it is not executable, add the permission back.
chmod 700 fpp-redirect-helper
Ubuntu and possibly other Debian variants don’t include the pip packages in the default Python 3 installation. To get fully functional, use these commands on Ubuntu and Debian based systems:
Now you should be able to run the installation without trouble.
If the user chooses to install CMake directly from the CMake site (not using homebrew nor Mac Ports), then the CMake command-line tools must be added to the user’s PATH or default system libraries. The quickest command to do that is:
More information can be found here.
This fix will not work for Python installed via Homebrew. Try installing Python published at python.org. The version of openSSL bundled with Python 3.8+ requires access to macOS’s root certificates. If the following error is encountered while installing fprime:
Then run the following command in a macOS terminal to install necessary certificates:
After running above command, re-try installing fprime-bootstrap
.