-3

I have installed both commands still getting this error. pip install mqtt pip install paho-mqtt

ModuleNotFoundError: No module named 'mqtt_test' My Code Error

I was expecting to run my Django App fine.

  • Please do not post images of text, they are hard to read, and impossible to search or for users of screen readers. Post the actual text and use the toolbar to format it. – hardillb Nov 11 '22 at 17:14

1 Answers1

0

Module not found error only occurs when the module is not installed. If the module is available on PyPi, then run pip install mqtt_test on your cmd. Elsewise, you can manually install the module by checking their docs.

You could also check this out: https://pypi.org/project/paho-mqtt.

The Myth
  • 1,090
  • 1
  • 4
  • 16
  • by running this command I am getting error ERROR: Could not find a version that satisfies the requirement mqtt_test (from versions: none) ERROR: No matching distribution found for mqtt_test – Shamir Tahir Nov 11 '22 at 16:49
  • if you find any material to install it manually please share – Shamir Tahir Nov 11 '22 at 16:51
  • Could you tell me what does this module do and functions. Here's something I found: https://pypi.org/project/paho-mqtt/. Not sure if this is it. Let me know if you get any information about the module. – The Myth Nov 11 '22 at 16:53
  • yeah this is exact module. – Shamir Tahir Nov 11 '22 at 16:54