问题1.
D:\Anaconda3\lib\site-packages\jpype\_core.py:210: UserWarning:
D:\Java\jdk1.8\jre\bin\server\jvm.dll
-------------------------------------------------------------------------------
Deprecated: convertStrings was not specified when starting the JVM. The default
behavior in JPype will be False starting in JPype 0.8. The recommended setting
for new code is convertStrings=False. The legacy value of True was assumed for
this session. If you are a user of an application that reported this warning,
please file a ticket with the developer.
-------------------------------------------------------------------------------
""")
解决方案:
pip安装的jpype1-0.7.0,而我的anaconda版本是【Anaconda3-5.0.1-Windows-x86_64】,python版本是【Python 3.6.3 MSC v.1900 64 bit 】,jdk版本是【java 1.8.0_144 64-Bit 】,所以得安装0.7.0以下版本的jpype。
pip install jpype1==0.6.3 【报错】
下载【JPype1-0.6.3-cp36-cp36m-win_amd64.whl】
pip install .\JPype1-0.6.3-cp36-cp36m-win_amd64.whl 【成功】