4

https://github.com/facebook/iTorchに従って itorch をインストールしており、ipython をインストールしました。いくつかのエラーは次のとおりです。

$ sudo apt-get install libzmq3-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libzmq3-dev is already the newest version.

lei@lei-All-Series:~/torch/iTorch$ sudo env "PATH=$PATH" luarocks make

Missing dependencies for itorch:
luacrypto 
uuid 
lzmq >= 0.4.2

Using https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/luacrypto-0.3.2-1.src.rock... switching to 'build' mode

Error: Failed installing dependency: https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/luacrypto-0.3.2-1.src.rock - Could not find expected file openssl/evp.h, or openssl/evp.h for OPENSSL -- you may have to install OPENSSL in your system and/or pass OPENSSL_DIR or OPENSSL_INCDIR to the luarocks command. Example: luarocks install luacrypto OPENSSL_DIR=/usr/local

lei@lei-All-Series:~/torch/iTorch$ luarocks make

Missing dependencies for itorch:
luacrypto 
uuid 
lzmq >= 0.4.2

Using https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/luacrypto-0.3.2-1.src.rock... switching to 'build' mode

Error: Failed installing dependency: https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/luacrypto-0.3.2-1.src.rock - Could not find expected file openssl/evp.h, or openssl/evp.h for OPENSSL -- you may have to install OPENSSL in your system and/or pass OPENSSL_DIR or OPENSSL_INCDIR to the luarocks command. Example: luarocks install luacrypto OPENSSL_DIR=/usr/local
4

1 に答える 1