Comments (4)
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.
@siddharth07-ui but you use arch=amd64 in my case arch=arm64 it`s two different architecures.
from cli.
Yes, I have tried both the arch's as you can see, and just thought of sharing my results with you.
from cli.
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)
- ### Summary HOT 1
- server HOT 1
- CLI help doesn't show how to launch in a browser! HOT 1
- Automated dependency bump with the latest Deno modules HOT 1
- dnf install httpie not working on CentOS-STREAM9 HOT 1
- JSON properties are shuffled HOT 5
- Embed json in a query string
- Can you add support for multilingual languages?
- Installation using chocolatey fails installing to system Python environment
- Unable to access HTTPS URLs on Windows securely HOT 13
- HTTPS connections failing since requests version 2.32.3 HOT 10
- Pasting some curl requests in the URL field mostly fails
- PYSEC-2023-242 status
- v3.2.3 GitHub release missing binary and package
- error when running http/https under nohup HOT 1
- Make option redirect output from `--output/-o` to `stdin`
- Using METHOD and --verify causes URL not to be recognized HOT 1
- Add type hints for plugin developers
- Possibility to read multiple headers etc, from the same file
- Update httpie to use requests lib version >= 2.32.1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.