Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

This package provides a PyNN implementation for SpiNNaker.

Requirements
============
In addition to a standard Python installation, this package depends on:
- six
- enum34
- DataSpecification
- PACMAN
- SpiNNMan
- PyNN
- numpy

You can also optionally install:
- Visualiser (for live visualisation support)

These dependencies, excluding numpy, can be installed using pip:
pip install six
pip install enum34
pip install DataSpecification
pip install PACMAN
pip install SpiNNMan
pip install PyNN

To install the Visualiser, please see the Visualiser README, as this contains
details of how to install GTK.

Details of the installation of numpy on various operating systems are shown
below.

If you are using virtualenv, please also follow the instructions below to
install numpy. Further instructions for adding this global package
to your virutalenv are detailed in the "User Installation" and
"Developer Installation" sections below.

Ubuntu Linux
------------
Execute the following to install both gtk and pygtk:
sudo apt-get install python-numpy

Fedora Linux
------------
Execute the following to install both gtk and pygtk:
sudo yum install numpy

Windows 7/8 64-bit
------------------
Download and install http://spinnaker.cs.manchester.ac.uk/.../numpy-MKL-1.8.1.win-amd64-py2.7.exe

Windows 7/8 32-bit
------------------
Download and install http://spinnaker.cs.manchester.ac.uk/.../numpy-MKL-1.8.1.win32-py2.7.exe


User Installation
=================
If you want to install for all users, run:
sudo pip install sPyNNaker

If you want to install only for yourself, run:
pip install sPyNNaker --user

To install in a virtualenv, it is easier if numpy is installed outside of the
virtualenv first. This is done by creating a link to the system numpy in the
virtual env (with the virtualenv activated):
32-bit Fedora Linux:
ln -s /usr/lib/python2.7/site-packages/numpy $VIRTUAL_ENV/lib/python2.7/site-packages/numpy
ln -s /usr/lib/python2.7/site-packages/numpy-1.8.0-py2.7.egg-info $VIRTUAL_ENV/lib/python2.7/site-packages/numpy-1.8.0-py2.7.egg-info
64-bit Fedora Linux:
ln -s /usr/lib64/python2.7/site-packages/numpy $VIRTUAL_ENV/lib/python2.7/site-packages/numpy
ln -s /usr/lib64/python2.7/site-packages/numpy-1.8.0-py2.7.egg-info $VIRTUAL_ENV/lib/python2.7/site-packages/numpy-1.8.0-py2.7.egg-info
Ubuntu:
ln -s /usr/lib/python2.7/dist-packages/numpy $VIRTUAL_ENV/lib/python2.7/site-packages/numpy
ln -s /usr/lib/python2.7/dist-packages/numpy-1.8.0-py2.7.egg-info $VIRTUAL_ENV/lib/python2.7/site-packages/numpy-1.8.0-py2.7.egg-info
Windows 7/8 (As Administrator):
mklink /D %VIRTUAL_ENV%\Lib\site-packages\numpy C:\Python27\Lib\site-packages\numpy
mklink /D %VIRTUAL_ENV%\Lib\site-packages\numpy-1.8.0-py2.7.egg-info C:\Python27\Lib\site-packages\numpy-1.8.0-py2.7.egg-info

Then, with the virtualenv enabled, run:
pip install sPyNNaker


pyNN.spiNNaker support
======================
If you want to be able to use sPyNNaker like the other PyNN simulators,
e.g. calling "import pyNN.spiNNaker as p" at the top of your pyNN scripts,
you will need to do one of the following, depending on how you have installed
pyNN.

pyNN installed for all users:
sudo pip install pyNN-spiNNaker

pyNN installed for only yourself:
pip install pyNN-spiNNaker --user

pyNN installed in a virtualenv:
pip install pyNN-spiNNaker


Developer Installation
======================
If you want to be able to edit the source code, but still have it referenced
from other Python modules, you can set the install to be a developer install.
In this case, download the source code, and extract it locally, or else clone
the git repository:
git clone http://github.com/SpiNNakerManchester/sPyNNaker.git

To install as a development version which all users will then be able to use,
run the following where the code has been extracted:
sudo python setup.py develop

To install as a development version for only yourself, run:
python setup.py develop --user

If you also want pyNN.spiNNaker support, please install this as described above.

Metadata

Release files for sPyNNaker 2015.004-alpha-03

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sPyNNaker 2015.004-alpha-03
File Size Uploaded
sPyNNaker-2015.004-alpha-03.zip 394.6 kB Details

Release files / sPyNNaker-2015.004-alpha-03.zip

Download URL sPyNNaker-2015.004-alpha-03.zip
Size 394.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6f8ea2de3045f9b33658f68fce1418fe682c97a9bca4762fb73c4e994da32a0b
BLAKE2b-256 checksum
How to use checksums
c15d81de9136eea4e6cce8297384f3611854ff3dfa479d25012cfaa0209fcc80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

1!6.0.0

1 release file

1!5.1.0

1 release file

1!4.0.0

1 release file

This release

3.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page