2.4 Install Packages from Source
Last updated
Last updated
To install packages from source, we of course need to get the source code first. A lot open source code nowadays are hosted on github. Therefore, we need to make sure the code can be git clone
from github repositories. In our course , we elaborate how to use github in detail. Here, we won't talk about it, but the Github Help on is strongly recommended for students to follow.
Actually, the author's most often used packages are:
Video Streaming: , , , , etc.
Computer Vision: , , , , etc.
Image Processing: , , , etc.
GIS: , , etc.
Robotics: , , etc.
is strongly recommended as the Python working environment. In fact, we've got a course focusing on Python language programming under Anaconda virtual environment. Here in this course, we ignore Anaconda Python but ONLY work without a virtual environment.
To install a python package, in general, there are 3 ways:
install the package directly from Synaptic Package Manager
install the package by pip install
.
Pip is used to support the use of Python in cloud web hosting, such as by Heroku.(Cited from [Wikipedia]()) )
pip install packagename
pip install git+git://github.com/xxxxx/packagename.git
install the package from source. From within the source directory, run command line python setup.py install
.