=================
- Introduction
-- Installation
+- Installation via PyPI
+- Installation via Sources
- Quick Start
- Quick Start with Scipy
- Design Description
Installation via Sources
========================
-Alternateively, you may want to install the interface from sources and generate
-the LIBLINEAR shared library by yourself.
+Alternatively, you may install the interface from sources by
+generating the LIBLINEAR shared library.
-Depending on your use cases, you can choose between systemwide installation and
-local directory installation. Microsoft Visual C++ and other tools might be
-required for systemwide installation for windows.
+Depending on your use cases, you can choose between local-directory
+and system-wide installation.
-- Systemwide Installation:
+- Local-directory installation:
- To have a systemwide access to the interface, execute the following command:
-
- > pip install -e .
+ On Unix systems, type
- Please note that you still have to keep the sources after the installation.
+ > make
- In addition, please DON'T use other commands such as
+ This generates a .so file in the LIBLINEAR main directory and you
+ can run the interface in the current python directory.
+
+ For windows, the shared library liblinear.dll is ready in the
+ directory `..\windows' and you can directly run the interface in
+ the current python directory. You can copy liblinear.dll to the
+ system directory (e.g., `C:\WINDOWS\system32\') to make it
+ system-widely available. To regenerate liblinear.dll, please
+ follow the instruction of building windows binaries in LIBLINEAR
+ README.
- > python setup.py install
+- System-wide installation:
- or
+ Type
- > pip install .
+ > pip install -e .
-- Local Directory Installation:
+ Please note that you must keep the sources after the installation.
- On Unix systems, type
+ For windows, to run the above command, Microsoft Visual C++ and
+ other tools are needed.
- > make
+ In addition, DON'T use the following FAILED commands
- For windows, the shared library liblinear.dll is ready in the directory
- `..\windows'. You can also copy it to the system directory (e.g.,
- `C:\WINDOWS\system32\' for Windows XP). To regenerate the shared library,
- please follow the instruction of building windows binaries in LIBLINEAR README.
+ > python setup.py install (failed to run at the python directory)
+ > pip install .
Quick Start
===========