Open youngqqcn opened 4 years ago
Try install from Github repository pip install git+https://github.com/bitaps-com/pybtc
Same problem. And when installing from github
Cloning https://github.com/bitaps-com/pybtc to c:\users\pk\appdata\local\temp\pip-req-build-x65bxtru
Running command git clone -q https://github.com/bitaps-com/pybtc 'C:\Users\pk\AppData\Local\Temp\pip-req-build-x65bxtru'
Building wheels for collected packages: pybtc
Building wheel for pybtc (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\pk\appdata\local\programs\python\python37-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\pk\\AppData\\Local\\Temp\\pip-req-build-x65bxtru\\setup.py'"'"'; __file__='"'"'C:\\Users\\pk\\AppData\\Local\\Temp\\pip-req-build-x65bxtru\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\pk\AppData\Local\Temp\pip-wheel-vp49568c'
cwd: C:\Users\pk\AppData\Local\Temp\pip-req-build-x65bxtru\
Complete output (67 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win32-3.7
creating build\lib.win32-3.7\pybtc
copying pybtc\address.py -> build\lib.win32-3.7\pybtc
copying pybtc\block.py -> build\lib.win32-3.7\pybtc
copying pybtc\consensus.py -> build\lib.win32-3.7\pybtc
copying pybtc\constants.py -> build\lib.win32-3.7\pybtc
copying pybtc\crypto.py -> build\lib.win32-3.7\pybtc
copying pybtc\opcodes.py -> build\lib.win32-3.7\pybtc
copying pybtc\transaction.py -> build\lib.win32-3.7\pybtc
copying pybtc\wallet.py -> build\lib.win32-3.7\pybtc
copying pybtc\__init__.py -> build\lib.win32-3.7\pybtc
copying pybtc\__to_remove_blockchain__.py -> build\lib.win32-3.7\pybtc
creating build\lib.win32-3.7\pybtc\bitarray
copying pybtc\bitarray\__init__.py -> build\lib.win32-3.7\pybtc\bitarray
creating build\lib.win32-3.7\pybtc\connector
copying pybtc\connector\block_loader.py -> build\lib.win32-3.7\pybtc\connector
copying pybtc\connector\connector.py -> build\lib.win32-3.7\pybtc\connector
copying pybtc\connector\utils.py -> build\lib.win32-3.7\pybtc\connector
copying pybtc\connector\utxo.py -> build\lib.win32-3.7\pybtc\connector
copying pybtc\connector\__init__.py -> build\lib.win32-3.7\pybtc\connector
creating build\lib.win32-3.7\pybtc\functions
copying pybtc\functions\address.py -> build\lib.win32-3.7\pybtc\functions
copying pybtc\functions\bip32.py -> build\lib.win32-3.7\pybtc\functions
copying pybtc\functions\bip39_mnemonic.py -> build\lib.win32-3.7\pybtc\functions
copying pybtc\functions\block.py -> build\lib.win32-3.7\pybtc\functions
copying pybtc\functions\encode.py -> build\lib.win32-3.7\pybtc\functions
copying pybtc\functions\filters.py -> build\lib.win32-3.7\pybtc\functions
copying pybtc\functions\hash.py -> build\lib.win32-3.7\pybtc\functions
copying pybtc\functions\key.py -> build\lib.win32-3.7\pybtc\functions
copying pybtc\functions\script.py -> build\lib.win32-3.7\pybtc\functions
copying pybtc\functions\shamir.py -> build\lib.win32-3.7\pybtc\functions
copying pybtc\functions\tools.py -> build\lib.win32-3.7\pybtc\functions
copying pybtc\functions\__init__.py -> build\lib.win32-3.7\pybtc\functions
creating build\lib.win32-3.7\pybtc\test
copying pybtc\test\address_class.py -> build\lib.win32-3.7\pybtc\test
copying pybtc\test\address_functions.py -> build\lib.win32-3.7\pybtc\test
copying pybtc\test\block.py -> build\lib.win32-3.7\pybtc\test
copying pybtc\test\create_transaction.py -> build\lib.win32-3.7\pybtc\test
copying pybtc\test\ecdsa.py -> build\lib.win32-3.7\pybtc\test
copying pybtc\test\filters.py -> build\lib.win32-3.7\pybtc\test
copying pybtc\test\hash_functions.py -> build\lib.win32-3.7\pybtc\test
copying pybtc\test\integer.py -> build\lib.win32-3.7\pybtc\test
copying pybtc\test\mnemonic.py -> build\lib.win32-3.7\pybtc\test
copying pybtc\test\script_deserialize.py -> build\lib.win32-3.7\pybtc\test
copying pybtc\test\script_functions.py -> build\lib.win32-3.7\pybtc\test
copying pybtc\test\shamir.py -> build\lib.win32-3.7\pybtc\test
copying pybtc\test\sighash.py -> build\lib.win32-3.7\pybtc\test
copying pybtc\test\transaction_constructor.py -> build\lib.win32-3.7\pybtc\test
copying pybtc\test\transaction_deserialize.py -> build\lib.win32-3.7\pybtc\test
copying pybtc\test\wallet_class.py -> build\lib.win32-3.7\pybtc\test
copying pybtc\test\__init__.py -> build\lib.win32-3.7\pybtc\test
creating build\lib.win32-3.7\pybtc\bip39_word_list
copying pybtc\bip39_word_list\chinese_simplified.txt -> build\lib.win32-3.7\pybtc\bip39_word_list
copying pybtc\bip39_word_list\chinese_traditional.txt -> build\lib.win32-3.7\pybtc\bip39_word_list
copying pybtc\bip39_word_list\english.txt -> build\lib.win32-3.7\pybtc\bip39_word_list
copying pybtc\bip39_word_list\french.txt -> build\lib.win32-3.7\pybtc\bip39_word_list
copying pybtc\bip39_word_list\italian.txt -> build\lib.win32-3.7\pybtc\bip39_word_list
copying pybtc\bip39_word_list\japanese.txt -> build\lib.win32-3.7\pybtc\bip39_word_list
copying pybtc\bip39_word_list\korean.txt -> build\lib.win32-3.7\pybtc\bip39_word_list
copying pybtc\bip39_word_list\spanish.txt -> build\lib.win32-3.7\pybtc\bip39_word_list
copying pybtc\test\raw_block.txt -> build\lib.win32-3.7\pybtc\test
running build_clib
error: [WinError 193] %1 не является приложением Win32
----------------------------------------
ERROR: Failed building wheel for pybtc
I will try to install earlier commits.
Same problem. And when installing from github
error: [WinError 193] %1 не является приложением Win32
I install pybtc on windows failed
pip install pybtc