PyECC Installing Guide
N. Sayols & S. Xambó

To use the PyECC library, it is required to have Python 3.3 or higher. To use the interactive notebooks, which provide an excellent working environment, it is required to have installed, in addition to Python, the Jupyter notebook.

Installing the Jupyter Notebook and Python

For new Python users, we highly recommend installing the last Python 3 using the Anaconda distribution, because it also intalls Jupyter:

  1. Download the latest Anaconda's Python 3 distribution (currently it is 3.6).
  2. Follow the instructions in the download page to install the Anaconda version.

Alternative: Install Jupyter with pip

If you prefer a different Python distribution, you can install Jupyter using Python's package manager pip:

  1. Ensure that you have the latest version of pip, as older versions may encounter dependency problems:
           pip3 install --upgrade pip
    
  2. Install the Jupyter notebook:
           pip3 install jupyter
    

Installing the PyECC package

Download the file PyECC.rar or PyECC.zip (current version 1911) and decompress it into a folder in your computer. After that, open a terminal window (cmd.exe in windows) and go to the folder PyECC-package and execute the following command
      python setup.py install 
or
      py setup.py install
If the installation fails or both python commands are not recognised by the system, copy the PyECC-package/PyECC folder of the decompressed file into the site-packages of your Python distribution. For example, in Anaconda for Windows it is located in
     c:\users\xxx\anaconda3\Lib\site-packages
where xxx is the Windows' user name.


PyECC Execution

To use the PyECC package, you only have to include the following line at the start of your code:

     from PyECC import*
or also
     from PyECC.CC import*


PyECC

14.11.2019
SXD