populate.py problem

70 views
Skip to first unread message

Roma Mugleston

unread,
Oct 15, 2020, 7:59:55 PM10/15/20
to Jasper Support Forum
I try to put in python populate.py but, it says:

 Traceback (most recent call last):
file "populate.py", line 7, in <module>
import feedparser
File "/home/pi/.loval/lib/python2.7/site-packages/feedparser/__init__.py", line 31, in <module>
from .api import parse
File "/home/pi/.loval/lib/python2.7/site-packages/feedparser/api.py", line 56, in <module>
from . import http
File "/home/pi/.loval/lib/python2.7/site-packages/feedparser/http.py", line 156
new_pieces[1] = f'{url_pieces.hostname}:{url_pieces.port}'
                                                                                                     ^
SyntaxError: invalid syntax

Can somebody help me with this, I have no idea what to do?

Roma Mugleston

unread,
Oct 16, 2020, 10:34:40 AM10/16/20
to Jasper Support Forum
I am trying to make a voice recognition A.I. like Alexa. Mycroft does not work with my version of the raspberry pi.

Roma Mugleston

unread,
Oct 19, 2020, 8:46:16 PM10/19/20
to Jasper Support Forum
I found out what the problem was
Reply all
Reply to author
Forward
0 new messages