Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[馃悰 Bug]: SeleniumManagerException selenium-manager.exe is missing (Anaconda Python 3.9 selenium 4.9.0) #11980

Closed
kwikwag opened this issue May 2, 2023 · 9 comments

Comments

@kwikwag
Copy link

kwikwag commented May 2, 2023

What happened?

When trying to instantiate selenium.webdriver.Chrome() after installing selenium out-of-the-box, I get the error: SeleniumManagerException... .../selenium-manager.exe) is missing....

I am using selenium 4.9.0 installed from conda-forge on a Python 3.9 / Windows 11 environment.

I will manually install the Chrome web driver, but from what I understand the above should just work.

How can we reproduce the issue?

Probably, install miniconda, run `conda create -n my_env -c conda-forge python=3.9 selenium` or the likes, and then run the commands:

    import selenium.webdriver
    driver = selenium.webdriver.Chrome()

Relevant log output

SeleniumManagerException: Message: [c:\Users\<my_username>\Apps\miniconda3\envs\<my_env>\lib\site-packages\selenium\webdriver\common\windows\selenium-manager.exe](file:///C:/Users/<my_username>/Apps/miniconda3/envs/<my_env>/lib/site-packages/selenium/webdriver/common/windows/selenium-manager.exe) is missing.  Please open an issue on https://github.com/SeleniumHQ/selenium/issues

Operating System

Windows 11

Selenium version

Python (3.9) - 4.9.0

What are the browser(s) and version(s) where you see this issue?

Chrome 112

What are the browser driver(s) and version(s) where you see this issue?

N/A

Are you using Selenium Grid?

No response

@kwikwag kwikwag changed the title [馃悰 Bug]: [馃悰 Bug]: SeleniumManagerException selenium-manager.exe is missing (Python 3.9 selenium 4.9.0) May 2, 2023
@kwikwag kwikwag changed the title [馃悰 Bug]: SeleniumManagerException selenium-manager.exe is missing (Python 3.9 selenium 4.9.0) [馃悰 Bug]: SeleniumManagerException selenium-manager.exe is missing (Anaconda Python 3.9 selenium 4.9.0) May 2, 2023
@github-actions
Copy link

github-actions bot commented May 2, 2023

@kwikwag, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C), add the applicable G-* label, and it will provide the correct link and auto-close the issue.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!

@diemol
Copy link
Member

diemol commented May 2, 2023

This is a duplicate of #11234, but I am not sure what the outcome is. Seems Anaconda builds it in a different way.

@symonk @titusfortner do you know what the outcome was?

@titusfortner
Copy link
Member

The code I referenced when I closed it does not apply to that issue. So either I linked to the wrong thing, or we didn't actually fix it.

I'm reopening that one, and we can track this there. Thanks for the report.

@KittyMurphy
Copy link

Hi,

Apologies for commenting on this closed issue, but the related issue #11234 is locked and limited to collaborators. I'm also being affected by this bug, I tried to workaround it by downloading selenium-manager.exe from the github repo and placing it in the folder that it's supposed to be in, and now:

import selenium.webdriver
driver = selenium.webdriver.Chrome()

gives me the error: Exec format error: '.../selenium/webdriver/common/linux/selenium-manager'

@titusfortner
Copy link
Member

Ah, I thought reopening the ticket automatically unlocked it. Fixed now. Continue conversation there. :)

@stevetracvc
Copy link
Contributor

This should be fixed by #12536

@scionuait
Copy link

scionuait commented Sep 16, 2023

i have an error when i try to inizialize Chrome Driver:

Unable to obtain driver using Selenium Manager: C:\Users\Local\anaconda3\Lib\site-packages\selenium\webdriver\common\windows\selenium-manager.exe is missing.

i follow the discussion but i dont understend how fix it. I try to re install selenium but selenium manager is still missing... plese can you help me?

@titusfortner
Copy link
Member

Hmm, I can't tell what path the code would have taken to get those messages.

This was referenced Oct 7, 2023
Copy link

github-actions bot commented Dec 5, 2023

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Dec 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants