Quantcast
Channel: Support - Pimoroni Buccaneers
Viewing all articles
Browse latest Browse all 6853

Pan Tilt HAT Issues

$
0
0

@major_tomm wrote:

Just tried to install my Pan Tilt HAT using the one liner, the library installs fine, but none of the examples appear where they should.

Here's the output from my terminal if that helps.

Looking at it, it seems to have failed to create the folder, do I need to run it as sudo?

This script will install everything needed to use
the Pimoroni Pan-Tilt HAT

Always be careful when running scripts and commands
copied from the internet. Ensure they are from a
trusted source.

If you want to see what this script does before
running it, you should run:
\curl -sS https://get.pimoroni.com/pantilthat

Note: Pan-Tilt HAT requires I2C communication

Do you wish to continue? [y/N] y

Checking environment...
Updating apt indexes...
.........
Reading package lists...
.........

Checking hardware requirements...

I2C already enabled

Checking packages required by I2C interface...
smbus installed and up-to-date


Pan-Tilt HAT comes with examples and documentation that you may wish to install.
Performing a full install will ensure those resources are installed,
along with all required dependencies. It may however take a while!

Do you wish to perform a full install? [y/N] y
mkdir: cannot create directory ‘/home/pi/Pimoroni/pantilthat’: Permission denied
Checking install requirements...

Checking for dependencies...

Installing python-pantilthat_0.0.1_all.deb...
dpkg: error processing archive /tmp/pimoroni.bw2KMu/python-pantilthat_0.0.1_all.deb (--install):
 cannot access archive: No such file or directory
Errors were encountered while processing:
 /tmp/pimoroni.bw2KMu/python-pantilthat_0.0.1_all.deb

python-pantilthat_0.0.1_all.deb is required
Installing python3-pantilthat_0.0.1_all.deb...
dpkg: error processing archive /tmp/pimoroni.DOcDMN/python3-pantilthat_0.0.1_all.deb (--install):
 cannot access archive: No such file or directory
Errors were encountered while processing:
 /tmp/pimoroni.DOcDMN/python3-pantilthat_0.0.1_all.deb

python3-pantilthat_0.0.1_all.deb is required

Installing Pan-Tilt HAT library for Python 2...

Requirement already up-to-date: pantilthat in /usr/local/lib/python2.7/dist-packages
Cleaning up...

Installing Pan-Tilt HAT library for Python 3...

Requirement already up-to-date: pantilthat in /usr/local/lib/python3.4/dist-packages
Cleaning up...

Checking for additional software...


Downloading examples and documentation...

Cloning into 'pantilt-hat'...
remote: Counting objects: 49, done.
remote: Compressing objects: 100% (40/40), done.
remote: Total 49 (delta 4), reused 35 (delta 2), pack-reused 0
Unpacking objects: 100% (49/49), done.
Checking connectivity... done.
bash: line 897: cd: /home/pi/Pimoroni/pantilthat: No such file or directory

Resources for your Pan-Tilt HAT were copied to
/home/pi/Pimoroni/pantilthat

All done!

Enjoy your Pan-Tilt HAT!

Posts: 6

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6853

Trending Articles