As of August 2020 the site you are on (wiki.newae.com) is deprecated, and content is now at rtfm.newae.com. |
Difference between revisions of "V5:Installing ChipWhisperer/Installing ChipWhisperer from Releases"
(Created page with "Test") |
|||
Line 1: | Line 1: | ||
− | + | Once you have a working Python installation, you're ready to install and run ChipWhisperer. | |
+ | |||
+ | First, download a ChipWhisperer release. You can get these from the [https://github.com/newaetech/chipwhisperer/releases/ Releases] page. Generally, the latest release is a good choice, but you might need an older version for various reasons. You want the source code in .zip or .tar.gz format - not a VBox image. | ||
+ | |||
+ | Next, uncompress your downloaded source code somewhere. Generally, 'somewhere' will become your ChipWhisperer working directory. For example, on Windows, you might want to use C:\chipwhisperer\. | ||
+ | |||
+ | Once you've got the file, install the python dependencies and run the Python install procedure (setup.py). Use the develop command to indicate that the files will probably be changing frequently. to do this, open a terminal and run the following, adjusting paths as needed: | ||
+ | <pre> | ||
+ | cd chipwhisperer/software | ||
+ | pip install -r requirements.txt | ||
+ | python setup.py develop </pre> | ||
+ | |||
+ | '''NB''': This assumes the python command links to Python-3.x, and not Python-2.7. You may need to specify python3 and pip3 as the command instead of python and pip to force this. | ||
+ | |||
+ | To test, run python and try importing the chipwhisperer module: | ||
+ | |||
+ | <pre>python | ||
+ | >>> import chipwhisperer as cw | ||
+ | </pre> |
Revision as of 12:38, 18 December 2018
Once you have a working Python installation, you're ready to install and run ChipWhisperer.
First, download a ChipWhisperer release. You can get these from the Releases page. Generally, the latest release is a good choice, but you might need an older version for various reasons. You want the source code in .zip or .tar.gz format - not a VBox image.
Next, uncompress your downloaded source code somewhere. Generally, 'somewhere' will become your ChipWhisperer working directory. For example, on Windows, you might want to use C:\chipwhisperer\.
Once you've got the file, install the python dependencies and run the Python install procedure (setup.py). Use the develop command to indicate that the files will probably be changing frequently. to do this, open a terminal and run the following, adjusting paths as needed:
cd chipwhisperer/software pip install -r requirements.txt python setup.py develop
NB: This assumes the python command links to Python-3.x, and not Python-2.7. You may need to specify python3 and pip3 as the command instead of python and pip to force this.
To test, run python and try importing the chipwhisperer module:
python >>> import chipwhisperer as cw