I have a problem with pip.I am sure about ı downloaded it becouse when ı write
[/pip3 --version]
ı am getting
[/pip 23.2 from /usr/lib/python3/dist-packages/pip (python 3.11)]
but when ı type
[/pip install openai]
ı am getting
"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"
Please help ı cant answer now becouse ı am at outside and sorry ıf ı chose wrong topic becouse ı am new to forum and ubuntu.Please help ı need it quickly.Solved.
Bookmarks