windows-10

Failed to read descriptor from node connection: A device attached to the system is not functioning error using ChromeDriver Selenium on Windows OS

Failed to read descriptor from node connection: A device attached to the system is not functioning error using ChromeDriver Selenium on Windows OS Question: I got this while running the selenium webdriver script in python I also set the path in System Environment and also tried downloading the webdriver that matches with my chrome version. …

Total answers: 12

How to install Python on a recent Windows computer in C:Program Files?

How to install Python on a recent Windows computer in C:Program Files? Question: I’m starting to get extremely FURIOUS with the latest Windows environments (Windows 10): I’ve just downloaded and installed Python, version 3.9. The installer proposed to install it under "C:Users…", I thought "No way, because if, for whatever reason, I remove this user, …

Total answers: 1

How can I listen to Windows 10 notifications in Python?

How can I listen to Windows 10 notifications in Python? Question: My Python test script causes our product to raise Windows notifications ("Toasts"). How can my python script verify that the notifications are indeed raised? I see it’s possible to make a notification listener in C# using Windows.UI.Notifications.Management.UserNotificationListener (ref), And I see I can make …

Total answers: 2

ModuleNotFoundError: No module named 'webdriver_manager' error even after installing webdrivermanager

ModuleNotFoundError: No module named 'webdriver_manager' error even after installing webdrivermanager Question: I’ve installed webdrivermanager on my windows-10 system C:Usersusername>pip install webdrivermanager Requirement already satisfied: webdrivermanager in c:pythonlibsite-packages (0.8.0) Requirement already satisfied: lxml in c:pythonlibsite-packages (from webdrivermanager) (4.5.1) Requirement already satisfied: requests in c:pythonlibsite-packages (from webdrivermanager) (2.20.1) Requirement already satisfied: tqdm in c:pythonlibsite-packages (from webdrivermanager) (4.46.1) …

Total answers: 13

My pip is broken on Windows, how can I fix it?

My pip is broken on Windows, how can I fix it? Question: Whenever I try to use pip, using any command I get this: Traceback (most recent call last): File “C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.8_3.8.1008.0_x64__qzc5n2dfsdra8p0librunpy.py”, line 194, in _run_module_as_main return _run_code(code, main_globals, None, File “C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.8_3.8.1008.0_x64__qzc5n2dfsd8p0librunpy.py”, line 87, in _run_code exec(code, run_globals) File “C:UsersSEAppDataLocalPackagesPythonSoftwareFoundation.Python.3.8_q3.8_qzc5n2dfsd8p0LocalCachelocal-packagesPython38site-packagespip__main__.py”, line 23, in <module> …

Total answers: 3

How to install ChatterBot successfully?

How to install ChatterBot successfully? Question: I tried pip install ChatterBot and ended up with error. I am using Python 3.8 64 bit rc1. I do have installed all build tools. Please help me! Here is the powershell snippet – Collecting ChatterBot Using cached ChatterBot-1.0.5-py2.py3-none-any.whl (67 kB) Collecting pymongo<4.0,>=3.3 Downloading pymongo-3.10.1-cp38-cp38-win_amd64.whl (355 kB) |████████████████████████████████| 355 …

Total answers: 1

Python Socket is not receiving messages sent to it

Python Socket is not receiving messages sent to it Question: I made a socket connection between a client and server. I set it up so it makes a request for data, but it doesn’t receive the data. It throws Traceback (most recent call last): File "C:…file path…server.py", line 38, in <module> s1.connect((host1, port1)) ConnectionRefusedError: [WinError …

Total answers: 1

Python/Jupyter notebook in VSCode does not use the right environment

Python/Jupyter notebook in VSCode does not use the right environment Question: The situation I use Anaconda 3 on Windows 10. I have a Visual Studio Code workspace (my_workspace) than contains a Jupyter notebook (my_notebook.ipynb). VSCode has the Python extension installed. The file my_workspace/settings.json contains: { “python.pythonPath”: “C:\Users\Me\Anaconda3\envs\my_env\python.exe” } my_env is an existing Anaconda environment. I …

Total answers: 3

Can't get python-can-viewer to run

Can't get python-can-viewer to run Question: I want to use python to read a can-bus and later on going to send messages on the bus via python(I’m a total python newbie, but have knowledge in C and C++). So I started with installing the python-can module via pip. First thing I wanted to try is …

Total answers: 1

How to hide hover tooltips on Spyder 4

How to hide hover tooltips on Spyder 4 Question: not sure where to ask: is there a way to not have the help tooltip/popup/hover window opening in spyder? since updating to 4.0 the window does not close when you change between windows: guess something like this will be reported and delt with in future updates …

Total answers: 1