Skip to content

python setup.py install run failed #292

Open
@oushu1zhangzheng1

Description

Version of Python you are running

3.6.8

Version of steem-python you are running

latest master

Expected Behavior

python3 setup.py install successfully

Actual Behavior

it went wrong and give me an syntax error

besides the command "python3 setup.py install“ return nothing so i use the command ”python setup.py install“

Steps to reproduce

git clone https://github.com/steemit/steem-python.git
cd steem-python
python setup.py install

Stack Trace

Writing C:\Users\19156\AppData\Local\Temp\easy_install-rz77fg2m\pycrypto-2.6.1\setup.cfg
Running pycrypto-2.6.1\setup.py -q bdist_egg --dist-dir C:\Users\19156\AppData\Local\Temp\easy_install-rz77fg2m\pycrypto-2.6.1\egg-dist-tmp-r42687ml
warning: GMP or MPIR library not found; Not building Crypto.PublicKey.fastmath.
b'dk\xf6e\rN\x94^\tg \x00\\x00J\x00a\x00v\x00a\x00\\x00j\x00d\x00k\x001\x00.\x008\x00.\x000\x00
\x002\x000\x002\x00\\x00b\x00i\x00n\x00"\x00;\x00C\x00:\x00\\x00P\x00r\x00o\x00g\x00r\x00a\x00m\x00 \x00F\x00i\x00l\x00e\x00s\x00 \x00(\x00x\x008\x006\x00)\x00\\x00J\x00a\x00r\x002\x00E\x00x\x00e\x00 \x00W\x00i\x00z\x00a\x00r\x00d\x00\\x00;\x00D\x00:\x00\\x00I\x00n\x00t\x00e\x00l\x00l\x00i\x00J\x00 \x00I\x00D\x00E\x00A\x00 \x002\x000\x001\x009\x00.\x003\x00\\x00p\x00l\x00u\x00g\x00i\x00n\x00s\x00\\x00m\x00a\x00v\x00e\x00n\x00\\x00l\x00i\x00b\x00\\x00m\x00a\x00v\x00e\x00n\x003\x00\\x00b\x00i\x00n\x00;\x00C\x00:\x00\\x00U\x00s\x00e\x00r\x00s\x00\\x001\x009\x001\x005\x006\x00\\x00A\x00p\x00p\x00D\x00a\x00t\x00a\x00\\x00L\x00o\x00c\x00a\x00l\x00\\x00M\x00i\x00c\x00r\x00o\x00s\x00o\x00f\x00t\x00\\x00W\x00i\x00n\x00d\x00o\x00w\x00s\x00A\x00p\x00p\x00s\x00;\x00E\x00:\x00\\x00J\x00e\x00t\x00B\x00r\x00a\x00i\x00n\x00s\x00\\x00P\x00y\x00C\x00h\x00a\x00r\x00m\x00 \x002\x000\x002\x002\x00.\x003\x00.\x002\x00\\x00b\x00i\x00n\x00;\x00;\x00E\x00:\x00\\x00A\x00n\x00a\x00c\x00o\x00n\x00d\x00a\x003\x00;\x00E\x00:\x00\\x00A\x00n\x00a\x00c\x00o\x00n\x00d\x00a\x003\x00\\x00S\x00c\x00r\x00i\x00p\x00t\x00s\x00;\x00E\x00:\x00\\x00A\x00n\x00a\x00c\x00o\x00n\x00d\x00a\x003\x00\\x00L\x00i\x00b\x00r\x00a\x00r\x00y\x00\\x00m\x00i\x00n\x00g\x00w\x00-\x00w\x006\x004\x00\\x00b\x00i\x00n\x00;\x00E\x00:\x00\\x00A\x00n\x00a\x00c\x00o\x00n\x00d\x00a\x003\x00\\x00L\x00i\x00b\x00r\x00a\x00r\x00y\x00\\x00u\x00s\x00r\x00\\x00b\x00i\x00n\x00;\x00E\x00:\x00\\x00A\x00n\x00a\x00c\x00o\x00n\x00d\x00a\x003\x00\\x00L\x00i\x00b\x00r\x00a\x00r\x00y\x00\\x00b\x00i\x00n\x00;\x00E\x00:\x00\\x00M\x00i\x00c\x00r\x00o\x00s\x00o\x00f\x00t\x00 \x00V\x00i\x00s\x00u\x00a\x00l\x00 \x00S\x00t\x00u\x00d\x00i\x00o\x00\\x002\x000\x002\x002\x00\\x00B\x00u\x00i\x00l\x00d\x00T\x00o\x00o\x00l\x00s\x00\\x00V\x00C\x00;\x00C\x00:\x00\\x00U\x00s\x00e\x00r\x00s\x00\\x001\x009\x001\x005\x006\x00\\x00.\x00d\x00o\x00t\x00n\x00e\x00t\x00\\x00t\x00o\x00o\x00l\x00s\x00;\x00"\x00\x020\r\x00\n\x00'
winrand.c
C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\inttypes.h(31): error C2061: 语法错误: 标识符“intmax_t”
C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\inttypes.h(32): error C2061: 语法错误: 标识符“rem”
C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\inttypes.h(32): error C2059: 语法错误:“;”
C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\inttypes.h(33): error C2059: 语法错误:“}”
C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\inttypes.h(35): error C2061: 语法错误: 标识符“imaxdiv_t”
C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\inttypes.h(35): error C2059: 语法错误:“;”
C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\inttypes.h(45): error C2143: 语法错误: 缺少“{”(在“__cdecl”的前面)
C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\inttypes.h(46): error C2146: 语法错误: 缺少“)”(在标识符“_Number”的前面)
C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\inttypes.h(46): error C2061: 语法错误: 标识符“_Number”
C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\inttypes.h(46): error C2059: 语法错误:“;”
C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\inttypes.h(47): error C2059: 语法错误:“)”
C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\inttypes.h(50): error C2143: 语法错误: 缺少“{”(在“__cdecl”的前面)
C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\inttypes.h(51): error C2146: 语法错误: 缺少“)”(在标识符“_Numerator”的前面)
C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\inttypes.h(51): error C2061: 语法错误: 标识符“_Numerator”
C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\inttypes.h(51): error C2059: 语法错误:“;”
C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\inttypes.h(51): error C2059: 语法错误:“,”
C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\inttypes.h(53): error C2059: 语法错误:“)”
C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\inttypes.h(55): error C2143: 语法错误: 缺少“{”(在“__cdecl”的前面)
C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\inttypes.h(61): error C2143: 语法错误: 缺少“{”(在“__cdecl”的前面)
C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\inttypes.h(68): error C2143: 语法错误: 缺少“{”(在“__cdecl”的前面)
C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\inttypes.h(74): error C2143: 语法错误: 缺少“{”(在“__cdecl”的前面)
C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\inttypes.h(81): error C2143: 语法错误: 缺少“{”(在“__cdecl”的前面)
C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\inttypes.h(87): error C2143: 语法错误: 缺少“{”(在“__cdecl”的前面)
C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\inttypes.h(94): error C2143: 语法错误: 缺少“{”(在“__cdecl”的前面)
C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\inttypes.h(100): error C2143: 语法错误: 缺少“{”(在“__cdecl”的前面)
error: Setup script exited with error: command 'E:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\Bin\amd64\cl.exe' failed with exit status 2

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions