How To Fix Gcc Error Produced By Pip Install?
I tried to install a python package from PyPI with the following command sudo pip3 install switcheo The installation fails and show this error message: gcc -Wno-unused-result -Wsi
Solution 1:
Install the libssl-dev
package
On Ubuntu, it's as simple as sudo apt-get install libssl-dev
On mac, you need to install openssl
: brew install openssl
If that doesn't work, you need to install Homebrew
. You should use Homebrew
, it makes installing much easier.
If that still doesn't work, you can install libssl-dev
and make a symlink:
ln -s /usr/local/Cellar/openssl/1.0.2p/lib/libssl.dylib /usr/local/lib/
Post a Comment for "How To Fix Gcc Error Produced By Pip Install?"