Hi Stefan 

I do not start Jython! I start WLST, after then I modify the system path, add the jython libs and import the argparse.


Stefan Richthofer <report@bugs.jython.org> ezt írta (időpont: 2018. szept. 18., K, 17:09):

Stefan Richthofer <stefan.richthofer@gmx.de> added the comment:

It seems that I cannot reproduce this with current Jython trunk version. If I simply start Jython the "usual" way, import seems to work fine:

stefan@stefan-y260 /data/workspace/jython/dist $ bin/jython
Jython 2.7.2a1+ (default:134c5c8c2332, Sep 2 2018, 00:37:08)
[OpenJDK 64-Bit Server VM (Oracle Corporation)] on java1.8.0_181
Type "help", "copyright", "credits" or "license" for more information.
>>> import argparse

Is something wrond with your Lib folder? What Jython version are you using?

nosy: +stefan.richthofer

Jython tracker <report@bugs.jython.org>