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

Fix so pip install runs in venv #29

Open
ErikBjare opened this issue Nov 6, 2023 · 2 comments
Open

Fix so pip install runs in venv #29

ErikBjare opened this issue Nov 6, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@ErikBjare
Copy link
Owner

ErikBjare commented Nov 6, 2023

Right now it sometimes tries to install Python packages, but fails since it doesn't install them in the Python environment it is running in (I assume).

Could probably set some env variables for this, like PYTHONHOME or PYTHONPATH.

@darwinssy
Copy link

bash: PYTHONPATH: command not found help me sir

@ErikBjare
Copy link
Owner Author

ErikBjare commented Nov 29, 2023

Although this might mess up the gptme installation.

We could add a method to use either, since it could be useful to self-update and install extras.

Might be important to look over which Python is used by the REPL and shell, and ensure it is the same. And write some tests for it.

@Leonardo2801 Sorry, still working on this.

@ErikBjare ErikBjare added the bug Something isn't working label Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants