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

Issue running on M1 mac using conda #115

Open
axeljeremy7 opened this issue Jul 23, 2023 · 1 comment
Open

Issue running on M1 mac using conda #115

axeljeremy7 opened this issue Jul 23, 2023 · 1 comment

Comments

@axeljeremy7
Copy link

Traceback (most recent call last):
File "/Users/axeljeremy/opt/miniconda3/bin/shot-scraper", line 5, in
from shot_scraper.cli import cli
File "/Users/axeljeremy/opt/miniconda3/lib/python3.9/site-packages/shot_scraper/cli.py", line 6, in
from playwright.sync_api import sync_playwright, Error, TimeoutError
File "/Users/axeljeremy/opt/miniconda3/lib/python3.9/site-packages/playwright/sync_api/init.py", line 25, in
import playwright.sync_api._generated
File "/Users/axeljeremy/opt/miniconda3/lib/python3.9/site-packages/playwright/sync_api/_generated.py", line 25, in
from playwright._impl._accessibility import Accessibility as AccessibilityImpl
File "/Users/axeljeremy/opt/miniconda3/lib/python3.9/site-packages/playwright/_impl/_accessibility.py", line 17, in
from playwright._impl._connection import Channel
File "/Users/axeljeremy/opt/miniconda3/lib/python3.9/site-packages/playwright/_impl/_connection.py", line 34, in
from greenlet import greenlet
File "/Users/axeljeremy/opt/miniconda3/lib/python3.9/site-packages/greenlet/init.py", line 29, in
from ._greenlet import _C_API # pylint:disable=no-name-in-module
ImportError: dlopen(/Users/axeljeremy/opt/miniconda3/lib/python3.9/site-packages/greenlet/_greenlet.cpython-39-darwin.so, 0x0002): tried: '/Users/axeljeremy/opt/miniconda3/lib/python3.9/site-packages/greenlet/_greenlet.cpython-39-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/axeljeremy/opt/miniconda3/lib/python3.9/site-packages/greenlet/_greenlet.cpython-39-darwin.so' (no such file), '/Users/axeljeremy/opt/miniconda3/lib/python3.9/site-packages/greenlet/_greenlet.cpython-39-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))

@timc3
Copy link

timc3 commented Nov 14, 2023

I am running on Apple Silicon (M2) and using Conda, and I haven't come across this error. Are you sure you installed Conda from scratch on your M1 with Python to get the correct architecture?

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