Skip to content
Sign upLog in
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs



This is a chatbot I am working on for the AI competition. I would gladly accept any feedback. Thank you, and have fun!

4 years ago
You are viewing a single comment. View All

Sad ): I am studying AI and want to make a chatbot, haven't found any examples that work yet on replit though ):

Python 3.8.2 (default, Feb 26 2020, 02:56:10)

Replit: Updating package configuration

--> python3 -m poetry lock
Updating dependencies
Resolving dependencies...

Writing lock file
--> python3 -m poetry install
Installing dependencies from lock file

Package operations: 0 installs, 13 updates, 0 removals

• Updating markupsafe (2.0.1 -> 2.1.1)
• Updating certifi (2021.5.30 -> 2021.10.8)
• Updating charset-normalizer (2.0.4 -> 2.0.12)
Traceback (most recent call last):
File "", line 1, in
import bot, sys, random
File "/home/runner/Wa5BRsktygS/bot/", line 1, in
import bot.mod
File "/home/runner/Wa5BRsktygS/bot/", line 1, in
import sys, replit
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/replit/", line 2, in
from . import maqpy
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/replit/maqpy/", line 4, in
import flask
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/flask/", line 14, in
from jinja2 import escape
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/jinja2/", line 12, in
from .environment import Environment
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/jinja2/", line 25, in
from .defaults import BLOCK_END_STRING
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/jinja2/", line 3, in
from .filters import FILTERS as DEFAULT_FILTERS # noqa: F401
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/jinja2/", line 13, in
from markupsafe import soft_unicode
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/opt/virtualenvs/python3/lib/python3.8/site-packages/markupsafe/

8 months ago