installation problem (virtualenv pyenv)

576 views
Skip to first unread message

Ian Spackman

unread,
Mar 21, 2016, 10:23:47 AM3/21/16
to Evennia
I'm trying to set up Evennia on a VPS (Ubuntu 14.04.2 LTS (GNU/Linux 2.6.32-042stab108.8 x86_64)),
but I've got stuck at the "virtualenv pyenv" stage, getting the message below.

if I go on "source pyenv/bin/activate" fails ("No such file or directory").

Can anyone help me out?

Ian


New python executable in /root/evennia/pyenv/bin/python
Installing setuptools, pip, wheel...
  Complete output from command /root/evennia/pyenv/bin/python - setuptools pip wheel:
  Traceback (most recent call last):
  File "<stdin>", line 23, in <module>
  File "/usr/local/lib/python2.7/dist-packages/virtualenv_support/pip-8.1.1-py2.py3-none-any.whl/pip/__init__.py", line 215, in main
  File "/root/evennia/pyenv/lib/python2.7/locale.py", line 579, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting
----------------------------------------
...Installing setuptools, pip, wheel...done.
Traceback (most recent call last):
  File "/usr/local/bin/virtualenv", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 708, in main
    symlink=options.symlink)
  File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 941, in create_environment
    download=download,
  File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 897, in install_wheel
    call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
  File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 792, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /root/evennia/pyenv/bin/python - setuptools pip wheel failed with error code 1

Griatch Art

unread,
Mar 21, 2016, 11:16:16 AM3/21/16
to Evennia
@Ian

I've not seen your particular error before. It looks like there may be some locales missing. This stack overflow question discusses a similar problem: http://stackoverflow.com/questions/14547631/python-locale-error-unsupported-locale-setting.
.
Griatch

Ian Spackman

unread,
Mar 22, 2016, 7:38:48 PM3/22/16
to Evennia
Many thanks - though in the event I found the stack overflow discussion myself before my post was posted, because of the first-post delay!

Ian
Reply all
Reply to author
Forward
0 new messages