monapi
Posts: 45
Joined: Tue Aug 07, 2018 7:53 am

error in developing picroft image

Sun Sep 02, 2018 11:23 am

hi
i try to turn to develop my picroft image on rasbian stretch OS. and after i do it according to the tutorial i see this error every time i open the terminal.my python works fine but i see this error.
the error is :
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'
i try
export PYTHONPATH='/path/to/pythondir:/path/to/pythondir/lib-dynload:/path/to/pythondir/site-packages'
export PYTHONHOME='/path/to/pythondir'
but it didn't work.
what should i do?

DirkS
Posts: 10363
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: error in developing picroft image

Sun Sep 02, 2018 11:33 am

monapi wrote:
Sun Sep 02, 2018 11:23 am
hi
i try to turn to develop my picroft image on rasbian stretch OS. and after i do it according to the tutorial i see this error every time i open the terminal.my python works fine but i see this error.
Which tutorial?

User avatar
B.Goode
Posts: 10356
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: error in developing picroft image

Sun Sep 02, 2018 11:51 am

Is this something involving Mycroft? https://mycroft.ai/blog/mycroft-now-ava ... -pi-image/

If so, perhaps the developer/maintainer of that OS distribution would be the best source of knowledgeable advice - https://mycroft.ai/contact/

Quoting from that link:
The goal of our team is to engage users with a quality AI platform built on open standards. We’d love to hear about your experiences and are happy to answer any questions.

Please do contact us if you would like to build upon Mycroft to create new capabilities, or if you are considering integrating our software into your products and services.

Drop us a note and we’ll be sure to get back to you promptly!

Return to “Troubleshooting”