error while installing pyautoit

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

    ----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in C:\Users\Shashi\AppData\Local\Temp\pip-install-hfehczcm\pyautoit\
Jan 26 in Python by reddy

retagged Jan 27 by Omkar 197 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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 by Omkar
• 65,810 points

Related Questions In Python

+2 votes
2 answers

Error while printing hello world in python.

You must be trying this command in ...READ MORE

answered Mar 31, 2018 in Python by GandalfDwhite
• 1,320 points
30 views
0 votes
1 answer
0 votes
1 answer

Error Code installing Scrapy

You can install it via pip wheel. Download ...READ MORE

answered Jan 17 in Python by SDeb
• 9,300 points
63 views
0 votes
1 answer

Do-while loop in Python

Python does not have a do-while construct.  If ...READ MORE

answered May 11, 2018 in Python by Hamartia's Mask
• 1,580 points
58 views
0 votes
1 answer

how can i count the items in a list?

suppose you have a list a = [0,1,2,3,4,5,6,7,8,9,10] now ...READ MORE

answered May 2 in Python by Mohammad
• 920 points
18 views
+4 votes
6 answers
0 votes
1 answer

Python UnboundLocalError error while executing script

The reason for this error is that ...READ MORE

answered Jan 22 in Python by Omkar
• 65,810 points
15 views
0 votes
1 answer

Error installing BeautifulSoup

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

answered Feb 14 in Python by Omkar
• 65,810 points
61 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.