0

There are so many error .

  /usr/bin/ld: cannot find -lssl
  /usr/bin/ld: cannot find -lcrypto
  collect2: error: ld returned 1 exit status
  error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for mysqlclient


  code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, 
  '"'"'exec'"'"'))' install --record /tmp/pip-record-0p2809_2/install-record.txt --single- 
  version-externally-managed --compile Check the logs for full command output.

I tried python-dev also python3-dev .And changed mysqlclient version but nothing happend same issue.these codes are in docker file. Please help.

1 Answer 1

2

Based on the two first lines, you're missing the libssl-dev system package; try apt-get install -y libssl-dev in your dockerfile.

You'll also need libmysqlclient-dev, if you haven't added that already.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.