Using python "requests" module in a cygwin64 ZNC module -
i'm positive i'm doing wrong, i've looked around , solutions presented have not worked me.
i'm writing bot znc running under windows 10/cygwin64 (which allows python based scripts). 1 of functions i'm trying write requires "requests" python module, when try run python bot, throws error:
importerror: no module named 'requests'
i've tried placing "requests" source in same folder bot's .py file. i've tried easy_install no avail.
oddly enough, toying around python module required, , worked placed it's source in same folder.
the version of python znc running 3.4.
edit: noticed cygwin64 stores python bins , libs znc under specific sub-folder. i've therefore installed "requests" module under relative lib/site-packages directory. think worked, far module being visible, znc crashes load bot script. throws this:
cygwin_exception::open_stackdumpfile: dumping stack trace znc.exe.stackdump
when check stackdump, has following:
exception: status_access_violation @ rip=001801a62cd
Comments
Post a Comment