How do I solve the issue “No module name Botan”

前端 未结 2 1109
长发绾君心
长发绾君心 2021-01-20 15:01

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:

2条回答
  •  感情败类
    2021-01-20 15:13

    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

提交回复
热议问题