GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing cclib.github.io — How to install — cclib 1.8.1 documentation How to installThis page describes how to download, install and use the basic functionality of cclib. Requirements
Python is an open-source programming language available from https://www.python.org. It is available for Windows as well as being included in most Linux distributions. In Debian/Ubuntu it is installed as follows (as root): apt-get install python python-dev NumPy (Numerical Python) adds a fast array facility and linear algebra routines to Python. It is available from https://numpy.org/. Windows users should use the most recent NumPy installation for the Python version they have (e.g. numpy-1.0.3.1.win32-py2.4.exe for Python 2.4). Linux users are recommended to find a binary package for their distribution rather than compiling it themselves. In Debian/Ubuntu it is installed as follows (as root): apt-get install python-numpy To test whether Python is on the python If Python is not on the To test that NumPy is working, try importing it at the Python prompt. You should see something similar to the following: $ python Python 3.7.0 (default, Jul 15 2018, 10:44:58) [GCC 8.1.1 20180531] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import numpy as np >>> np.__version__ '1.15.0' >>> (To exit, press CTRL+D in Linux or CTRL+Z,Enter in Windows) Installing using pippip is a command-line tool that often comes pre-packaged with Python distributions which can download packages from the Python Package Index (PyPI). To see if it’s installed, on Linux or macOS try: $ which pip and on Windows: cmd> where.exe pip The version of cclib uploaded to PyPI can then be installed globally using: python -m pip install cclib or to your home directory using: python -m pip install --user cclib Installing using a system package managerIf you’re using Debian GNU/Linux, Ubuntu, or a similar distribution, there are official cclib packages that you can install via your package manager: apt install cclib There are in fact multiple packages, python3-cclib containing the Python module, and cclib which installs the user scripts and depends on the Python module. If you also need to also install the unittests and logfiles we distribute, you will need to install the cclib-data package from the non-free repositories (due to license issues). Because of distribution release cycles, package manager versions of cclib may be out of date compared to the PyPI version. Manual download and installThe source code of the newest release of cclib (version 1.8.1) is distributed as:
On Windows, if you choose to download the .exe files instead, you can install simply by double-clicking on the file. To uninstall, use the “Add and Remove Programs” menu in the Control Panel. None of these files include the tests and logfiles used for testing. In order to download all tests, we also provide source archives on the newest release page. If you are using the .zip or .tar.gz files, extract the contents of the file at an appropriate location, which we will call INSTALLDIR. Open a command prompt and change directory to INSTALLDIR. Next, run the following commands to install cclib: python setup.py build python setup.py install # (as root) or, if pip is available: python -m pip install . To test, trying importing ‘’’cclib’’’ at the Python prompt. You should see something similar to the following: $ python Python 3.7.0 (default, Jul 15 2018, 10:44:58) [GCC 8.1.1 20180531] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import cclib >>> cclib.__version__ '1.6.2' >>> What next?
|
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |