Articles about freebsd
After the 2017-05-12 mesa port consolidation, there were packages left with missing dependencies. This is how to fix them
Clone the repository from https://github.com/jbaiter/gphoto2-cffi.
> cd ~/github > git clone https://github.com/jbaiter/gphoto2-cffi
I had to specify where to find the include files.
> env C_INCLUDE_PATH=/usr/local/include python3 setup.py build
Install and clean-up
# python3 setup.py install # python3 setup.py clean …
This article document how I updated python3 from version 3.5 to 3.6 on FreeBSD.
The version in the FreeBSD base system is old, but the version used by the ports I can control. It took a while, but now was the time for me to switch.
This article documents the process I followed to update Python 3.4 to 3.5 on my FreeBSD machines.
This documents how I installed Python bindings for libmagic.
There are actually different bindings for libmagic. One set is part of the original distribution. It can be found in /usr/src/contrib/file/python/. But in my opinion it is somewhat cumbersome to use and not very Pythonic.
The implementation from ahupp/python-magic in Github feels more natural.
Sometimes I need to update my FreeBSD operating system. I prefer to do that from the source code, so that my customizations in (/etc/src.conf) remain.
At the writing of this article, I’m tracking the 10-STABLE branch. To start this, I removed the contents of /usr/src …
More and more, IPython has become my tool of choice as the ultimate calculator and to try out concepts and code for use in my programs.
While I generally use the terminal-based interactive shell, notebooks offer more capabilities for integrating text, formulas and graphics.
With Python 2.7 effectively mostly …