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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

downloading geckodriver fails on macOS #18

Open
workflowsguy opened this issue Oct 27, 2022 · 2 comments
Open

downloading geckodriver fails on macOS #18

workflowsguy opened this issue Oct 27, 2022 · 2 comments

Comments

@workflowsguy
Copy link

When trying to download the geckodriver either through script or CLI on macOS, there is the following error:

RuntimeError: Error, unable to determine correct filename for 64bit macos

@sinedie
Copy link

sinedie commented Dec 31, 2022

The error is in this line. Cause it is searching for a file with the string macos64 and it doesn't exist in github. It should be macos-aarch64

filename = [name for name in filenames if os_name + bitness in name]

image

@sinedie
Copy link

sinedie commented Dec 31, 2022

A workaround could be use the library like this

gdd.download_and_install(os_name='macos', bitness='-aarch64')

if you already know if your are in macos and 64 bit machine. Or use 32 bit version? idk

NOTE: I didn't try it, dont own a mac, but should work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants