Traceback (most recent call last):


 "./pupygen.py", line 7, in <module>

from pupylib.utils.network import get_listener_ip, get_listener_port


 "/opt/pupy/pupy/pupylib/__init__.py", line 6, in <module>

from PupyServer import *


 "/opt/pupy/pupy/pupylib/PupyServer.py", line 30, in <module>

from pupylib.PupyDnsCnc import PupyDnsCnc


 "/opt/pupy/pupy/pupylib/PupyDnsCnc.py", line 11, in <module>

import requests


 "/usr/lib/python2.7/dist-packages/requests/__init__.py", line 53, in <module>

from .packages.urllib3.contrib import pyopenssl


 "/usr/lib/python2.7/dist-packages/urllib3/contrib/pyopenssl.py", line 54, in <module>

import OpenSSL.SSL


 "/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py", line 8, in <module>

from OpenSSL import rand, crypto, SSL


 "/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py", line 118, in <module>

SSL_ST_INIT = _lib.SSL_ST_INIT
AttributeError: 'module' object has no attribute 'SSL_ST_INIT'

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/opt/conda/lib/python3.7/site-packages/torchnlp/nn/__init__.py", line 8, in <module>

from torchnlp.nn.sru import SRU


 "/opt/conda/lib/python3.7/site-packages/torchnlp/nn/sru.py", line 69, in <module>

SRU_PROG = Program(SRU_CODE.encode('utf-8'), 'sru_prog.cu'.encode('utf-8'))


 "/opt/conda/lib/python3.7/site-packages/pynvrtc/compiler.py", line 52, in __init__

include_names)


 "/opt/conda/lib/python3.7/site-packages/pynvrtc/interface.py", line 200, in nvrtcCreateProgram

c_char_p(encode_str(src)), c_char_p(encode_str(name)),


 "/opt/conda/lib/python3.7/site-packages/pynvrtc/interface.py", line 54, in encode_str

return s.encode("utf-8")
AttributeError: 'bytes' object has no attribute 'encode'
