import CoDrone ModuleNotFoundError



  • Need some assistance
    ModuleNotFoundError Traceback (most recent call last)
    <ipython-input-2-b794ab429015> in <module>
    ----> 1 import CoDrone

    c:\users\dragon god\appdata\local\programs\python\python38-32\lib\site-packages\CoDrone_init_.py in <module>
    11
    12
    ---> 13 from CoDrone.codrone import *
    14 from CoDrone.storage import *
    15 from CoDrone.system import *

    c:\users\dragon god\appdata\local\programs\python\python38-32\lib\site-packages\CoDrone\codrone.py in <module>
    11 from CoDrone.storage import *
    12 from CoDrone.protocol import *
    ---> 13 import matplotlib.pyplot as plt
    14 import time
    15

    ModuleNotFoundError: No module named 'matplotlib'

    but I already installed !pip3 install CoDrone

    Requirement already satisfied: CoDrone in c:\users\dragon god\appdata\local\programs\python\python38-32\lib\site-packages (1.2.5)
    Requirement already satisfied: colorama in c:\users\dragon god\appdata\local\programs\python\python38-32\lib\site-packages (from CoDrone) (0.4.3)
    Requirement already satisfied: numpy in c:\users\dragon god\appdata\local\programs\python\python38-32\lib\site-packages (from CoDrone) (1.19.0)
    Requirement already satisfied: pyserial in c:\users\dragon god\appdata\local\programs\python\python38-32\lib\site-packages (from CoDrone) (3.4)

    but the import CoDrone still saying ModuleNotFoundError
    thank you


  • administrators

    @dragongod,
    Please run !pip3 install matplotlib as well and it should solve your issue! We will make sure to add that to the lessons.


Log in to reply
 

Looks like your connection to Robolink community was lost, please wait while we try to reconnect.