0

I am unable to install Nova-Compute. When I run the python setup.py install command there is an error in parsing. I am not getting the problem. I did'nt change the setup.cfg file. I even tried replacing with the old nova setup.cfg file.

This is the error

> bash-4.2# python setup.py install
> error in setup command: Error parsing /sagar/nova/setup.cfg: LookupError: unknown encoding: utf-8
Harikrishnan
  • 9,688
  • 11
  • 84
  • 127
Sagar
  • 273
  • 1
  • 3
  • 12

2 Answers2

0

It's utf_8 not utf-8

Check Standard Encodings for more info

Harikrishnan
  • 9,688
  • 11
  • 84
  • 127
  • I think that is not the issue. That is already used in availability_zones.py and utils.py packages. I tried changing it. – Sagar Jan 28 '15 at 07:25
0

I had similar error but for another OpenStack service. Try to set your locale manually, for example, execute this in your shell:

export LC_ALL=C

you can also add this line into your .bashrc file.

artemdevel
  • 641
  • 1
  • 9
  • 21