python3 import issue

Issue #451 new
Former user created an issue


I'm having a little problem with python3 whoosh that is best shown in console:

>>> import whoosh
>>> whoosh.index.create_in
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'whoosh' has no attribute 'index'
>>> import whoosh.index
>>> whoosh.index.create_in
<function create_in at 0x7f91ec3edea0>

Obviously I can work around it, so it's anything but critical.

I have found this blog/notes that has the same thing referenced at the bottom, so I think it's an issue with how you've set up your package, but I'm a noob in that regard, so I could be wrong here.

Thanks for taking a look and for supporting python3!

Comments (0)

  1. Log in to comment