We need to get the most up-to-date repository of ports and apply it to our system.
sudo portsnap fetch extract update
- Become Root
su
- Fix the following dependancy problem
cd usr/ports/converters/libiconv
make deinstall clean
make install clean
- Compile from source Python 3.4
cd /usr/ports/lang/python34
make install clean
- Find where Python was installed
rehash
find /usr/bin /bin/ /usr/local/bin -iname 'python*'
- Make the command "python" be available on the FreeBSD system.
ln -s /usr/local/bin/python3.4 /usr/local/bin/python
- Verify Python was installed and is version 3.4.x
python -V
To support "django-simple-captcha" rendering, we will have to install these
- Lets make sure we are using the latest setup tools
cd /usr/ports/devel/py-setuptools27
sudo make deinstall clean
cd /usr/ports/devel/py-setuptools34
sudo make install clean
- Lets install GD:
cd /usr/ports/graphics/gd
sudo make install clean
- Lets install (if it doesn't exist) Curl:
pkg install curl
- Lets install pip:
exit
cd ~/
curl -O https://raw.githubusercontent.com/pypa/pip/master/contrib/get-pip.py
sudo python get-pip.py
rm get-pip.py
- Verify pip was installed
pip -V
- To install:
sudo pip install virtualenv
- Verify virtualenv is intalled
mkdir py-test
cd py-test
virtualenv env