Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.4K Intelligent Advisor
- 75 Insurance
- 537.6K On-Premises Infrastructure
- 138.7K Analytics Software
- 38.6K Application Development Software
- 6.1K Cloud Platform
- 109.6K Database Software
- 17.6K Enterprise Manager
- 8.8K Hardware
- 71.3K Infrastructure Software
- 105.4K Integration
- 41.6K Security Software
adding python libraries to jython provided with FDMEE

User_YZQL2
Member Posts: 62 Blue Ribbon
Hi All,
Is there a way to add python libraries to jython provided with FDMEE? would 'pip install' work in any way ?
the library in question here is 'requests'. I was trying to import the same to make use of REST API provided by 'service now'.
Thanks,
Dev
Tagged:
Answers
-
There are some workarounds to install python libs but it's not recommended. Think that requests module is not compatible with Jython 2.5 (the version FDMEE uses).
To consume REST APIs, you better use the Java classes which you can import into your Jython script.
Hope that helps