from csvparser.csvparser or library.csvparser.csvparser #1

Closed
opened 2020-12-21 18:45:00 +01:00 by crunk · 2 comments
Owner

One works for me and the other works for decentral1se..
what am I doing wrong?

One works for me and the other works for decentral1se.. what am I doing wrong?
Owner

Yeah so in the root, if I run make run then it complains:

Traceback (most recent call last):
  File ".venv/lib/python3.9/site-packages/flask/cli.py", line 240, in locate_app
    __import__(module_name)
  File "library/page.py", line 7, in <module>
    from csvparser.csvparser import getpublications, gettypes, getyears
ModuleNotFoundError: No module named 'csvparser'

But if I cd library and python page.py then it works!

Yeah so in the root, if I run `make run` then it complains: ``` Traceback (most recent call last): File ".venv/lib/python3.9/site-packages/flask/cli.py", line 240, in locate_app __import__(module_name) File "library/page.py", line 7, in <module> from csvparser.csvparser import getpublications, gettypes, getyears ModuleNotFoundError: No module named 'csvparser' ``` But if I `cd library` and `python page.py` then it works!
Owner
13d8d66871a52f3e1fddb1d3ca86daee048c5e22
Sign in to join this conversation.
No Label
No Milestone
No project
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/varia-library-website#1
No description provided.