Comments (18)
@kotofos try this: pip install -U https://github.com/jacexh/pyautoit/archive/master.zip
from pyautoit.
hi, which version of python do you installed?
from pyautoit.
I have 2.7.9 installed
Curtis Salisbury, MBA, MHRM
[email protected]
[email protected]
(801)310-4173 (Mobile)
(801)899-2143 (Home)
On Tue, Feb 24, 2015 at 9:30 PM, jacexh [email protected] wrote:
hi, which version of python do you installed?
—
Reply to this email directly or view it on GitHub
#4 (comment).
from pyautoit.
64 bit version
Curtis Salisbury, MBA, MHRM
[email protected]
[email protected]
(801)310-4173 (Mobile)
(801)899-2143 (Home)
On Wed, Feb 25, 2015 at 10:57 AM, Curtis Salisbury <
[email protected]> wrote:
I have 2.7.9 installed
Curtis Salisbury, MBA, MHRM
[email protected]
[email protected](801)310-4173 (Mobile)
(801)899-2143 (Home)On Tue, Feb 24, 2015 at 9:30 PM, jacexh [email protected] wrote:
hi, which version of python do you installed?
—
Reply to this email directly or view it on GitHub
#4 (comment).
from pyautoit.
When I attempt to install to a Linux or OSx environment, I am getting the following error:
Traceback (most recent call last):
File "", line 17, in
File "/tmp/pip_build_root/pyautoit/setup.py", line 9, in
import autoit
File "autoit/init.py", line 6, in
from .autoit import options, properties, commands
File "autoit/autoit.py", line 7, in
from ctypes.wintypes import *
File "/usr/lib/python2.7/ctypes/wintypes.py", line 23, in
class VARIANT_BOOL(_SimpleCData):
ValueError: type 'v' not supported
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 17, in
File "/tmp/pip_build_root/pyautoit/setup.py", line 9, in
import autoit
File "autoit/init.py", line 6, in
from .autoit import options, properties, commands
File "autoit/autoit.py", line 7, in
from ctypes.wintypes import *
File "/usr/lib/python2.7/ctypes/wintypes.py", line 23, in
class VARIANT_BOOL(_SimpleCData):
ValueError: type 'v' not supported
from pyautoit.
Please try 32 bit version of python.
autoItx.dll only support for windows, it cannot be installed into Linux/Unix.
from pyautoit.
You included both 32-bit and 64-bit versions of the AutoIt DLL, but your test of whether to use the 64-bit version (near the top of autoit.py
) is wrong. The PROGRAMFILES
environment variable is always C:\Program Files
, no matter the bitness of Windows. I don't think it's important to check the bitness of Windows anyway, because you shouldn't ever have a 64-bit Python on a 32-bit Windows. Therefore, once you have determined that you have a 64-bit Python, you might as well just go ahead and use the 64-bit DLL.
The following lines in autoit.py
:
if "(x86)" in os.environ['PROGRAMFILES'] and bit == "64bit":
# if 64bit version of python within 64bit version of Windows,
# load AutoItX3_x64.dll
dll = "AutoItX3_x64.dll"
should be
if bit == "64bit":
# if 64bit version of python, load AutoItX3_x64.dll
dll = "AutoItX3_x64.dll"
That will at least get the package to import properly. When I tried the simple script in the PyAutoIt README on my 64-bit Python 2.7, the control_click()
failed, but that's a separate issue.
from pyautoit.
I merged this patch, thank you for your feedback.
from pyautoit.
Can you please also update pypi package?
from pyautoit.
hi, I have used pip install -U https://github.com/jacexh/pyautoit/archive/master.zip it installed successfully. But when I am trying to import pyautoit in IDLE it throwing an exception like
Traceback (most recent call last):
File "<pyshell#0>", line 1, in
import pyautoit
ImportError: No module named 'pyautoit'
please help...
from pyautoit.
@sahan80 the package name is autoit
from pyautoit.
oh sorry for that, it is working fine now with autoit
from pyautoit.
Hi guys I am trying to install on linux but I get the following error
/usr/bin/pip run on Tue May 30 06:26:28 2017
Downloading/unpacking pyautoit
Getting page https://pypi.python.org/simple/pyautoit/
URLs to search for versions for pyautoit:
- https://pypi.python.org/simple/pyautoit/
Analyzing links from page https://pypi.python.org/simple/pyautoit/
Found link https://pypi.python.org/packages/0d/5f/3a31a33b9ef207bd46c88d52812dff2e2dca136bc1c59dc0378f011cc4d9/PyAutoIt-0.1.zip#md5=c6efc5e9756dcabef4fbba5e7f40bcb5 (from https://pypi.python.org/simple/pyautoit/), version: 0.1
Found link https://pypi.python.org/packages/21/19/561e8371404d77f7b0ec34d4c45e2d99f8eb48f5bbb7c88d222773dfdd70/PyAutoIt-0.4.zip#md5=621aeaa70a3ab6ef28a2b40fc7acbf25 (from https://pypi.python.org/simple/pyautoit/), version: 0.4
Found link https://pypi.python.org/packages/35/36/bcc35c5d1d4efd3313967553ba3ba6fba14d90c26a90b037e8258b72d452/PyAutoIt-0.3.zip#md5=4a2b753e023bc320f94a0c97e46a1310 (from https://pypi.python.org/simple/pyautoit/), version: 0.3
Found link https://pypi.python.org/packages/50/fe/a260ec81c9d34d6b6f72f9949175077f752b0bb8a9879bf5ecf39d69545c/PyAutoIt-0.2.zip#md5=84296e8ba34731aede3e8e03ec4ef236 (from https://pypi.python.org/simple/pyautoit/), version: 0.2
Skipping link https://pypi.python.org/packages/8b/37/7294d79e1e6a192ee89df4f73c3693c7644d6c89b14550072353126afd32/PyAutoIt-0.3-py2.7.egg#md5=5e9ac106614fdca66cf8d26424ad3cc1 (from https://pypi.python.org/simple/pyautoit/); unknown archive format: .egg
Found link https://pypi.python.org/packages/bb/88/65b5452e99bf431164199730602bdf538a8551803c63af1d8a15df558746/PyAutoIt-0.2.1.zip#md5=46c17ad1242dd3e5a3f38091229f941c (from https://pypi.python.org/simple/pyautoit/), version: 0.2.1
Found link https://pypi.python.org/packages/d9/5e/8dc5ec10065a1af3a484279296138839f8b8c1eca76c13cfde431b638595/PyAutoIt-0.2.2.zip#md5=c40d5cc50941cb766dc02d5b22d893db (from https://pypi.python.org/simple/pyautoit/), version: 0.2.2
Using version 0.4 (newest of versions: 0.4, 0.3, 0.2.2, 0.2.1, 0.2, 0.1)
Downloading from URL https://pypi.python.org/packages/21/19/561e8371404d77f7b0ec34d4c45e2d99f8eb48f5bbb7c88d222773dfdd70/PyAutoIt-0.4.zip#md5=621aeaa70a3ab6ef28a2b40fc7acbf25 (from https://pypi.python.org/simple/pyautoit/)
Running setup.py (path:/tmp/pip-build-fa7FzT/pyautoit/setup.py) egg_info for package pyautoit
Traceback (most recent call last):
File "", line 17, in
File "/tmp/pip-build-fa7FzT/pyautoit/setup.py", line 9, in
import autoit
File "autoit/init.py", line 6, in
from .autoit import options, properties, commands
File "autoit/autoit.py", line 7, in
from ctypes.wintypes import *
File "/usr/lib64/python2.7/ctypes/wintypes.py", line 23, in
class VARIANT_BOOL(_SimpleCData):
ValueError: type 'v' not supported
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 17, in
File "/tmp/pip-build-fa7FzT/pyautoit/setup.py", line 9, in
import autoit
File "autoit/init.py", line 6, in
from .autoit import options, properties, commands
File "autoit/autoit.py", line 7, in
from ctypes.wintypes import *
File "/usr/lib64/python2.7/ctypes/wintypes.py", line 23, in
class VARIANT_BOOL(_SimpleCData):
ValueError: type 'v' not supported
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-fa7FzT/pyautoit
Exception information:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python2.7/site-packages/pip/commands/install.py", line 298, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/usr/lib/python2.7/site-packages/pip/req.py", line 1234, in prepare_files
req_to_install.run_egg_info()
File "/usr/lib/python2.7/site-packages/pip/req.py", line 325, in run_egg_info
command_desc='python setup.py egg_info')
File "/usr/lib/python2.7/site-packages/pip/util.py", line 698, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-fa7FzT/pyautoit
from pyautoit.
@dsenkyrova AutoIT is Windows-only, so this library will not work on Linux.
from pyautoit.
from pyautoit.
Hi,
what is the alternative package/tool for linux? Clearly, pyautoit only works for windows. What about linux user??
Could you please provide some suggestions here.
Vinod
from pyautoit.
Hi,
Just another confirmation that installing from git with pip works, any chance of this making it into a release and onto pypi?
S
from pyautoit.
I also have the same problem in win10 64bit.
I remove AutoItX3.dll (win32) and then rename from AutoItX3_x64.dll (64 version) to AutoItX3.dll. then re-install again, is work. But not sure have any risk.
from pyautoit.
Related Issues (20)
- control_tree_view command "GetText" return Error when using pyautoit module, return None when using win32com module
- Installation problem HOT 2
- AutoIT control_click not working HOT 1
- Does not detect the windows HOT 1
- PyAutoIt wants to import fcntl module but it doesn't exist on Windows?!?
- PyAutoit on windows installs directly on AppData\Local\... directory instead of the env\Lib\site-packages directory.
- win_get_tittle 获取中文会出现乱码 HOT 2
- autoit.autoit.AutoItError: Window/Control could not be found HOT 2
- control_click and control_send in Bluestacks HOT 7
- It´s only writing the filename.ext on file manager, not the full path. HOT 1
- How to call the macro of autoti use pyautoit?(如何用pyautoit调用autoit的宏?)
- AutoIt Options HOT 3
- v0.6.4 missing lib HOT 1
- pyautoit does not work with pyoxidizer due to reliance on __file__
- control click not working on LDPlayer? HOT 1
- What does h_ctrl mean?
- mouse wont move
- How to send function keys for F1 - F12 to current window
- tooltip not working python 2.7 ?
- Clicking occasionally fails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyautoit.