Coder Social home page Coder Social logo

error install Ubuntu 16.04 about streisand HOT 4 OPEN

indevor avatar indevor commented on May 24, 2024
error install Ubuntu 16.04

from streisand.

Comments (4)

D1E7BF44 avatar D1E7BF44 commented on May 24, 2024 3

You need to change line 253 of /util/venv-dependencies.sh to our_pip_install --upgrade 'pip < 21.0'.

from streisand.

h-saber avatar h-saber commented on May 24, 2024

I've solved this issue by updating Python to 3.9 and all pip versions to 21.
But I receive a nonsense error when trying ./util/venv-dependencies.sh ./venv
Here it is:

Error: Command '['/root/streisand/venv/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.

'python -m venv' failed to create directory './venv'

Note that ./venv must not exist, but its parent (.) must
exist.

The first argument, 'new-directory', must be somewhere you can write
to. A good place is './venv'. If it already exists, please delete the
directory, or use a different name.

This error happens while no venv directory exists there.

OS: Ubuntu 16.04

from streisand.

h-saber avatar h-saber commented on May 24, 2024

You need to change line 253 of /util/venv-dependencies.sh to our_pip_install --upgrade 'pip < 21.0'.

I did try this before your comment, but the scripts stops on cryptography and says you should upgrade to latest pip.

from streisand.

changhefirst avatar changhefirst commented on May 24, 2024

Do not upgrade python to 3.9, stay 3.5, but only upgrade the pip to 19.0.1, then comment all the 'pip_install' phases. (should two places, search all the codes.)

The codes are nearly too old.

from streisand.

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.