Skip to content

Install failed with python3.4.4 in Win10 #69

@Neeil

Description

@Neeil

There are about 3 issues occur.

1.Something seems wrong with in the README.md
$ python setup.py install Traceback (most recent call last): File "setup.py", line 38, in <module> long_description=read('README.md'), File "setup.py", line 33, in read return open(os.path.join(os.path.dirname(__file__), fname)).read() UnicodeDecodeError: 'gbk' codec can't decode byte 0x9d in position 11668: illega l multibyte sequence
I replace the README.md with a new empty file. No longer show this.

2.There is a tab in main.py while all others are spaces. Python throw this issue.
Sorry: TabError: inconsistent use of tabs and spaces in indentation (lstools_dar win.py, line 119) File "build\bdist.win-amd64\egg\mbed_lstools\main.py", line 166 print json.dumps(mbeds.mock_read(), indent=4) ^ SyntaxError: invalid syntax
I remvoe the tab with space, passed.

3.print still follows py2 standard.
File "build\bdist.win-amd64\egg\mbed_lstools\lstools_base.py", line 386 print 'error: %s'% text ^ SyntaxError: Missing parentheses in call to 'print'
It seems you may update these to py3.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions