Skip to content

Help please. Can't install picframe on Dietpi #322

Answered by helgeerbe
jlederma asked this question in Q&A
Discussion options

You must be logged in to vote

OK. So it seems, that you have installed picframe not as root.

But you try to run it over the xinit process as root. This will not work. You have to decide, if you want to run it as local user or everything as root.

To run it as root is simple:

run: python3 -m pip uninstall picframe - to delete picframe. If you have installed the other dependencies also not as root. Delete them as well.
Then run: sudo python3 -m pip install picframe --no-deps

Hope that sudo xinit /usr/bin/python3.9 /home/myusername/picframe_data/run_start.py /home/myusername/picframe_data/config/configuration.yamlwill work then.

Replies: 19 comments 29 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@jlederma
Comment options

@jlederma
Comment options

@helgeerbe
Comment options

@bigcat88
Comment options

@bigcat88
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jlederma
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@bigcat88
Comment options

Comment options

You must be logged in to vote
7 replies
@jlederma
Comment options

@bigcat88
Comment options

@jlederma
Comment options

@ravado
Comment options

@bigcat88
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@jlederma
Comment options

@helgeerbe
Comment options

@helgeerbe
Comment options

@jlederma
Comment options

@jlederma
Comment options

Comment options

You must be logged in to vote
1 reply
@helgeerbe
Comment options

Comment options

You must be logged in to vote
4 replies
@helgeerbe
Comment options

@jlederma
Comment options

@helgeerbe
Comment options

Answer selected by jlederma
@helgeerbe
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@helgeerbe
Comment options

@ravado
Comment options

@jlederma
Comment options

@helgeerbe
Comment options

@jlederma
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants