Tkd-Alex / Telegram-InstaPy-Scheduling

A Telegram bot for scheduling InstaPy
152 stars 38 forks source link

File "main.py", line 30, in <module> except (FileNotFoundError, IOError): #35

Closed ph0rest closed 5 years ago

ph0rest commented 5 years ago

I've got this error after trying to run main.py

`$ python main.py Traceback (most recent call last):

File "main.py", line 30, in

except (FileNotFoundError, IOError):

NameError: name 'FileNotFoundError' is not defined `

tE3m commented 5 years ago

Are you in the project's folder?

ph0rest commented 5 years ago

Are you in the project's folder?

Yes, Screen:

screen shot 2019-01-31 at 14 34 36
tE3m commented 5 years ago

And you're sure the file is in the folder?

ph0rest commented 5 years ago

And you're sure the file is in the folder?

Here is the list of all files in this folder

screen shot 2019-01-31 at 14 49 56
tE3m commented 5 years ago

Do you use python3? Because it seems like python can't find an error named "FileNotFoundError" which is there in python>=3.5

ph0rest commented 5 years ago

Ops, sorry. My bad, I'v got an 2.7 version. Thanks!