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

Closed
opened 3 years ago by crunk · 2 comments
crunk commented 3 years ago
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!
decentral1se referenced this issue from a commit 3 years ago
decentral1se closed this issue 3 years ago
Owner
13d8d66871a52f3e1fddb1d3ca86daee048c5e22
Sign in to join this conversation.
No Label
No Milestone
No project
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.