-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Error on 'pip install .' #103
Comments
yes that file contains |
@nerdylist I struggled with the same when I tried to run it on Gitpod, since I'm not very used to python. Thanks @dacbd for your suggestion. I solved it by creating a virtual python environment: python -m venv openui You can run that anywhere on your system (e.g. from your home directory). The virtual environment does not have to be in the project dir. On creation a new folder with the env name is created and some python deps are installed there. To enable the virtual environment in your current terminal session, run this from the same directory, where you ran the command to create the venv. source openui/bin/activate After the venv is activated, you can navigate to your openui repo backend dir and run In my PR about Gitpod support, you can check out the script that's running the same on init to automate setup. Line 10 in c97527f
Since I'm not a python pro there might be a more convenient or best practice way setting up the venv. I'd be happy for suggestions. 🙏 |
Nice, yep that works. Another option is to install pyenv and pyenv-virtualenv, then you can do something like:
|
Hello, I'm getting the following error when trying to run
pip install .
Any ideas?pyenv: version openui is not installed (set by /local/openui/backend/.python-version)
Thank you!
The text was updated successfully, but these errors were encountered: