What do you want to save?
Add Code snippet
New code examples
-
Python 2022-03-16 15:15:14
ubuntu remove python 2.7
# Remove python2 sudo apt purge -y python2.7-minimal # You already have Python3 but # don't care about the version sudo ln -s /usr/bin/python3 /usr/bin/python # Same for pip sudo apt install -y python3-pip sudo ln -s /usr/bin/pip3 /usr/bin/pip # Conf... Add solution -
Python 2021-11-21 04:23:12
remove all references to python 3.7 on ubuntu
# The following commands will remove your make altinstall-ed python: rm -f /usr/local/bin/python2.7 rm -f /usr/local/bin/pip2.7 rm -f /usr/local/bin/pydoc rm -rf /usr/local/bin/include/python2.7 rm -f /usr/local/lib/libpython2.7.a rm -rf /usr/local/lib/p... Add solution -
Shell/Bash 2021-11-07 22:16:10
pgadmin for linux
sudo apt-get update sudo apt-get install build-essential libssl-dev libffi-dev libgmp3-dev virtualenv python-pip libpq-dev python-dev mkdir pgAdmin4 cd pgAdmin4 virtualenv pgAdmin4 cd pgAdmin4 source bin/activate wget https://ftp.postgresql.org/pub/pgadmi... Add solution -
SQL 2021-11-03 16:29:15
python mysqlclient library not found for -lssl
// FOR PYTHON2.7 /* Locate openssl with command */ brew info openssl /* and copy into */ ~/.zshrc/ /* this lines */ export LDFLAGS="-L/usr/local/opt/*/lib" export CPPFLAGS="-I/usr/local/opt/*/include" /* then */ source ~/.zshrc/ /... Add solution -
Python 2021-11-02 06:47:10
brew uninstall python
So, I ended up removing all python installations, and reinstalling things via Homebrew. which python ---> /Library/Frameworks/Python.framework/Versions/2.7/bin/python Delete the entire Python.framework directory from /Library/Frameworks. which python3... Add solution -
Other 2021-10-25 04:52:13
lambda example serverless
# serverless.yml service: myService provider: name: aws runtime: nodejs12.x memorySize: 512 # optional, in MB, default is 1024 timeout: 10 # optional, in seconds, default is 6 versionFunctions: false # optional, default is true tracing: l... Add solution