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

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

Open
Fyroeo opened this issue Jan 16, 2023 · 0 comments
Open

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

Fyroeo opened this issue Jan 16, 2023 · 0 comments
Assignees
Labels
bug Something isn't working verified When the issue as been tested as reproductible

Comments

@Fyroeo
Copy link
Collaborator

Fyroeo commented Jan 16, 2023

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

@Fyroeo Fyroeo added bug Something isn't working verification Checking if the bug can be reproduced labels Jan 16, 2023
@Fyroeo Fyroeo self-assigned this Jan 16, 2023
@Fyroeo Fyroeo added verified When the issue as been tested as reproductible and removed verification Checking if the bug can be reproduced labels Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working verified When the issue as been tested as reproductible
Projects
None yet
Development

No branches or pull requests

1 participant