running "Change It" distribusi install (from the git) throws "No module named 'distribusi.page_template'; 'distribusi' is not a package" #2

Open
opened 5 years ago by mb · 1 comments
mb commented 5 years ago

python3 distribusi/distribusi.py

Throws:

Traceback (most recent call last):
  File "distribusi/distribusi.py", line 9, in <module>
    from distribusi.page_template import html_footer, html_head
  File "/home/mb/Documents/ontwerper/projects/NOOO2/tools/distribusi/distribusi/distribusi.py", line 9, in <module>
    from distribusi.page_template import html_footer, html_head
ModuleNotFoundError: No module named 'distribusi.page_template'; 'distribusi' is not a package
`python3 distribusi/distribusi.py` Throws: ``` Traceback (most recent call last): File "distribusi/distribusi.py", line 9, in <module> from distribusi.page_template import html_footer, html_head File "/home/mb/Documents/ontwerper/projects/NOOO2/tools/distribusi/distribusi/distribusi.py", line 9, in <module> from distribusi.page_template import html_footer, html_head ModuleNotFoundError: No module named 'distribusi.page_template'; 'distribusi' is not a package ```
Owner

After installing from the git (with pip install -e .), you just need to run distribusi as the command itself and not python3 distribusi/.... We tell Pip to register the command-line executable with https://git.vvvvvvaria.org/varia/distribusi/src/branch/master/setup.py#L27.

After installing from the git (with `pip install -e .`), you just need to run `distribusi` as the command itself and not `python3 distribusi/...`. We tell Pip to register the command-line executable with https://git.vvvvvvaria.org/varia/distribusi/src/branch/master/setup.py#L27.
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.