In Vertica 8.1 it is not possible
Refer to the link below:https://www.vertica.com/docs/8.1.x/HTML/index.htm#Authoring/ExtendingVertica/Python/PythonLibraries.htm?TocPath=Extending%20Vertica|Developing%20User-Defined%20Extensions%20(UDxs)%7CDeveloping%2520with%2520the%2520Python%2520SDK%7C_____1
You can try with Vertica 9.2 version which has an option to import other libraries as Vertica library
check this linkhttps://www.vertica.com/docs/9.2.x/HTML/Content/Authoring/ExtendingVertica/Python/PythonLibraries.htm
Can't find what you're looking for? Search the Vertica Documentation, Knowledge Base, or Blog for more information.