booksoup icon indicating copy to clipboard operation
booksoup copied to clipboard

No Module BookSoup

Open sandyjswl opened this issue 6 years ago • 4 comments

Traceback (most recent call last): File "demo_interaction_timeline.py", line 3, in from booksoup import BookSoup File "/home/sandy/Downloads/booksoup-master/booksoup/init.py", line 1, in from BookSoup import BookSoup ModuleNotFoundError: No module named 'BookSoup'

I'm getting the following error whenever i try to run one of the demo files. Am i missing something? Forgive me if i'm missing something.

sandyjswl avatar Apr 18 '18 16:04 sandyjswl

Hi Sandy, thanks for raising the issue. What version of python are you running on?

Buroni avatar Apr 18 '18 20:04 Buroni

@Buroni I'm currently running on Python 3. 3.6 to be exact.

sandyjswl avatar Apr 18 '18 20:04 sandyjswl

@sandyjswl I've just realised that you have a file called init.py inside the booksoup folder. This should be called __init__.py for python to recognise BookSoup as a module. Could you rename it and see then if it works?

Buroni avatar Apr 19 '18 14:04 Buroni

It's named init.py I'm attaching a screenshot of the output and the folder. https://imgur.com/N9SOmck https://imgur.com/wTbYx3O

sandyjswl avatar Apr 19 '18 14:04 sandyjswl