Forums

i don't know what i am doing wrong.

everything runs smoothly in Pycharm which I have already fixed all the errors when I construct it.. but when I uploaded it here and try to run it in 'always on task'. I got these errors:

  1. Permission Denied - in always on task. I have no idea why. --- I fixed*
  2. 'nonetype' object has no attribute 'encode'
  3. too many indices for array: array is 1-dimensional, but 2 were indexed
  4. Some errors were detected ! Line #501 (got 1 columns instead of 12)

it is so hard to fix these problems and I cannot see where it happen? I hope I can get help here.

NOTE: I fixed the first one python3.9 /home/user/folder/file.py

The most likely cause of all of those is that you're reading something from a file and the file is either not present on PythonAnywhere or is not in the location you're reading from.

That means the python console can’t work as python like Pycharm?