I am using windows 8 and python 3.6.1 I\'ve done the following command in my cmd:
pip install cryptoshop
However, when I run the following python code:
For completeness, here's how I made it work on a Mac
Assuming you have brew
installed.
brew install botan
You may need to install other functionality first:
brew install gmp
brew install mpfr
brew install mpc
Find out where botan got installed with brew info botan
.
My location is /usr/local/Cellar/botan/2.6.0
In that folder, you'll find lib/python2.7/site-packages
, copy the contents of this folder into your Python's installation site-packages
folder.
Note 1: At the time of this writing, only python 2.7 seems to be supported, but I'm using python 3.6 and everything seems to be working.
Note 2: If the file is called botan2.py
, you may need to rename it to botan.py
in your python's site-packages
folder.
make
is a linux command
According to the botan
website you can use nmake
as a replacement on windows ( http://wiki.c2.com/?UsingNmake ) :
On Windows
You need to have a copy of Python installed, and have both Python and your chosen compiler in your path. Open a command shell (or the SDK shell), and run:
$ python configure.py --cc=msvc (or --cc=gcc for MinGW) [--cpu=CPU]
$ nmake
$ botan-test.exe
$ nmake install
Botan supports the nmake replacement Jom which enables you to run multiple build jobs in parallel.
source : https://botan.randombit.net/manual/building.html