Closed k33g closed 1 year ago
This might be a Python SDK issue used by the CLI, being out of sync with libextism.
Can you try updating the Python SDK via:
pip install extism_cli --upgrade
same problem
but it's probably because of my linux setup (Ubuntu 23.04)
I need to install like this:
sudo apt-get install python3-pip -y
pip3 install poetry --break-system-packages
pip3 install git+https://github.com/extism/cli --break-system-packages
extism --prefix=/usr/local install latest
pip3 install extism --break-system-packages
pip3 install extism_cli --upgrade --break-system-packages
if I don't use --break-system-packages
I get this:
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.
See /usr/share/doc/python3.11/README.venv for more information.
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
Ok, interesting... we intend to ship a new CLI for our v1.0 release later this year -- and not in Python to help avoid some of this kind of packaging issue.
if I don't use --break-system-packages I get this
if you do use that flag, then you're able to install ok?
yes
I will wait for the new CLI (in the meantime I'm going to practice making one https://github.com/bots-garden/golab-demos/blob/main/minism/main.go#L74) 😄
Awesome. I love the name!!!
Hello, I get an error when I run:
Error:
My plugin is very simple:
Extism info: