-1

I am new to python and trying to write scripts in Spyder that use autoit but keep getting an error when I import autoit :

ModuleNotFoundError: No module named 'autoit'

niall1706
  • 11
  • 1
  • 1
    did you install `autoit` ? Is this python's module ? If not then you can't import it. – furas Jan 21 '20 at 11:11
  • make sure `autoit` is available in your `PYTHONPATH`. What is the output of `pip list | grep -i autoit`, i am assuming you are working in a virtual environment. – onlinejudge95 Jan 21 '20 at 11:15

1 Answers1

1

First pip install -U pyautoit and then add import autoit

You can also look at this question. Hope it will help you

Mohit Chandel
  • 1,838
  • 10
  • 31