Closed jtorreggiani closed 3 days ago
hrm - yeah this isn't good. I did a pipx uninstall goose-ai
and then install:
goose --version
Traceback (most recent call last):
File "/Users/micn/.local/bin/goose", line 5, in <module>
from goose.cli.main import cli
File "/Users/micn/.local/pipx/venvs/goose-ai/lib/python3.12/site-packages/goose/cli/main.py", line 10, in <module>
from goose.cli.config import SESSIONS_PATH
File "/Users/micn/.local/pipx/venvs/goose-ai/lib/python3.12/site-packages/goose/cli/config.py", line 9, in <module>
from exchange.providers.ollama import OLLAMA_MODEL
File "/Users/micn/.local/pipx/venvs/goose-ai/lib/python3.12/site-packages/exchange/__init__.py", line 6, in <module>
from exchange.exchange import Exchange # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/micn/.local/pipx/venvs/goose-ai/lib/python3.12/site-packages/exchange/exchange.py", line 6, in <module>
from exchange.langfuse_wrapper import observe_wrapper
File "/Users/micn/.local/pipx/venvs/goose-ai/lib/python3.12/site-packages/exchange/langfuse_wrapper.py", line 51, in <module>
LANGFUSE_ENV_FILE = os.path.join(PACKAGE_ROOT, ".env.langfuse.local")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen posixpath>", line 76, in join
TypeError: expected str, bytes or os.PathLike object, not NoneType
should be fixed now
pipx doesn't seem to install goose with the correct python version. By default goose seems to look for your system python3 version which is in my case is 3.13.0. When I explicitly specify the goose version and python version pipx installs goose with 3.12.6.
I get errors running commands.
Inspecting the executable I see the python path.
Confirmed it is using Python 3.12.6
If change into the goose direction and sync the environment and create a virtual env and update
And patch the python path in the executable.
I can run goose from other directories and seems to otherwise work as expected.
Apologies I created this issue with the wrong Github account and closed the original. 😅