no module named graphing

Nancy Bett 1 Reputation point
2021-10-04T17:43:31.537+00:00

Hello,
when i run this code i get this error could someone help me solve this kindly.
code

representing them graphicaly

import graphing
graphing.scatter_2D(data,label_x="date",label_y="min_temperature",title="january temperatures (F)")
Error
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-2-e15a0e581b6c> in <module>
1 #representing them graphicaly
----> 2 import graphing
3 graphing.scatter_2D(data,label_x="date",label_y="min_temperature",title="january temperatures (F)")

ModuleNotFoundError: No module named 'graphing'

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,811 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. kelechi Eruba 5 Reputation points
    2023-03-22T11:35:09.8566667+00:00

    I ran into the same issue it was very frustrating. To resolve it, kindly do the following ( Please note, this applies to Jupyter notebook) :

    1. Type the below command to install graphing in your Jupyter notebook !pip install graphing
    2. Restart the Jupyter Notebook kernel: After installing the "graphing" module, restart the Jupyter Notebook kernel to make sure it can recognize the newly installed module. You can do this by selecting "Kernel" -> "Restart Kernel..." from the Jupyter Notebook menu.

    At this point , you should be fine.

    1 person found this answer helpful.
    0 comments No comments

  2. Julius Maina 1 Reputation point
    2022-10-20T12:24:42.5+00:00

    i WOULD WISH TO KNOW TOO

    0 comments No comments

  3. Julius Maina 1 Reputation point
    2022-10-21T17:32:03.23+00:00

    I ended up installing visual studio (editor-IDE) and creating a ".py" file (python) with exact name "graphing" and saved it in the folder I was working in. When I imported graphing it was smooth!

    0 comments No comments