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

Muhammad Z gave more information on the question:
These steps passed:

- download the installer package from Jython Downloads
  install (usually by double-clicking the package) using the standard setup 
into an empty folder
- test by running <jython-folder>/bin/jython from a commandline, which should 
open an interactive Jython session,    that allows, to run Python statements 
line by line
- make sure, that pip and easy_install are available:

Failed with installing jip:

MacBook:jython2.7.0 galil$ ./bin/pip install jip
Downloading/unpacking jip
  Downloading jip-0.9.6.zip
  Running setup.py 
(path:/private/var/folders/g4/d3yt8gxs33v7rzwy3vp07sfh0000gn/T/pip_build_galil/jip/setup.py)
 egg_info for package jip
    
Cleaning up...
Exception:
Traceback (most recent call last):
  File "/Users/galil/jython2.7.0/Lib/site-packages/pip/basecommand.py", line 
133, in main
    status = self.run(options, args)
  File "/Users/galil/jython2.7.0/Lib/site-packages/pip/commands/install.py", 
line 316, in run
    requirement_set.prepare_files(
  File "/Users/galil/jython2.7.0/Lib/site-packages/pip/commands/install.py", 
line 316, in run
    requirement_set.prepare_files(
  File "/Users/galil/jython2.7.0/Lib/site-packages/pip/req/req_set.py", line 
397, in prepare_files
    req_to_install.assert_source_matches_version()
  File "/Users/galil/jython2.7.0/Lib/site-packages/pip/req/req_install.py", 
line 478, in assert_source_matches_version
    version = self.installed_version
  File "/Users/galil/jython2.7.0/Lib/site-packages/pip/req/req_install.py", 
line 474, in installed_version
    return self.pkg_info()['version']
  File "/Users/galil/jython2.7.0/Lib/site-packages/pip/req/req_install.py", 
line 442, in pkg_info
    data = self.egg_info_data('PKG-INFO')
  File "/Users/galil/jython2.7.0/Lib/site-packages/pip/req/req_install.py", 
line 371, in egg_info_data
    data = read_text_file(filename)
  File "/Users/galil/jython2.7.0/Lib/site-packages/pip/util.py", line 777, in 
read_text_file
    encodings = ['utf-8', locale.getpreferredencoding(False), 'latin1']
  File "/Users/galil/jython2.7.0/Lib/locale.py", line 574, in 
getpreferredencoding
    return getdefaultlocale()[1]
  File "/Users/galil/jython2.7.0/Lib/locale.py", line 511, in getdefaultlocale
    return _parse_localename(localename)
  File "/Users/galil/jython2.7.0/Lib/locale.py", line 443, in _parse_localename
    raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8

Storing debug log for failure in /Users/galil/.pip/pip.log

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to