This specific error has been addressed earlier in Lib has no attributes. While not entirely the same (apt vs pip), the dependency issue with pyopenssl
is probably also what is the problem in your case.
9 Likes