Comments (10)
I was having this issue as well on WSL2/Ubuntu 20 LTS. Upgrading to 22 LTS took care of the issue, as it was ultimately about the wrong C libraries. I think this could be solved during compilation, but not sure how.
from plz-cli.
So the install is trying to use a version higher than what you all have... had the same issue. If you download and install rust and then cargo build on your system it should work.
so
- Install rust
- clone repository
- cargo build
- cargo run
from plz-cli.
This should have been fixed by #19 and the new tagged release, could someone download the musl
binary and confirm?
from plz-cli.
Can confirm, running the curl command now installs plz 🙂 I can now provide a OpenAI key.
from plz-cli.
I have the same error
$ curl -fsSL https://raw.githubusercontent.com/m1guelpf/plz-cli/main/install.sh | sh -
sh: 26: [[: not found
https://github.com/m1guelpf/plz-cli/releases/latest/download/plz-linux-x86_64
downloading latest binary
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 13.1M 100 13.1M 0 0 651k 0 0:00:20 0:00:20 --:--:-- 917k
/home/[email protected]/.bin/plz: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /home/[email protected]/.bin/plz)
/home/[email protected]/.bin/plz: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /home/[email protected]/.bin/plz)
/home/[email protected]/.bin/plz: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/[email protected]/.bin/plz)
installed -
from plz-cli.
Same error on Ubuntu 20.04.
from plz-cli.
Same error here
from plz-cli.
We've got to do this for each release?
from plz-cli.
We've got to do this for each release?
I am not too familiar with rust, but the best I can tell is that the file is compiled using a certain version of libc6. If your system is not using the same version then you need to do this. Once it is built you can just put the compiled binary in your PATH (this is most of what the first part of the install script is doing anyway) and it will work like normal from then on as far as I can tell. That worked for me.
from plz-cli.
So the install is trying to use a version higher than what you all have... had the same issue. If you download and install rust and then cargo build on your system it should work.
so
- Install rust
- clone repository
- cargo build
- cargo run
you can use cargo build --release
command to build plz
binary.
from plz-cli.
Related Issues (20)
- Save Script in file HOT 1
- save to history
- Homebrew commands are out of date HOT 2
- Proposal: store OpenAI API key securely
- More info for error "Failed to get a response. Have you set the OPENAI_API_KEY variable?" HOT 9
- Doesnt work on Linux aarch64 HOT 1
- please delete
- plz command not available on linux after the installation HOT 2
- add installation instruction for windows HOT 3
- Error installing on Ubuntu 20.04 HOT 4
- Temp files HOT 1
- Support for newer versions of the API?
- Retry on Error HOT 1
- Allow "retry" or "correction" in addition to yes/no
- Add option to continue prompting after execution, with submitted output
- Upgrade deprecated `text-davinci-003` model HOT 4
- Fix build scripts on Linux HOT 11
- Request: Don't require quotes around the prompt HOT 5
- Request: Make plz aware of the current OS HOT 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 plz-cli.