GithubHelp home page GithubHelp logo

Comments (5)

github-actions avatar github-actions commented on May 27, 2024

Jira ticket: AR-2039

from build.

EvilOlaf avatar EvilOlaf commented on May 27, 2024

Retry with clean build environment. It seems like Python has been altered.
Also installing docker (and making it available for the user account you are using to build) should circumvent this.

As expected working just fine: https://paste.armbian.com/awiceqatox

from build.

SteeManMI avatar SteeManMI commented on May 27, 2024

It does seem like something is non-standard in your python environment.

The code is adding --break-system-packages for a specific version level of pip3:
from lib/functions/general/python-tools.sh:
declare -a pip3_extra_args=("--no-warn-script-location" "--user")
# if pip 23+, add "--break-system-packages" to pip3 invocations.
# See See PEP 668 -- System-wide package management with pip
# but the fact is that we're not managing system-wide, instead --user
if linux-version compare "${pip3_version_number}" ge "23.0"; then
pip3_extra_args+=("--break-system-packages")
fi
if linux-version compare "${pip3_version_number}" ge "22.1"; then
pip3_extra_args+=("--root-user-action=ignore")
fi

According to https://pip.pypa.io/en/stable/cli/pip_install documentation the version of pip you are running 23.3.2 should support --break-system-packages

Also on my 22.04 jammy environment I have pip3 version 22.0.2 installed with python3 version 3.10.12. Your environment seems to have a pip3 of 23.3.2 on 3.10.12.

from build.

Gjuju avatar Gjuju commented on May 27, 2024

Thanks a lot, you were right.

It works perfectly on another system with stock py3.

Best regards.

from build.

viraniac avatar viraniac commented on May 27, 2024

ok, as you are able to build. Closing the issue.

from build.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.