i-6792cbe4 [devpi@af-devpi-int1 ~]$ virtualenv /opt/devpi
New python executable in /opt/devpi/bin/python2.7
Also creating executable in /opt/devpi/bin/python
Installing setuptools, pip...done.
i-6792cbe4 [devpi@af-devpi-int1 ~]$ source bin/activate
(devpi)i-6792cbe4 [devpi@af-devpi-int1 ~]$ pip install -U devpi-server
You are using pip version 6.1.1, however version 8.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting devpi-server
Downloading devpi_server-3.0.2-py2.py3-none-any.whl (158kB)
100% |████████████████████████████████| 159kB 2.7MB/s
Collecting execnet>=1.2 (from devpi-server)
...
(devpi)i-6792cbe4 [devpi@af-devpi-int1 ~]$ devpi-server --version
3.0.2
(devpi)i-6792cbe4 [devpi@af-devpi-int1 ~]$ devpi-server --start
2016-03-23 17:28:19,376 INFO NOCTX Loading node info from /opt/devpi/.devpi/server/.nodeinfo
2016-03-23 17:28:19,377 INFO NOCTX generated uuid: 0703e9461c124951adcd46cd8cd2676e
fatal: The backend 'sqlite' can't be found, is the plugin not installed?
(devpi)i-6792cbe4 [devpi@af-devpi-int1 ~]$ which devpi-server
~/bin/devpi-server
(devpi)i-6792cbe4 [devpi@af-devpi-int1 ~]$ cat ~/bin/devpi-server
#!/opt/devpi/bin/python2.7
# -*- coding: utf-8 -*-
import re
import sys
from devpi_server.main import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())
(devpi)i-6792cbe4 [devpi@af-devpi-int1 ~]$ /opt/devpi/bin/python2.7
Python 2.7.10 (default, Dec 8 2015, 18:25:23)
[GCC 4.8.3 20140911 (Red Hat 4.8.3-9)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sqlite3
>>>
On Tuesday, March 22, 2016 at 6:09:39 PM UTC-4, jbla...@gmail.com wrote:
I'm trying to install devpi-server on Amazon Linux 2015.09 but when I start it, I'm receiving the following error:
$ cat /etc/system-release
Amazon Linux AMI release 2015.09
$ devpi-server --version
3.0.2
$ devpi-server --start
2016-03-22 21:53:12,909 INFO NOCTX Loading node info from /opt/devpi/.devpi/server/.nodeinfo
2016-03-22 21:53:12,910 INFO NOCTX generated uuid: 89e20f8f78fc4f2f8d8b96e121115993
fatal: The backend 'sqlite' can't be found, is the plugin not installed?
I am able to import sqlite3 from Python.
$ python
Python 2.7.10 (default, Dec 8 2015, 18:25:23)
[GCC 4.8.3 20140911 (Red Hat 4.8.3-9)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sqlite3
>>>
What am I missing?