I've installed ipget from this github repo: https://github.com/ipfs/ipget. I have followed all steps, i.e.:
go get -d github.com/ipfs/ipgete
cd ${GOPATH}/src/github.com/ipfs/ipget
make install
I now try to run the following command:
ipget
QmQ2r6iMNpky5f1m4cnm3Yqw8VSvjuKpTcK1X7dBR1LkJF/cat.gif -o nyan.gif
When I run this, I get the following error:
zsh: command not found: ipget
What should I do to resolve this issue?
If command is not found you don't have ipget installed yet. Try installing it by downloading a binary from here: https://dist.ipfs.io/#ipget
Related
I'm trying to install psql on Mac (M1). I'm following this tutorial.
I'm in this step: brew link --force libpq ail, but I get the error Error: No such keg: /usr/local/Cellar/ail. How can I fix this?
It seems to be a typo. I tried the commented suggestion brew link --force libpq and it worked.
PS: I can use Xcode to build the version successfully.
I got the similar error when use codemagic. unable-to-load-contents-of-file-.
After made the changed mentioned in the above link.
I got build error in codemagic, but didn't should any message releated to build error.
you can try to update your pods to match the new version or downgrade pods with the following custom script:
#!/bin/sh
set -e # exit on first failed command
set -x # print all executed commands to the terminal
yes | gem uninstall cocoapods -v 1.7.2 || true
gem install cocoapods -v 1.6.1
One tip to show more logs is to enter -v or --verbose to build arguments in the build section.
Following steps from https://vapor.github.io/documentation/getting-started/install-toolbox.html are leaded to this error:
$ curl -sL toolbox.vapor.sh | bash
/swift-3.0/usr/bin/swift-build: error while loading shared libraries: libFoundation.so: cannot enable executable stack as shared object requires: Invalid argument
Any ideas?
I don't have Ubuntu on Windows to check with, but this is a known issue.
This commenter on GitHub appears to have found a solution.
apt-get install execstack
execstack -c {swift_path}/usr/lib/swift/linux/libFoundation.so
I had a problem while installing Snoopy which I couldn't resolve and couldn't find any answers to, so I spent over 8 hours figuring it out and I'm going to post it here so others don't need to struggle.
My problems were that the installation would fail when collecting PIL
The error was:
Could not find a version that satisfies the requirement PIL (from versions: )
No matching distribution found for PIL
Another error I got was an issue with a python library:
Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-7DSxKG/pylibpcap/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-UmzXwX-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-7DSxKG/pylibpcap/
The last error I got was that the dpkt couldn't download because of a 404.
the error message I got was:
Collecting https://dpkt.googlecode.com/files/dpkt-1.8.tar.gz
HTTP error 404 while getting https://dpkt.googlecode.com/files/dpkt-1.8.tar.gz
Could not install requirement https://dpkt.googlecode.com/files/dpkt-1.8.tar.gz because of error 404 Client Error: Not Found for url: https://dpkt.googlecode.com/files/dpkt-1.8.tar.gz
Could not install requirement https://dpkt.googlecode.com/files/dpkt-1.8.tar.gz because of HTTP error 404 Client Error: Not Found for url: https://dpkt.googlecode.com/files/dpkt-1.8.tar.gz for URL https://dpkt.googlecode.com/files/dpkt-1.8.tar.gz
After I fixed these errors snoopy installed perfectly, I'll post how I sloved all of these issues now.
I solved these issues by doing the following:
Execute the following commands in terminal.
apt-get update
apt-get upgrade
apt-get install python-libpcap
then either in terminal with nano or using your trusty text editor open the snoopy-ng install.sh:
In terminal cd to where install.sh is kept and type
nano install.sh
go to
echo "[+] Downloading dpkt..."
and by the link link which should be "https://dpkt.googlecode.com/files/dpkt-1.8.tar.gz"
change it to
http://pkgs.fedoraproject.org/repo/pkgs/python-dpkt/dpkt-1.8.tar.gz/0f8e5a4d4b2f5d5faaf7bbfbf3e1e8b7/dpkt-1.8.tar.gz
next save the install.sh, in nano do this by pressing ctrl + x this will exit the file and prompt you to save the file, press y to save changes next go to terminal and type
sudo sh install.sh
Voila! Snoopy should install without any issues.
I tried installing Bigquery command-line tool under Linux using "easy_install bigquery" as well as manually via "python setup.py install".
I got the message "Finished processing dependencies for Bigquery." without an error.
Still, when I type "bq", I get the message "command not found".
Is there anything else to do?
Can you try running the easy_install command with the --record=log.txt flag? It should then give you a list of the output files when it is completed in the log.txt file.
E.g.
$ sudo easy_install --record=log.txt --upgrade bigquery
....
Installing bq script to /usr/local/bin
....
$ cat log.txt
/usr/local/bin/bq
You might also try the --verbose option as well.
Had the same issue, you can try
pip install --upgrade google-cloud-bigquery