Skip to content

[BUG]: ModuleNotFoundError: No module named 'pcpp' on macOS #57

@Fyroeo

Description

@Fyroeo

What happened?

For some strange reasons, Abricot on macOS doesn't work as it can't found the pcpp module.
But, after verifying with pip install pcpp, the module is already installed. (output: Requirement already satisfied: pcpp in /usr/local/lib/python3.10/site-packages (1.30))

I found a temporary workaround :

  1. Get the site-packages path from the pip install pcppcommand. Mine is /usr/local/lib/python3.10/site-packages
  2. Create an alias for your terminal environnement to specify the PYTHONPATH to the site-packages path when using abricot. For example, since I am on ZSH, I added to my .zshrc the following line: alias abricot='PYTHONPATH=/usr/local/lib/python3.10/site-packages abricot'

Abricot should then work properly.
I'm still working to find why it can't find the pcpp module...

Version

Yes

What OS are you seeing the problem on?

macOS

Relevant output

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingverifiedWhen the issue as been tested as reproductible

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions