greydanus / crypto-rnn

Learning the Enigma with Recurrent Neural Networks

Home Page:https://greydanus.github.io/2017/01/07/enigma-rnn/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't install crypto-enigma package

ng-designs opened this issue · comments

Can somebody help me? I can't install crypto-enigma package:

`PS I:\WORKSPACE\Git\crypto-rnn> py -m pip install crypto-enigma
Collecting crypto-enigma
Using cached crypto-enigma-0.2.1b2.tar.gz (34 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [13 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\User\AppData\Local\Temp\pip-install-uveg1m65\crypto-enigma_5c32af0615274614acde3cd47a66bbaf\setup.py", line 20, in
import crypto_enigma
File "C:\Users\User\AppData\Local\Temp\pip-install-uveg1m65\crypto-enigma_5c32af0615274614acde3cd47a66bbaf\crypto_enigma_init_.py", line 158, in
from .components import *
File "C:\Users\User\AppData\Local\Temp\pip-install-uveg1m65\crypto-enigma_5c32af0615274614acde3cd47a66bbaf\crypto_enigma\components.py", line 19, in
from .cypher import *
File "C:\Users\User\AppData\Local\Temp\pip-install-uveg1m65\crypto-enigma_5c32af0615274614acde3cd47a66bbaf\crypto_enigma\cypher.py", line 32, in
class Mapping(unicode):
^^^^^^^
NameError: name 'unicode' is not defined
[end of output]`