Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to connect to database #2

Closed
Meffi42 opened this issue Apr 4, 2018 · 1 comment
Closed

unable to connect to database #2

Meffi42 opened this issue Apr 4, 2018 · 1 comment

Comments

@Meffi42
Copy link

Meffi42 commented Apr 4, 2018

After a fresh install of radb, the beers example cannot be started:

[cloudera@quickstart ~]$ /usr/local/bin/python3.6 --version
Python 3.6.5
[cloudera@quickstart ~]$ ls beers.ra
beers.ra
[cloudera@quickstart ~]$ radb -i beers.ra beers.db
WARNING: unable to read configuration file /home/cloudera/.radb.ini; resorting to system defaults
ERROR: failed to connect to database: No module named '_sqlite3'

I thought sqlite3 would have been bundled with radb.

@junyang
Copy link
Owner

junyang commented Sep 18, 2019

Sorry for the long hiatus. Is this still an issue (> a year later)? I just tried a fresh Ubuntu 18.04 box (Google Compute Engine), and can't reproduce the problem. Below is the list of commands I used on the fresh box, which worked:

sudo apt update
sudo apt-get install python3-pip
pip3 install radb
wget https://raw.githubusercontent.com/junyang/radb/master/sample/beers.ra
radb -i beers.ra beers.db

I will close this issue for now unless there are new reports of the problem. Thanks!

@junyang junyang closed this as completed Sep 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants