I am trying to install awless using the following command:
brew tap wallix/awless; brew install awless
but I am getting invalid syntax errors.
I managed to download and install awless using the following commands
curl -sS https://webinstall.dev/awless | bash
export PATH="/Users/akshaybhadange/.local/bin:$PATH"
Now awless is working as expected
Please note that awless has not been maintained for a couple of years and should be considered deprecated. Please check this issue: https://github.com/wallix/awless/issues/297
Similar brew installation issues are reported in the project's issue tracker, but I don't think there are no efforts to get this fixed.
Related
I'm trying to upgrade SAM CLI, version 1.18.2 to 1.22.0 on Ubuntu 20.04. I used brew command:
~brew upgrade aws-sam-cli#1.22.0
but didn't work. Showed the next message:
Error: No available formula or cask with the name "aws-sam-cli#1.22".
Also I'm trying to find a downloadable to install a certain version.
Thanks for your help!
https://github.com/aws/aws-sam-cli/issues/1767
For anyone in the future, use pip.
pip3 install --user 'aws-sam-cli==1.12.0'
I can't install psycopg2 on my m1 Mac. I tried to reinstall openssl with brew. I tried a lot of thing but nothing changed. The error log is super long so I couldn't understand what is wrong. I am facing up with this error when I try to pip install psycopg2 Waiting for your help.
Here is the full error log: https://wtools.io/paste-code/b4jG
The error is happening because it seems to be having some problem with ssl. I used different answers from a similar question to solve it for myself:
Install openssl if you don't have:
brew install openssl
Check the path where openssl got installed using:
brew --prefix openssl
Use output from above and add LD flag when running the pip command, for example in my case the output was /opt/homebrew/opt/openssl#1.1 so I did the following:
LDFLAGS="-I/opt/homebrew/opt/openssl#1.1/include -L/opt/homebrew/opt/openssl#1.1/lib" pip install psycopg2
And that did the trick for me.
I got the following error on Ubuntu 16.04:
$ cppcheck --project=compile_commands.json
cppcheck: error: unrecognized command line option: "--project=compile_commands.json".
I already tried reinstalling cppcheck. Does anyone know to what this error is related?
cppcheck doesn't support the --project option on the version available by default on Ubuntu 16.04 (xenial). The version of cppcheck there is 1.72
If you wish to use the option --project then install a newer cppcheck.
It can be installed from the snap store (sudo snap install cppcheck).
It can be installed manually from cppcheck.net - download source, build locally
You can upgrade to ubuntu 18.04/20.04 and use the version from there.
I try to install the package "data.table" (and "aws.s3)" via Rstudio Server on an Amazon Linux instance following this guide:
http://stanke.co/category/r/
Unfortunately, I get the following error message. I really don't know what else to do.
Can anybody help? I installed devtools and I am able to install other packages such as xml2, devtools and deplyr.
I had the same issue on AWS and already fixed.
You need first install gcc64 and openmp shared support library.
sudo yum install gcc64
sudo yum install libgomp
Then under your user home create an .R folder with a Makevars file in it, with the following content (it will tell to R which compiler to use):
CC = /usr/bin/gcc64
CXX = /usr/bin/g++
SHLIB_OPENMP_CFLAGS = -fopenmp
I hope it's working for you as well ...
You need to install dmlc-core.
This link will provide more information:
A common bricks library for building scalable and portable distributed machine learning
based on https://github.com/RcppCore/RcppArmadillo/issues/200, I think this issue is due to a g++ compatability issue. It might also explain why when I installed devtools it kept giving me [-Wdeprecated-declarations]
so run:
sudo yum remove gcc72-c++.x86_64 libgcc72.x86_64
yum install R-devel
Then you should be able to run the installation command.
I'm on a Windows based machine using GitBash for my shell. When I run, pip install aws cli, I get the following message:
Could not find a version that satisfies the requirement cli (from versions: ) No matching distribution found for cli
I Googled the error, and many responses indicate that it's can be the result of a package that's not contained in pypi, etc. (Pip install-couldn't find a version that satisfies the requirement).
However, since I'm following the video here: http://course.fast.ai/lessons/aws.html at 4:13, and it worked for the instructor, I'm not sure what I'm missing - can someone help me understand this (including any helpful troubleshooting commands to identify the source of the issue?)
I'm new to AWS and also bash so I apologize if this is a relatively elementary question.
Thanks in advance!
-Ryan
The command should be:
pip install awscli
You need to remove the space between 'aws' and 'cli'.
Try these commands
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
then
pip install awscli