What do you want to save?
Add Code snippet
New code examples
-
Python 2021-10-21 13:24:10
Python.h: No such file or directory
For apt (Ubuntu, Debian...): sudo apt-get install python-dev # for python2.x installs sudo apt-get install python3-dev # for python3.x installs For yum (CentOS, RHEL...): sudo yum install python-devel # for python2.x installs sudo yum install pytho... Add solution -
Python 2021-10-14 00:43:05
apt install python-certbot
sudo apt-get install python3-certbot-apache Add solution -
Other 2021-10-12 07:24:04
ModuleNotFoundError: No module named 'dbus'
sudo apt-get install python-dbus Add solution -
SQL 2021-10-11 16:05:09
Did you install mysqlclient or MySQL-python?
//For Mysql sudo apt-get install libmysqlclient-dev //If you are using MariaDB sudo apt-get install libmariadbclient-dev pip install mysqlclient /* If you are getting a error like error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 ... Add solution -
Python 2021-10-11 13:06:03
python create virtualenv
#------FOR LINUX/MAC---------# #installing venv sudo apt-get install python3.6-venv #creating virtual env python3 -m venv env #activating virtual env source env/bin/activate #-------FOR WINDOWS----------# #installing venv py -m pip install --user virtu... Add solution -
Python 2021-10-08 21:11:05
ssl django nginx
sudo add-apt-repository ppa:certbot/certbot sudo apt-get update sudo apt-get install python-certbot-nginx sudo ufw allow ssh sudo ufw enable sudo ufw allow 'Nginx Full' sudo ufw delete allow 'Nginx HTTP' sudo ufw status sudo certbot --nginx -d example.com... Add solution -