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

Registration of connector does not work when installed via pip #8

Open
FrancescAlted opened this issue Jun 1, 2018 · 1 comment
Open

Comments

@FrancescAlted
Copy link
Member

It seems that installing the connector via pip is not enough for registering the connector:

$ datasette serve table3.h5 
Serve! files=('table3.h5',) on port 8001
Traceback (most recent call last):
  File "/Users/faltet/miniconda3/bin/datasette", line 11, in <module>
    load_entry_point('datasette-core==0.22.1', 'console_scripts', 'datasette')()
<snip>
  File "/Users/faltet/miniconda3/lib/python3.6/site-packages/datasette_core-0.22.1-py3.6.egg/datasette/connectors.py", line 16, in inspect
    raise Exception("No database connector found for %s" % path)
Exception: No database connector found for table3.h5

However, when installing the package using regular setup.py:

$ python setup.py install

then it works:

$ datasette serve table3.h5 
Serve! files=('table3.h5',) on port 8001
[2018-06-01 13:39:56 +0200] [68744] [INFO] Goin' Fast @ http://127.0.0.1:8001
[2018-06-01 13:39:56 +0200] [68744] [INFO] Starting worker [68744]
@jsancho-gpl
Copy link
Collaborator

It's very weird! I only do pip install datasette-pytables and I have all the environment ready. Can you post more info like Python version or architecture?

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