Problem with use replit

Then try forcing pip to reinstall flask:

pip install --force-reinstall flask
1 Like

nope give an error:
Traceback (most recent call last):
File “main.py”, line 1, in
from keep_alive import keep_alive
File “/home/runner/LaboCraft-MC/keep_alive.py”, line 1, in
from flask import Flask
ImportError: cannot import name ‘Flask’ from ‘flask’ (unknown location)

What was the output from the pip command?