Git Product home page Git Product logo

Comments (3)

hectoralicea avatar hectoralicea commented on May 31, 2024

More data:

`[root@aks-bastion01-poc /]# pip install yq --verbose
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Created temporary directory: /tmp/pip-ephem-wheel-cache-v7Dfq7
Created temporary directory: /tmp/pip-req-tracker-UJb8aA
Created requirements tracker '/tmp/pip-req-tracker-UJb8aA'
Created temporary directory: /tmp/pip-install-KZyOfW
Collecting yq
1 location(s) to search for versions of yq:

from yq.

hectoralicea avatar hectoralicea commented on May 31, 2024

Found a sequence of steps that worked to get yq installed on CentOS 7. Here you go. Kind of funky, but it works. Came from the following thread. pypa/pip#5247 (comment)

`
yum -y install epel-release
yum -y install python-pip

#install jq
wget -nv -O /usr/local/bin/jq https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64
chmod u+rwx,g+rx,o+rx /usr/local/bin/jq
jq --version

#install pip and yq

pip install --upgrade --force-reinstall pip==9.0.3 #Temporarily downgrade pip to install yq
pip install yq --disable-pip-version-check
yq --version
pip install --upgrade pip #revert pip back to latest version
`

from yq.

kislyuk avatar kislyuk commented on May 31, 2024

This looks like it's not a yq error, but a configuration issue with your Python toolchain.

Without specific information about the steps needed to reproduce this issue, I can't help you. Perhaps pip is installing the package executables into a location not on your $PATH. You can check the location of the installed files with pip show -f yq.

from yq.

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.