instant_gratification - capn-freako/PyBERT GitHub Wiki
Installation and Setup
Note: As of release v6 PyBERT is now Pip-installable; no more Conda!
Note: The older Macs w/ Intel silicon are no longer supported.
1 - Python Virtual Environment Creation and Activation
Note: DO NOT SKIP THIS STEP! It protects your already installed system Python environment from corruption.
python3 -m venv ~/.venv/pybert6
(If this fails, try just "python".)source ~/.venv/pybert6/bin/activate
(Windows:source ~\.venv\pybert6\Scripts\activate
)
Windows Users Only (And only if the above doesn't work for you.)
%PYTHON% -m venv %HOMEPATH%/.venv/pybert6
%HOMEPATH%\.venv\pybert6\Scripts\activate.bat
2 - Customized Dependency Installation for Python 3.12 Users Only
Note: This section is for Python 3.12 users only. If you are running Python 3.9,10,11 then skip ahead to step 3.
With Python 3.12, two of PyBERT's dependencies: Chaco and Enable exhibit fragile building and installation, in the wild. So, I have built known working versions of these, for your convenience.
Windows
pip install https://github.com/capn-freako/PyBERT/raw/master/deps/enable-6.1.0.dev0-cp312-cp312-win_amd64.whl
pip install https://github.com/capn-freako/PyBERT/raw/master/deps/chaco-6.0.0-cp312-cp312-win_amd64.whl
Mac M1/M2 (Mac Intel is no longer suppported.)
pip install https://github.com/capn-freako/PyBERT/raw/master/deps/enable-6.1.0.dev0-cp312-cp312-macosx_12_0_arm64.whl
pip install https://github.com/capn-freako/PyBERT/raw/master/deps/chaco-6.0.0-cp312-cp312-macosx_12_0_arm64.whl
Linux
(Python 3.12 is not yet available for Ubuntu 22.04.)
3 - PyBERT Installation and Testing
pip install PipBERT
pybert
(The warning messages may safely be ignored.)
Please: If you find any of the above broken then let me know, by sending e-mail to: [email protected], giving me the terminal output and your machine description, so that I can fix things for you. Thanks! :)