CardStock icon indicating copy to clipboard operation
CardStock copied to clipboard

PROBLEM: wx installation

Open everythingability opened this issue 1 year ago • 3 comments

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.

everythingability avatar Oct 21 '24 09:10 everythingability

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

benjie-git avatar Oct 23 '24 22:10 benjie-git

Thanks, some great updates.

everythingability avatar Oct 24 '24 09:10 everythingability

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.

everythingability avatar Oct 24 '24 12:10 everythingability