Able to install connexion, but cannot install swagger-ui. How can I fix this?
You can install it by using quotes
pip install "connexion[swagger-ui]"
Related
I had a hard time installing farm-haystack with FAISS on Mac. So, I decided to document the solution here for others.
When trying to install pip install 'farm-haystack[docstores,faiss]' it failed with the following error
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
The solution was to run xcode-select --install and re-install haystack and it solved the problem.
Then when importing the haystack and running the program I got the following error -Error #15: Initializing libiomp5.dylib, but found libiomp5.dylib already initialized
To solve this, I needed to tell Conda to not use MKL conda install nomkl. But installing nomkl after installing farm-haystack doesn't solve the problem. I need to start with a new environment.
To summarize, here are the steps.
xcode-select --install
Create new conda environment
conda install nomkl
pip install 'farm-haystack[docstores,faiss]'
I'm trying to install opencv-python through pip but I keep getting an error. How do I go about it
I used normal 'pip install opencv-python' and it gave me an error, I downloaded the whl file and it still gave me an error
It gives me an error message like:
ERROR: Could not find a version that satisfies the requirement opencv-python (from versions: none)
ERROR: No matching distribution found for opencv-python
Please check the version of pip in your machine. Most probably the issue is due to non compatible version of pip. Try upgrading pip using 'pip install --upgrade pip'
As per the steps given in fastlane docs, I am not able to install fastlane.
After running brew cask install fastlane, I get this pop up:
If I try to run from gem with sudo gem install fastlane, I get this error:
What I see is the ruby.h file is missing from the directory. As it says in the error, I need to install the ruby-dev environment separately. But I could not find how to do that. I saw apt-get commands for this, but then what about the ruby installed via brew?
ruby -v: ruby 2.6.3p62
brew -v: Homebrew 2.1.10
brew upgrade ruby: ruby 2.6.3 already installed
Since the error says we have to instal ruby as a separate package for development, I had to install rbenv as shown on ROR's website. You can check the full problem and solution here.
Run this to disable Gatekeeper:
sudo spctl --master-disable
Then install and run fastlane. When done, run this to re-enable Gatekeeper:
sudo spctl --master-enable
It will remember that you have permitted the application after re-enabling Gatekeeper and you will not have to run these commands every time you use it.
According to https://github.com/fastlane/fastlane/issues/15183
This is a common issue which nobody can solve it.
In case you can't update fastlane version
try
sudo gem install -n /usr/local/bin fastlane
I have installed Grunt & Bower & I'm using ZSH.
when I type bower --help or grunt anything I get zsh: command not found: bower or zsh: command not found: grunt how can I fix this?
Add /usr/local/share/npm/bin/ to your $PATH environment
I couldn't get the above to work. Problem was that I had just reinstalled my Mac and forgotten to re-install grunt.
You can test that grunt is actually installed and working properly outside of zshell by going back to bash with bash -l and running grunt.
If grunt is throwing the same error you can install grunt by running:
sudo npm install -g grunt-cli
Run zsh to get back to zshell.
When you installed, did you install globally?
npm install -g bower
give that a try. If not, also try adding sudo
sudo npm install -g bower
When you install grunt (bower), terminal tell you directory. For those using a ZSH shell, add this to .zshrc:
export PATH=/usr/you/directory/npm/bin:$PATH,
I find it using:
/lib/node_modules
export PATH=/usr/lib/node_modules/npm/bin:$PATH
I used yarn instead of npm:
yarn add grunt grunt-cli
yarn grunt
It worked for me.
Hopefully, it will help someone else :)
If you are using the GNOME-Terminal (default in Ubuntu Unity and Gnome) try the answer of https://askubuntu.com/questions/279180/nvm-command-not-found-issue.
I am trying to bundle install the Rails project I pulled from GitHub. However, I run in this issue. Here is my Gemfile.
I can't get this to work. Any opinions what might go wrong here?
THANKS!
On ubuntu you need to install libmysqlclient-dev package using the command
sudo apt-get install libmysqlclient-dev
You need to install the mysql dev packages to compile the native extension.