Greetings all! I’m making my way through the setup guides, and am stuck at the “Play with Python: Move” section.
Here’s what I get…
sudo python3 move.py
/usr/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: Your system is neon capable but pygame was not built with support for it. The performance of some of your blits could be adversely affected. Consider enabling compile time detection with environment variables like PYGAME_DETECT_AVX2=1 if you are compiling without cross compilation.
return f(*args, **kwds)
Traceback (most recent call last):
File "move.py", line 4, in <module>
crawler = Picrawler([10,11,12,4,5,6,1,2,3,7,8,9])
File "/usr/local/lib/python3.7/dist-packages/picrawler-0.0.1-py3.7.egg/picrawler/picrawler.py", line 23, in __init__
super().__init__(pin_list, group=3,init_angles=None)
File "/usr/local/lib/python3.7/dist-packages/robot_hat-1.1.0-py3.7.egg/robot_hat/robot.py", line 40, in __init__
self.db = fileDB(db=db, mode='774', owner=User)
File "/usr/local/lib/python3.7/dist-packages/robot_hat-1.1.0-py3.7.egg/robot_hat/filedb.py", line 28, in __init__
self.file_check_create(db, mode, owner)
File "/usr/local/lib/python3.7/dist-packages/robot_hat-1.1.0-py3.7.egg/robot_hat/filedb.py", line 57, in file_check_create
raise(e)
File "/usr/local/lib/python3.7/dist-packages/robot_hat-1.1.0-py3.7.egg/robot_hat/filedb.py", line 46, in file_check_create
os.makedirs(file_path.rsplit('/',1)[0], mode=0o754)
File "/usr/lib/python3.7/os.py", line 221, in makedirs
mkdir(name, mode)
NotADirectoryError: [Errno 20] Not a directory: '/home/pi/.config/robot-hat'
So how can I fix this?