Comments (5)
Machine on which I am installing is not having outbound connection to internet. So I am installing from the disk providing the path to the package. Same approach on same machine is working with Python 3.8 and Python 3.10. But when I move to Python 3.12 this issue pops up.
from pywinauto.
Have you tried pip install --upgrade setuptools
?
from pywinauto.
Yes. Installed latest setuptools. Still I see the same error.
D:\softwares\Python12>pip install d:\softwares\Python12\setuptools-69.0.3-py3-none-any.whl
Processing d:\softwares\python12\setuptools-69.0.3-py3-none-any.whl
Installing collected packages: setuptools
Successfully installed setuptools-69.0.3
D:\softwares\Python12>pip list
Package Version
comtypes 1.2.1
pip 23.2.1
pywin32 306
setuptools 69.0.3
six 1.16.0
D:\softwares\Python12>pip install d:\softwares\PyWinAuto\pywinauto-atspi
Processing d:\softwares\pywinauto\pywinauto-atspi
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [7 lines of output]
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000002698263EE70>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/setuptools/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x00000269825152B0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/setuptools/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000002698263F5F0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/setuptools/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000002698263F9E0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/setuptools/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000002698263FBC0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/setuptools/
ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0 (from versions: none)
ERROR: No matching distribution found for setuptools>=40.8.0
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
from pywinauto.
Same error can be reproduced even with Python 3.11.7. Just FYI
from pywinauto.
I have successfully installed pywinauto==0.6.8
in a virtual environment created with Python 3.11.7 and pipenv
.
I see from your process that you are probably trying to install the contents of the atspi
branch that you downloaded from the repository.
However, since I don't know whether the problem is caused by pip
or setuptools
or the pywinauto
codebase, please check if you can pip install pywinauto==0.6.8
first.
from pywinauto.
Related Issues (20)
- Using element wrapper_object in multiple systems generated using pywinauto
- I cant click TabItem
- Application hangs at FindAll in uia_element_info.py
- Tutorials but Not Work at All ! HOT 5
- Cannot select item in ListBox
- could you give a example about windows 11, or pywinauto doesn't work with windows 11?
- `tasklist /fo CSV | findstr RDP` returns nothing
- reducing time taken for creating wrapper object
- Request: Split Button Wrapper HOT 1
- adding custom function in class windowspecification HOT 1
- methods click() and click_input() do the same thing
- pywinauto tree dump is different from Inspect despite same/similar settings
- when I use is checked to get the listbox state ,porpmpt error HOT 1
- Pyqt5 App select TabItem causes exception (ValueError: NULL COM pointer access) after few seconds HOT 2
- Pywinauto Cannot See Elements After Accessing Combobox
- After using the initially selected appropriate backend for some days, the controls cannot be printed out HOT 2
- TreeView控件如何获取第二列的文字
- pywinauto.timings.TimeoutError: timed out
- Take ElementUI PATH
- How to handle embedded dialog boxes in pywinauto with python
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 pywinauto.