Reply To: Set up a Local AI like ChatGPT on your own machine!
What makes us different from other similar websites? › Forums › Tech › Set up a Local AI like ChatGPT on your own machine! › Reply To: Set up a Local AI like ChatGPT on your own machine!
If you get this error message, running the following command …
$ python3.11 -m venv myenv
$ python3.11 -m venv myenv
The virtual environment was not created successfully because ensurepip is not
available. On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.
apt install python3.11-venv
You may need to use sudo with that command. After installing the python3-venv
package, recreate your virtual environment.
Failing command: ['/home/user/myenv/bin/python3.11', '-Im', 'ensurepip', '--upgrade', '--default-pip']
Do the following …
$ sudo add-apt-repository ppa:deadsnakes/ppa
$ sudo apt update
$ sudo apt upgrade
$ sudo apt install -f
$ sudo apt autoremove
$ sudo apt install python3.11
After this, you may have to delete your environment or rename it for backing it up. The data should be saved, minus the webui settings, and all the chats. Keep this in mind. After you delete the environment (or rename) folder, you go back and reinstall the webui.
Note: Some of the install will fail as your models will be already setup. You can remove it to restart fresh, or leave it the same. This is your choice.
- This reply was modified 3 weeks, 4 days ago by thumbtak.