Did you actually check your Python version by doing the command it states? What output does it give?Hi, thanks for a good guide!
Im having a problem on the last step, did I do something wrong?
Traceback (most recent call last):
File "/home/pi/bot/instabot.py/followbot.py", line 6, in <module>
from src import InstaBot
File "/home/pi/bot/instabot.py/src/__init__.py", line 1, in <module>
from .instabot import InstaBot
File "/home/pi/bot/instabot.py/src/instabot.py", line 35
python_version_test = f"If you are reading this error, you are not running Python 3.6 or greater. Check 'python --version' or 'python3 --version'."
^
SyntaxError: invalid syntax
Did you actually check your Python version by doing the command it states? What output does it give?
You could try it with python3 instead of python. May be an update that forces python3(?) Haven't verified this.Oo thanks for so quick response, no i dident check my Python version. The last command i did was:
sudo python /home/pi/bot/instabot.py/followbot.py
python /home/pi/bot/instabot.py/followbot.py
You could try it with python3 instead of python. May be an update that forces python3(?) Haven't verified this.
Try running the following:I've done that as well :/
sudo python3 /home/pi/bot/instabot.py/followbot.py
python3 /home/pi/bot/instabot.py/followbot.py
sudo add-apt-repository ppa:jonathonf/python-3.6
sudo apt-get update
sudo apt-get install python3.6
Try running the following:
Code:sudo add-apt-repository ppa:jonathonf/python-3.6 sudo apt-get update sudo apt-get install python3.6
sudo apt-get install python3
What does it say when you write:
Code:sudo apt-get install python3
Try this guide:No i didn't, But i did a new one now and the same problem appeared:
python_version_test = f"If you are reading this error, you are not running Python 3.6 or greater. Check 'python --version' or 'python3 --version'."
^
SyntaxError: invalid syntax