Python - Compiling and importing new modules


#1

Hi guys,
any idea on how to compile and import modules in python and 3dsmax 2017?

I want to import a module called gevent.
I installed vc14 (vc9 is installed too. any way this could cause problems?)
I downloaded and compile the module with pip install --no-cache-dir --no-binary :all: gevent
I moved a copy of the folder in 3ds Max 2017\python\Lib\site-packages (which is in sys.path)

all I get in max is an error on the import line of the script (import gevent):

ImportError: DLL load failed: The specified module could not be found.

– MAXScript callstack:
– thread data: threadID:18264
– ------------------------------------------------------
– [stack level: 0]
– In top-level

any suggestion?
thanks,

Federico