Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Does not work with Ipython #29

@orena1

Description

@orena1

Hi.
I have a problem with the package and ipython.
As soon as I dd
import ahkab
from ahkab import circuit, printing, devices

First thing that I get is:
W: Locale appears not set! please export LANG="en_US.UTF-8" or equivalent,
W: or ahkab's unicode support is broken.

and then when I use the up arrow key in the keyboard I get this:

In [4]: ^[[A

If I use the down arrow key I get:

In [5]: ^[[B

I use linux
Linux 3.14.14-gentoo

In [2]: for i in numpy, scipy, matplotlib:
   ...:         print i.__version__
   ...:     
1.9.2
0.14.0
1.4.3

Python 2.7.9 |Anaconda 2.1.0 (64-bit)| (default, Mar  9 2015, 16:20:48) 
Type "copyright", "credits" or "license" for more information.

IPython 2.1.0 -- An enhanced Interactive Python.

locale -a
gives me -

C
en_US
en_US.iso88591
en_US.utf8
POSIX

and doing export LANG="en_US" change noting.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions