Python support for SSL and HTTPS is not installed

I was getting “Python support for SSL and HTTPS is not installed” while trying to use Mercurial on Mac OS X 10.5 Leopard. I upgraded python to 2.5.2 sudo port upgrade python and mercurial too (1.2.1) sudo port -u upgrade mercurial But that didn’t fix it. I’m glad that I found the solution on Twitter Just do an sudo port install py25-socket-ssl

May 8, 2009

bash: clear: command not found

If your are getting “bash: clear: command not found” on you first install of cygwin you have to make sure that you include ncurses packages in your cygwin installation. clear.exe doesn’t come in the standard installation. You must include ncurses to get clear.exe in your system. If you are using bash you can use Ctrl-L and get the same result though. UPDATE: ncurses is a cygwin package in libs category in Utils category. You can install it using the the Cygwin Setup utility (just run setup.exe again). See screenshot below ...

September 26, 2007

How to install trac 0.10.4 and XmlRpcPlugin on a non-standard directory location

First you need setuptools/EasyInstall: cd $HOME/opt wget http://peak.telecommunity.com/dist/ez_setup.py mkdir -p $HOME/opt/easyinstall/lib/python2.4/site-packages PYTHONPATH=$HOME/opt/easyinstall/lib/python2.4/site-packages python ez_setup.py --prefix=$HOME/opt/easyinstall Next, trac: cd $HOME/opt wget http://ftp.edgewall.com/pub/trac/trac-0.10.4.tar.gz tar xvzf trac-0.10.4.tar.gz cd trac-0.10.4 python setup.py install --prefix=$HOME/opt/trac cd .. rm -rf trac-0.10.4 cd trac PYTHONPATH=$HOME/opt/easyinstall/lib/python2.4/site-packages/:$HOME/opt/trac/lib/python2.4/site-packages/ bin/trac-admin $HOME/testtracenv initenv Then the xmlrpcplugin: cd $HOME/opt wget -O xmlrpcplugin.zip 'http://trac-hacks.org/changeset/latest/xmlrpcplugin?old_path=/&filename=xmlrpcplugin&format=zip' unzip xmlrpcplugin.zip cd xmlrpcplugin/0.10/ PYTHONPATH=$HOME/opt/easyinstall/lib/python2.4/site-packages/ python setup.py bdist_egg cp dist/*.egg $HOME/testtracenv/plugins cat <<EOF >>$HOME/testtracenv/conf/trac .ini > [components] > tracrpc.* = enabled > EOF And now you can test your installation: ...

August 17, 2007