Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LIB install failure
#1
This is failing for me. Please Advise.

sudo apt install git
sudo git clone https://github.com/ethereum/pyethereum
cd pyethereum
sudo python3 setup.py install
Installed /usr/local/lib/python3.5/dist-packages/pyethash-0.1.27-py3.5-linux-x86_64.egg
Searching for scrypt
Reading https://pypi.python.org/simple/scrypt/
Best match: scrypt 0.8.0
Downloading https://pypi.python.org/packages/af/82/44b030646b9de44ba5a5c7e87b0419a4d44318ba18468f5292b9c16737ac/scrypt-0.8.0.tar.gz#md5=0704e59cc3afb3845c27bb3827baeea9
Processing scrypt-0.8.0.tar.gz
Writing /tmp/easy_install-uap645pz/scrypt-0.8.0/setup.cfg
Running scrypt-0.8.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-uap645pz/scrypt-0.8.0/egg-dist-tmp-viapitso
scrypt-1.2.0/libcperciva/crypto/crypto_aes.c:6:25: fatal error: openssl/aes.h: No such file or directory
compilation terminated.
error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Reply
#2
(Jun-07-2017, 05:53 PM)Able98 Wrote: scrypt-1.2.0/libcperciva/crypto/crypto_aes.c:6:25: fatal error: openssl/aes.h: No such file or directory
Looks like it needs the openssl source available in order to compile. Supposing your on linux (based on the first block, with sudo/apt, I'm guessing you're on a Debian based distro), you could possibly fix it using sudo apt install openssl-dev.

Otherwise, check the package's docs to see what requirements it has.
Reply
#3
Solved it. It was in the docs as you said. Had to do this first:

sudo apt-get install libssl-dev
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Failure to run source command middlestudent 2 656 Sep-22-2023, 01:21 PM
Last Post: buran
  Dickey Fuller failure Led_Zeppelin 4 2,531 Sep-15-2022, 09:07 PM
Last Post: Led_Zeppelin
  Assert failure jtcostel 1 1,614 Sep-03-2021, 05:28 PM
Last Post: buran
  xml decoding failure(bs4) roughstroke 1 2,210 May-09-2020, 04:37 PM
Last Post: snippsat
  SCIKIT learn failure in mac Perja11 1 2,256 Nov-30-2019, 06:44 PM
Last Post: snippsat
  failure to find modules justus123 2 4,200 Dec-14-2018, 04:28 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020