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

PROBLEM: wx installation #22

Open
everythingability opened this issue Oct 21, 2024 · 3 comments
Open

PROBLEM: wx installation #22

everythingability opened this issue Oct 21, 2024 · 3 comments

Comments

@everythingability
Copy link

I know it's not your problem, this one is definitely mine BUT....

I can't get wx to install on an M2 mac so I can't install from source, so I can't try out your new clickLine function.

Installing wx Mac Silicon seems to be a problem other people have had and I can't get to the bottom of it. This is where ALWAYS Python is an issue... getting the correct support modules and binary helpers installed is the stuff of nightmares. (for me at least).

Note: I don't have access to some root folders - my mac is managed by my org... which means in theory I should be able to install pip stuff locally - not my area of skill at all... I always end up trying dozens of different ways to install something and eventually it (sometimes) works.

After trying pip pipx and brew to install wx - after a while I added this to the designer.py file

import sys
>>> sys.path.insert(0, "/Users/tas509/.local/pipx/venvs/pip/lib/python3.12/site-packages")

And I can run it ... not sustainable, but maybe I can play with clickLine now.

@benjie-git
Copy link
Owner

You can try my 2nd prebuilt pre-release version which includes these new features.

https://github.com/benjie-git/CardStock/releases/tag/v0.99.7_pre2

@everythingability
Copy link
Author

Thanks, some great updates.

@everythingability
Copy link
Author

FYI I found I could install wx reliably on a newer M2 mac with pipx. As long as I add the line...

PATH=/Users/tas509/.local/pipx/venvs:$PATH
export PATH

to .zshrc

But also added

export PYTHONPATH="$PATH:$PYTONPATH"

...which may be the bit that does the magic. Dunno.

Just provided as help for anyone else having issues.

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