← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #286841]: Jython and ensurepip

 

Question #286841 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/286841

Description changed to:
This page seems to indicate that ensurepip is built into Jython:
https://wiki.python.org/jython/JythonReleaseNotes

I tried:
print (sys.version) 
import ensurepip

Output is:
2.7.0 (default:9987c746f838, Apr 29 2015, 02:25:11) 
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)]
[error] script [ pip_install ] stopped with error in line 2
[error] ImportError ( os.sikuli has no os.py )
[error] --- Traceback --- error source first line: module ( function ) statement 4: __init__ ( <module> ) File "C:\Users\User\Desktop\Sikuli\1.1\sikulix.jar\Lib\sikuli\SikuliImporter.py", line 45, in load_module
[error] --- Traceback --- end --------------

I installed the jython installer from
http://www.jython.org/downloads.html, and print (sys.version) gives the
same first two lines as the output. I issued import ensurepip and the
command worked.

How do I make ensurepip work within Sikuli?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.