amymcgovern / pyparrot

Python interface for Parrot Drones
MIT License
276 stars 129 forks source link

no module named pyparrot.Minidrone #155

Open natopotato34 opened 5 years ago

natopotato34 commented 5 years ago

I keep getting "no module named pyparrot.Minidrone" when I run any of the demo files that include the "from pyparrot.Minidrone import Mambo" (see photo). If I go into the scrpits of pyparrot however, I can see Minidrone there in the directory. Any advice?

file-1

amymcgovern commented 5 years ago

Install it using pip or use the setup.py. That sets up your python paths. There are instructions in the documentation.

InquisitiveAS commented 5 years ago

What does this mean ! I got the same issue

$ sudo python setup.py /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help

error: no commands supplied

amymcgovern commented 5 years ago

I assume you need to do install (e.g. setup.py install) but I honestly never use that route. I do pip install.