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
3

Database problem

AmeliaBlackwell
AmeliaBlackwell

Hi, I am getting the following error when trying to use the in-built repl.it database:

Traceback (most recent call last):
File "main.py", line 9, in
from replit import db
ImportError: cannot import name 'db' from 'replit' (/opt/virtualenvs/python3/lib/python3.8/site-packages/replit/init.py)

1 year ago
You are viewing a single comment. View All
1
KeaganLandfried
KeaganLandfried

pip install replit

1 year ago