error while installing pyautoit

0 votes
:\Users\Shashi>pip install pyautoit
Collecting pyautoit
  Using cached
    Complete output from command python egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\Shashi\AppData\Local\Temp\pip-install-hfehczcm\pyautoit\", line 9, in <module>
        import autoit
      File "C:\Users\Shashi\AppData\Local\Temp\pip-install-hfehczcm\pyautoit\autoit\", line 6, in <module>
        from .autoit import options, properties, commands
      File "C:\Users\Shashi\AppData\Local\Temp\pip-install-hfehczcm\pyautoit\autoit\", line 28, in <module>
        AUTO_IT = ctypes.windll.LoadLibrary(dll_path)
      File "c:\users\shashi\appdata\local\programs\python\python36\lib\ctypes\", line 426, in LoadLibrary
        return self._dlltype(name)
      File "c:\users\shashi\appdata\local\programs\python\python36\lib\ctypes\", line 348, in __init__
        self._handle = _dlopen(self._name, mode)
    OSError: [WinError 193] %1 is not a valid Win32 application


Command "python egg_info" failed with error code 1 in C:\Users\Shashi\AppData\Local\Temp\pip-install-hfehczcm\pyautoit\
Jan 27, 2019 in Python by reddy

retagged Jan 27, 2019 by Omkar 1,059 views

1 answer to this question.

0 votes

Hi @reddy! 

According to the Python Documentation, Error code 1 means that the operation you are trying to do is not permitted. Looking at your error log, it seems like the problem is with your setuptools (possibly it is not installed or is out-of-date). To solve this error, run the following command:

pip install --upgrade setuptools

This should solve the error.   

answered Jan 27, 2019 by Omkar
• 69,170 points

Related Questions In Python

0 votes
1 answer

Error while installing cv2 module in pycharm

Go to tools -> python console -> ...READ MORE

answered Jun 24, 2019 in Python by Quin
0 votes
1 answer

Error while installing Django with Anaconda.

This error is probably because you don't ...READ MORE

answered Jun 24, 2020 in Python by Sirajul
• 59,110 points
0 votes
1 answer

Got an error while installing opencv-python

Hello @Nishant, The error you got itself suggest ...READ MORE

answered Sep 17, 2020 in Python by Niroj
• 82,880 points
0 votes
1 answer

i am getting an error on pycharm while installing packages

Hi, @There, $ pip install gevent --pre $ pip ...READ MORE

answered Oct 27, 2020 in Python by Gitika
• 65,970 points
0 votes
2 answers
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 7, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 2,537 views
0 votes
1 answer
+5 votes
6 answers

Lowercase in Python

You can simply the built-in function in ...READ MORE

answered Apr 11, 2018 in Python by hemant
• 5,810 points
0 votes
2 answers

Python UnboundLocalError error while executing script

Inside your function when you say word=word+1, ...READ MORE

answered May 22, 2020 in Python by Ibrahim Nezar
• 140 points
0 votes
1 answer

Error installing BeautifulSoup

You can use a simple command to ...READ MORE

answered Feb 14, 2019 in Python by Omkar
• 69,170 points