Giter Site home page Giter Site logo

Comments (4)

 avatar commented on September 24, 2024

Hi, I am trying to create a conda environment with Python version3.8 and trying to run this code inside it. I am getting the below error:

====================================================================================

curl -SsL https://packages.httpie.io/deb/KEY.gpg | gpg --dearmor -o /usr/share/keyrings/httpie.gpg &&

echo "deb [arch="arm64" signed-by=/usr/share/keyrings/httpie.gpg] https://packages.httpie.io/deb ./" > /etc/apt/sources.list.d/ httpie.list && apt update && apt install httpie

File '/usr/share/keyrings/httpie.gpg' exists. Overwrite? (y/N) y

gpg: can't create '/usr/share/keyrings/httpie.gpg': Permission denied

gpg: no valid OpenPGP data found.

gpg: dearmoring failed: Permission denied

curl: (23) Failed writing body

====================================================================================

I tried the below command and seems I am able to install httipe version 3.2.1. Can you please try it and let me know.

====================================================================================

curl -SsL https://packages.httpie.io/deb/KEY.gpg | sudo gpg --dearmor -o /usr/share/keyrings/httpie.gpg && echo "deb ###[arch=amd64 signed-by=/usr/share/keyrings/httpie.gpg] https://packages.httpie.io/deb ./" | sudo tee -a /etc/apt/sources.list.d/httpie.list && sudo apt update && sudo apt upgrade httpie

Output --

http --version

3.2.1

====================================================================================

from cli.

AndriySidliarskiy avatar AndriySidliarskiy commented on September 24, 2024

@siddharth07-ui but you use arch=amd64 in my case arch=arm64 it`s two different architecures.

from cli.

 avatar commented on September 24, 2024

Yes, I have tried both the arch's as you can see, and just thought of sharing my results with you.

from cli.

Ousret avatar Ousret commented on September 24, 2024

The installation tutorial has been updated it seems. For anyone stumbling here and still facing this or similar issue, ping us.
The gpgarmor was missing privilege elevation via sudo.

from cli.

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.