Python Forum
ModuleNotFoundError when application is not installed via setup.py
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ModuleNotFoundError when application is not installed via setup.py
#3
Hi Gribouillis,

thanks for your reply. Didn't know about this option. However, i still wonder. Is my project setup correct? Is my fix common practice or is there any other way around this issue?

Output:
$ pip3 install decoder-plus-plus $ cd /usr/lib/python3.8/dist-packages/dpp/ $ python3 runner.py # works flawlessly with or without the fix mentioned in the first post
Output:
$ git clone https://github.com/bytebutcher/decoder-plus-plus $ cd decoder-plus-plus/dpp/ $ python3 runner.py # produces error without the fix mentioned in the first post Traceback (most recent call last): File "dpp/runner.py", line 34, in <module> from dpp.core.argparse.ordered_multi_args import OrderedMultiArgs ModuleNotFoundError: No module named 'dpp'
Reply


Messages In This Thread
RE: ModuleNotFoundError when application is not installed via setup.py - by bytebutcher - Jan-08-2021, 12:37 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Libraries installed with pipenv, but ModuleNotFoundError returned jpncsu 2 3,125 Sep-06-2021, 07:24 PM
Last Post: jpncsu
  How to send data from a python application to an external application aditya_rajiv 1 2,269 Jul-26-2021, 06:00 AM
Last Post: ndc85430
  Cannot package application using pip; ModuleNotFoundError axcore 0 1,631 Jan-28-2020, 01:08 PM
Last Post: axcore
  Trying to setup Python application, odd error Yoshimaster96 6 6,847 Oct-01-2017, 11:32 PM
Last Post: magnet

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020