camelot-dev / camelot-dev/camelot

Not able to install on M1

Open
#279 3 comments 6 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
3.8k
Forks
546
Avg merge
3d 17h
Merged PRs (30d)
3

Description

**Describe the bug**

I'm trying to install camelot v0.10.1 on my mac with M1 chip but I'm getting

```
ERROR: Could not find a version that satisfies the requirement pdftopng>=0.2.3; extra == "base" (from camelot-py[base]) (from versions: 0.1.0)
```

when trying to install with

```
pip install "camelot-py[base]==0.10.1"
```

The reason is `pdftopng` is not available for arm64.

I assume the best solution is a fix in `pdftopng` but maybe it shouldn't be a strict dependency? Currently downgrading to 0.9.0 works.

**Environment**

- OS: [e.g. macOS]: macOS
- Python version: 3.8
- Camelot version: 0.10.1

**Additional context**

Issue related in [`pdftopng`](https://github.com/vinayak-mehta/pdftopng/issues/8)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported command, `pip install "camelot-py[base]==0.10.1"`, on an arm64 macOS environment and inspect how the `base` extra requires pdftopng. Review the related pdftopng issue before choosing an approach. Done means the installation behavior for supported M1 environments is resolved without breaking the base extra.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.