Fedora Linux Support Community & Resources Center
  #1  
Old 17th May 2017, 01:15 PM
phh Offline
Registered User
 
Join Date: Oct 2009
Location: Mafikeng, South Africa
Posts: 38
linuxchrome
Mycroft Assistant

In the absence of Google Now for the desktop I am wanting to test Mycroft personal assistant.

Have installed Mycroft-core and Mycroft Gnome extension.

When trying to start Mycroft I get this error:

import psutil
ImportError: No module named psutil



When I try to install psutil I get this error:

gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory
error: command 'gcc' failed with exit status 1


Any one able to help me with this?
__________________
Fedora 25
64-bit Gnome
HP Elitebook 850 4th Gen
Intel® Core™ i7
Reply With Quote
  #2  
Old 18th May 2017, 08:39 AM
tryfedoraa Offline
Registered User
 
Join Date: May 2017
Location: www
Posts: 48
windows_98_nt_2000mozilla
Re: Mycroft Assistant

@phh try

install `redhat-rpm-config`
$ sudo dnf install redhat-rpm-config
Reply With Quote
  #3  
Old 18th May 2017, 09:33 AM
phh Offline
Registered User
 
Join Date: Oct 2009
Location: Mafikeng, South Africa
Posts: 38
linuxchrome
Re: Mycroft Assistant

@tryfedoraa

Thank you.

Done as you suggested. Made some progress thereafter, still had to install some additional modules.

Now I get this error when starting Mycroft:

from websocket import WebSocketApp
ImportError: cannot import name WebSocketApp


Thank you for your interest in this Mycroft issue.
__________________
Fedora 25
64-bit Gnome
HP Elitebook 850 4th Gen
Intel® Core™ i7
Reply With Quote
  #4  
Old 18th May 2017, 11:15 AM
tryfedoraa Offline
Registered User
 
Join Date: May 2017
Location: www
Posts: 48
windows_98_nt_2000mozilla
Re: Mycroft Assistant

@phh no problem

which version of websocket?
Reply With Quote
  #5  
Old 18th May 2017, 11:30 AM
phh Offline
Registered User
 
Join Date: Oct 2009
Location: Mafikeng, South Africa
Posts: 38
linuxchrome
Re: Mycroft Assistant

@fedoraa

I'm sorry, I have no idea what version is needed.

Here is the full error message:

./mycroft.sh start
Mycroft service started
mycroft-skills failed to start. The log is below:

from websocket import WebSocketApp
ImportError: cannot import name WebSocketApp
Starting skills
/home/pheine/Mycroft-core/start.sh: line 27: /root/.virtualenvs/mycroft/bin/activate: No such file or directory
Traceback (most recent call last):
File "/home/pheine/Mycroft-core/mycroft/skills/main.py", line 31, in <module>
from mycroft.messagebus.client.ws import WebsocketClient
File "/home/pheine/Mycroft-core/mycroft/messagebus/client/ws.py", line 24, in <module>
from websocket import WebSocketApp
ImportError: cannot import name WebSocketApp
__________________
Fedora 25
64-bit Gnome
HP Elitebook 850 4th Gen
Intel® Core™ i7
Reply With Quote
Reply

Tags
assistant, mycroft

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Evolution Setup Assistant robertdaleweir Using Fedora 4 17th April 2012 07:05 PM
Disable Evolution first-run assistant drunkahol Using Fedora 0 10th January 2011 02:57 PM
in search of imgration-assistant tomabroad Using Fedora 4 16th April 2010 04:08 PM
k9copy assistant killed heliopaixao Using Fedora 4 16th March 2010 08:31 PM
harmony assistant Wiles Using Fedora 1 7th March 2007 03:03 AM


Current GMT-time: 14:09 (Thursday, 29-06-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat