What do you want to save?
Add Code snippet
New code examples
-
Python 2021-09-21 08:06:02
create virtual environment python
#------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-09-19 11:02:02
fatal error: Python.h: No such file or directory 45 | #include <Python.h> | ^~~~~~~~~~ compilation terminated. error: command 'gcc' failed with exit status 1
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 -
Other 2021-09-16 01:09:02
creating virtual environment in pytho
#------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-09-15 19:04:02
python venv create
#------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 -
SQL 2021-09-15 03:06:05
mac django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module. Did you install mysqlclient?
//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-09-12 13:08:02
ModuleNotFoundError: No module named 'rospkg'
# `python-catkin-tools` is needed for catkin tool # `python3-dev` and `python3-catkin-pkg-modules` is needed to build cv_bridge # `python3-numpy` and `python3-yaml` is cv_bridge dependencies # `ros-melodic-cv-bridge` is needed to install a lot of cv_bridg... Add solution -
Other 2021-09-11 04:09:02
FileNotFoundError: [Errno 2] 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