Could you check that lib/python2.7/site-packages/devpi_server/keyfs_sqlite_fs.py exists? Also ``cat lib/python2.7/site-packages/devpi_server-3.0.2.dist-info/entry_points.txt`` should result in this: ``` [console_scripts] devpi-server = devpi_server.main:main [devpi_server] devpi-server-auth-basic = devpi_server.auth_basic devpi-server-auth-devpi = devpi_server.auth_devpi devpi-server-sqlite = devpi_server.keyfs_sqlite devpi-server-sqlite-fs = devpi_server.keyfs_sqlite_fs [devpi_web] devpi-server-status = devpi_server.views ``` Finally, check this: ``` % python Python 2.7.11 (default, Dec 23 2015, 08:32:32) [GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin Type "help", "copyright", "credits" or "license" for more information.
import pkg_resources list(pkg_resources.iter_entry_points('devpi_server')) [EntryPoint.parse('devpi-server-sqlite-fs = devpi_server.keyfs_sqlite_fs'), EntryPoint.parse('devpi-server-auth-basic = devpi_server.auth_basic'), EntryPoint.parse('devpi-server-sqlite = devpi_server.keyfs_sqlite'), EntryPoint.parse('devpi-server-auth-devpi = devpi_server.auth_devpi')] pkg_resources.load_entry_point('devpi_server', 'devpi_server', 'devpi-server-sqlite-fs') <module 'devpi_server.keyfs_sqlite_fs' from '/Users/fschulze/temp/server/lib/python2.7/site-packages/devpi_server/keyfs_sqlite_fs.pyc'>
Regards,
Florian Schulze
On 23 Mar 2016, at 18:35, jblack...@gmail.com wrote:
> Thanks for the quick response. I installed devpi-server using pip.
> Below
> is the list of commands that I ran.
>
> 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?
>>
>
> --
> You received this message because you are subscribed to the Google
> Groups "devpi-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to devpi-dev+...@googlegroups.com.
> To post to this group, send email to devp...@googlegroups.com.
> Visit this group at https://groups.google.com/group/devpi-dev.
> For more options, visit https://groups.google.com/d/optout.