CANVAS depends on the following (free) software packages to run:
As of 2/1/2021 Python 3.4 and 3.5 is deprecated. Python 2.7 was deprecated by the Python Software Foundation on January 1, 2020. Going forward, customers using the AWS CLI version 1 should transition to using Python 3, with a minimum of Python 3.6.
- Python 2.6 or 2.7
- GTK
- PyCrypto (some modules)
- Py-GTK and its associated libraries
- Pyasn1
- CANVAS STRATEGIC: ZeroMQ/PyZMQ
- Pynacl
- Bcrypt
- Asn1tools
- For OSX users, python2.7 comes pre-installed in /usr/bin/ but any python versions that were downloaded and installed by a user are likely in /usr/local/bin/ (see OutOnAWeekend's comment). – David Skarbrevik Oct 12 '18 at 22:10.
- Doing it Right¶. Let’s install a real version of Python. Before installing Python, you’ll need to install a C compiler. The fastest way is to install the Xcode Command Line Tools by running xcode-select-install.
Linux Users
Linux users will need to fetch the following packages for their architecture and version of python. Certain distros may have to compile the dependencies from source if a package is not available.
Osx Update Python 2.7 To 3
Note: Package downloads are available from your package management tool of choice: yum, rpm, apt-get, emerge, etc
- Python25, Python26 or Python27
- GTK2
- pycairo
- pygobject
- pycrypto
- pygtk
- pyasn1
- pynacl
- bcrypt
- asn1tools
Mac Update Python To 3.7
Distribution specific instructions
Ubuntu 18.04, 17.10, 16.10, 16.04
- sudo apt-get update
sudo apt-get -y install python-pip
sudo apt-get -y install gtk2.0
sudo apt-get -y install python-glade2
sudo apt-get -y install python-nacl python-bcrypt
sudo pip install pycrypto
sudo pip install pyasn1
sudo pip install asn1tools
Windows users
Windows users can download our new dependency installer that will download and setup every required dependency needed to run CANVAS (including python 2.7 if selected).
sha256sum: 7024f8140b7d0ca56411bda12a2eecb1690693d1dc5910550682c57d7deb5439
Mac OS X Users
OSX users can download an installer with most dependencies for that platform from Immunity. You can then download CANVAS as a zip/tar file that you decompress and run CANVAS_ROOT/runcanvas.sh. Please note you would still need to install pyasn1, pycrypto, pynacl, bcrypt and asn1tools on your own.
sha256sum: 3afc4f67b7272735d2490110aa79b5b46384f48cd1586b9683b82e7d7502d125