Error in installing pyOpenSSL : i686-linux-gnu-gcc failed with exist status 1

I have got the following error while installing pyopenssl-pyasn1

Hi @nevethanaa6,

Please run the below commands in order.

sudo apt-get update -y
sudo apt-get install  -y build-essential libssl-dev libffi-dev python3-dev
sudo apt-get install -y python3-pip

But Why are you installing pyOpenSSL ?

Tq for your help sir.To perform bitcoin project iam in need of it

Hi @nevethanaa6,

Is your query resolved after running the above commands ?

Hi,
You are getting this error as your environment is not able to build those packages.
You need to install following:

sudo apt-get install build-essential libssl-dev libffi-dev

That should work