"cannot import name 'EVENT_TYPE_OPENED' from 'watchdog.events' "
"cannot import name 'EVENT_TYPE_OPENED' from 'watchdog.events' " Question: I’m trying to make a REST api (begginer) but when i tried to initialize the server from this code: from flask import Flask app = Flask(__name__) if __name__==’__main__’: app.run(debug=True, port=4000) i get this error in the prompt: from watchdog.events import EVENT_TYPE_OPENED ImportError: cannot import name ‘EVENT_TYPE_OPENED’ from …