-
Notifications
You must be signed in to change notification settings - Fork 940
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
[BUG] Can't install Playwright with Conda on M1 Mac #1745
Comments
Looks like it found conflicts but it's not able to list them. I'm not a conda expert, so would appreciate if you could dig a bit - maybe some log files somewhere will give us more hints or enabling a verbose mode. Let me try on my macOS in a bit. |
I tried it on my M1 mac with miniconda Intel where it was working without any issues. If you have miniconda for Apple M1 Silicon Chip, then its indeed not working. |
I do have an Apple M1 pro Silicon Chip... what are the workarounds for this (if any)? |
You can install miniconda Intel instead as a workaround. Maybe you can also override the arch which conda is installing. |
is direct support for M1 Silicon Chip in the works? when will it be available? In the meantime I will try what @mxschmitt suggested. I found the following 2 resources that might help me with the workaround: |
I have tried to install playwright with miniconda intel based on the above instructions and tried to install playwright but am still getting the same error:
What am I missing? |
Since not a lot of people are using conda with Playwright, and from my research an Apple Silicon Mac is required to publish to conda when you want to provide M1 conda builds, it most likely does not happen in the near future. We recommend using PIP for now, which has Apple Silicon support with Playwright. The error unfortunately does not say much what's going wrong. |
On Apple Silicon it seems there is a conflict with the greenlet version requirements. Playwright requires greenlet==2.0.1, but I can only install greenlet v.2.0.2 using pip. Installation from git installs correctly. |
Installed 1.36 with pip and there was no conflict with greenlet==2.02.
pip installs arm64 version - |
I've installed playwright into base env, but on playwright launch script is just stops with no error log |
This is not correct. You can specify the target platform in conda-build and create cross-platform builds. Conda-forge is actually doing exactly this for all their M1 packages. |
This should be fixed as part of v1.43.0 |
Context:
v1.30
MacOS Ventura 13.1
3.9
conda 22.11.1
Code Snippet
The text was updated successfully, but these errors were encountered: