问题一:
FreeBSD修改python的默认版本
在/usr/local/bin目录下,
mv python python.old ln -s pythonX.X python
in X.X write your version
问题二:
Python3 无法使用pip
With Python 3.4 and later, you can use the ensurepip
module to install pip on FreeBSD and elsewhere.
python3.4 -m ensurepip
should install pip as pip3.4
问题三:
Python3 无法安装pillow
pip 试了几次不管用 后来源码安装
先得下载依赖 pkg install jpeg tiff webp lcms2 freetype2
然后下载pillow源码包 进入包文件 python setup.py install