alexa-pi / AlexaPi

Alexa client for all your devices! # No active development. PRs welcome # consider https://github.com/respeaker/avs instead
MIT License
1.33k stars 396 forks source link

Installing on Ubuntu desktop #481

Open ayyaya opened 5 years ago

ayyaya commented 5 years ago

Hello! I am trying to install AlexaPi on an Ubuntu 16.04 desktop. I did EXACTLY how the installation guide told me but however it wouldn't work. I tried it several times now, I always get the same error.

What am I doing wrong? Also if i take a look into the logs i can see an entry which says "import coloredlogs" and the next log is "ImportError: no module named coloredlogs"

me@myPC:/opt$ sudo ./AlexaPi/src/scripts/setup.sh TIP: When there is a value in brackets like [default_value], hit Enter to use it.

Which operating system are you using? debian - Debian, Raspbian, Armbian, Ubuntu or other Debian-based archlinux - Arch Linux or Arch Linux-based Your OS [debian]: Which device are you using? chip - C.H.I.P. hyperion - Integrate with Hyperion Ambient Lightning Software magicmirror - Integrating with Magic Mirror project (MMM-AlexaPi) orangepi - Orange Pi or another H3 based board other - other SBCs, desktops, or anything else raspberrypi - all Raspberry Pi variants serial - an Arduino controled device for example; used for Teddy Ruxpin Your device [raspberrypi]: other Do you want AlexaPi to run on boot? You have these options: 0 - NO 1 - yes, use systemd (default, RECOMMENDED and awesome) 2 - yes, use a classic init script (for a very old PC or an embedded system) Which option do you prefer? [1]: Creating a user to run AlexaPi under ... user already exists. That's cool - using that. gpio:x:5061:alexapi audio:x:29:pulse,alexapi Would you like to also install Airplay support (Y/n)? n Hit:1 http://archive.canonical.com/ubuntu xenial InRelease Hit:2 http://de.archive.ubuntu.com/ubuntu xenial InRelease
Hit:3 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu xenial InRelease
Hit:4 http://de.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:5 http://de.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:6 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial InRelease
Get:7 https://desktop-download.mendeley.com/download/apt stable InRelease [2.456 B] Get:8 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Get:9 http://packages.ros.org/ros/ubuntu xenial InRelease [4.678 B]
Err:9 http://packages.ros.org/ros/ubuntu xenial InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F42ED6FBAB17C654 Fetched 116 kB in 0s (159 kB/s) Reading package lists... Done W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://packages.ros.org/ros/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F42ED6FBAB17C654 W: Failed to fetch http://packages.ros.org/ros/ubuntu/dists/xenial/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F42ED6FBAB17C654 W: Some index files failed to download. They have been ignored, or old ones used instead. Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package vlc-bin E: Unable to locate package vlc-plugin-base