-
-
Save kenzo0107/f204c7af2b764d15a6c6 to your computer and use it in GitHub Desktop.
sudo yum -y install gcc gcc-c++ kernel-devel | |
sudo yum -y install python-devel libxslt-devel libffi-devel openssl-devel | |
pip install cryptography |
is correct thx!
Anything for Mac Please
Anything for Mac Please
have the same problem!
Anything for Mac Please
have the same problem!
I, too, have the same problem. Any solution?
Anything for Mac Please
Same!
Thank you!
On AWS EC2, first two lines work for me, and I am using python3
sudo yum -y install gcc gcc-c++ kernel-devel
sudo yum -y install python3-devel libxslt-devel libffi-devel openssl-devel
sudo pip3 install mysqlclient
sudo: yum: command not found
sudo: yum: command not found.
Help to fix this error, please
sudo: yum: command not found.
Help to fix this error, please
install yum
$ sudo apt install yum
Is there any way to install these packages without the root permissions?
I am trying to install them on shared hosting with only basic user permissions.
A non-trivial solution:
yum install openssl-devel bzip2-devel libffi-devel sqlite-devel
yum groupinstall "Development Tools"
Then re-build your Python. It will make Python equipped with these build utilities (gcc, g++ etc.):
cd your/downloaded/python/directory
./configure --enable-optimizations
make altinstall
If you are using venv
, you have to create the venv
again under this corrected python installation.
Thanks. It works.
It worked, thanks!
Its works for me too. Thank you.