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

Open
opened 2019-09-19 14:11:55 +02:00 by mb · 1 comment

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
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: varia/distribusi#2
No description provided.