8wDlpd.png
8wDFp9.png
8wDEOx.png
8wDMfH.png
8wDKte.png

Ubuntu 24.04 + Odoo 17.0 安装-错误:外部管理环境

Drey' 2月前

80 0

我使用 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.
帖子版权声明 1、本帖标题:Ubuntu 24.04 + Odoo 17.0 安装-错误:外部管理环境
    本站网址:http://xjnalaquan.com/
2、本网站的资源部分来源于网络,如有侵权,请联系站长进行删除处理。
3、会员发帖仅代表会员个人观点,并不代表本站赞同其观点和对其真实性负责。
4、本站一律禁止以任何方式发布或转载任何违法的相关信息,访客发现请向站长举报
5、站长邮箱:yeweds@126.com 除非注明,本帖由Drey'在本站《ubuntu》版块原创发布, 转载请注明出处!
最新回复 (0)
  • 我想将所有流量从我的 blog.oldsite.com 重定向到 blog.newsite.com例如:blog.oldsite.com => blog.newsite.comblog.oldsite.com/page1 => blog.newsite.com/page1我已经按照这个做...

    我想将所有流量从我的 blog.oldsite.com 重定向到 blog.newsite.com

    例如:

    • blog.oldsite.com => blog.newsite.com
    • blog.oldsite.com/page1 => blog.newsite.com/page1

    我已遵循 此文档 :

    添加了突出显示的部分:

    sudo vim /etc/apache2/sites-available/000-default.conf

    enter image description here

    然后将以下行添加到:

    sudo vim /var/www/html/.htaccess

    enter image description here

    最后到我的旧网站目录:/var/www/blog.oldsite.com

    sudo vim .htaccess

    添加了突出显示的部分:

    enter image description here

    现在我正确获得了以下重定向:

    • blog.oldsite.com => blog.newsite.com

    但以下请求未被重定向:

    • blog.oldsite.com/page1 => blog.oldsite.com/page1

    不确定为什么路径没有被正确重定向?

返回
作者最近主题: