我使用 Digital Ocean 和 Ubuntu 24.04 (LTS) x64 droplet + 此脚本 https://github.com/Yenthe666/InstallScript/tree/17.0 安装时出现以下错误。如果我禁用外部-
我使用 Digital Ocean 和 Ubuntu 24.04 (LTS) x64 droplet + 此脚本 https://github.com/Yenthe666/InstallScript/tree/17.0
安装时出现以下错误。
如果我禁用外部管理环境,我会收到另一个有关 idna 3.6 的错误(请参阅下面的第二个错误)。
有谁能解决这个问题?
谢谢你!
---- Install python packages/requirements ----
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.
If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.
See /usr/share/doc/python3.12/README.venv for more information.
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
IDDNA 错误
Installing collected packages: idna, greenlet, geoip2, ebaysdk, docutils, decorator, chardet, beautifulsoup4, Babel, zeep, vobject, reportlab, ofxparse, gevent, freezegun, cryptography, pyopenssl
Attempting uninstall: idna
Found existing installation: idna 3.6
ERROR: Cannot uninstall idna 3.6, RECORD file not found. Hint: The package was installed by debian.
Ubuntu 24.04 + Odoo 17.0 安装-错误:外部管理环境
下载声明:
本站所有软件和资料均为软件作者提供或网友推荐发布而来,仅供学习和研究使用,不得用于任何商业用途。如本站不慎侵犯你的版权请联系我,我将及时处理,并撤下相关内容!