-
Notifications
You must be signed in to change notification settings - Fork 29
Installing and Building
This chapter aims help you with build and installation issues.
Currently supported platforms:
- Linux (32/64bit)
- Mac OSX
Dependencies:
- Python (2.7 or later) (with development headers)
- PIP
- Nupic
- NumPy
- SciPy
- PyOpenGL
- PyOpenGL-accelerate
- PyQt4
- PyQtGraph
Note: Except Python, PIP and NuPIC, all dependencies above already are automatically installed by PIP package. However some errors might happen due to package conflicts specific of each system environment. In this case, you will have install manually these packages using a package manager like apt
, yum
, brew
, etc.
If you want only use it, simply do this:
pip install nustudio
Note: If you get a "permission denied" error when using pip, you may add the --user flag to install to a location in your home directory, which should resolve any permissions issues. Doing this, you may need to add this location to your PATH and PYTHONPATH. Alternatively, you can run pip with 'sudo'.
Once it is installed, you can execute the app using:
nustudio
and then click on Open Project
button to open any example to getting started with NuPIC.
If you want develop, debug, or simply test NuPIC Studio, clone it and follow the instructions:
This assumes the
NUPIC_STUDIO
environment variable is set to the directory where the NuPIC Studio source code exists.
cd $NUPIC_STUDIO
python setup.py build
python setup.py develop
The following instructions will work in the most Python IDEs:
- Open your IDE.
- Open a project specifying the
$NUPIC_STUDIO
repository folder as location. - Click with mouse right button on
setup.py
file listed on project files and selectRun
command on pop-up menu. This will call the build process. Checkoutput
panel to see the result. - If the build was successful, just click on
program.py
and voilà!
If you don't have a favourite Python IDE, this article can help you to choose one: http://pedrokroger.net/choosing-best-python-ide/