0

While installing OpenBayes module (from .exe file) for py2 i got error: "could not set a key value" (not a python error, but in dialog window)

I tried using pip install from a command line, but still get errors there.

Command "python setup.py egg_info" failed with error code 1 in C:\Users\CD3B~1\AppData\Local\Temp\pip-build-m4nnwa4o\OpenBayes\

Also not sure which python (2 or 3) is used when i type a command from console(I have both, but it seems that the OpenBayes module doesn't work with py3.

How should I specify the version while running pip install from command line?

2 Answers2

0

You can do

python2.7 /usr/bin/pip install package
itzMEonTV
  • 19,851
  • 4
  • 39
  • 49
  • Sorry, didn't got it. – Mariam Gazaryan May 12 '17 at 12:26
  • will this help you http://stackoverflow.com/questions/2812520/pip-dealing-with-multiple-python-versions ? – itzMEonTV May 12 '17 at 13:09
  • I finally uninstalled Py3 and I then installed numpy with pip install for Py2, but when I try to install OpenBayes I still get the same error. I also tried easy_install OpenBayes, but then i get the other Error: UnicodeDecodeError: 'ascii' codec can't decode byte 0xcc in position 9: ordinal not in range(128) – Mariam Gazaryan May 12 '17 at 13:25
0

I once had this error, and for me worked as pip for python 2.x and using pip3 for python3.x

Ivan
  • 782
  • 11
  • 23