This command helped: pip install bitstring==3.1.9
Thanks to Andrey Tvorozhkov
I have done all instructions from this guide: https://github.com/disintar/toncli/blob/master/INSTALLATION.md
After the toncli
command, I should have:
Unfortunately I have:
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS C:\Users\Honor> cd ..
PS C:\Users> cd ..
PS C:\> cd C:\Users\Honor\OneDrive\Desktop\uver_files\TON\Dev_on_TON\ton-win64-binaries
PS C:\Users\Honor\OneDrive\Desktop\uver_files\TON\Dev_on_TON\ton-win64-binaries> toncli
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Python311\Scripts\toncli.exe\__main__.py", line 4, in <module>
File "C:\Python311\Lib\site-packages\toncli\main.py", line 7, in <module>
from toncli.modules.utils.commands.commands_executer import CommandsExecuter
File "C:\Python311\Lib\site-packages\toncli\modules\utils\commands\commands_executer.py", line 7, in <module>
from toncli.modules.utils.commands.command_classes.addrs_command import AddrsCommand
File "C:\Python311\Lib\site-packages\toncli\modules\utils\commands\command_classes\addrs_command.py", line 5, in <module>
from toncli.modules.deploy_contract import ContractDeployer
File "C:\Python311\Lib\site-packages\toncli\modules\deploy_contract.py", line 7, in <module>
from toncli.modules.abstract.deployer import AbstractDeployer
File "C:\Python311\Lib\site-packages\toncli\modules\abstract\deployer.py", line 20, in <module>
from toncli.modules.utils.ton.cell import deserialize
File "C:\Python311\Lib\site-packages\toncli\modules\utils\ton\cell.py", line 1, in <module>
from bitstring import BitString
ImportError: cannot import name 'BitString' from 'bitstring' (C:\Python311\Lib\site-packages\bitstring.py)
PS C:\Users\Honor\OneDrive\Desktop\uver_files\TON\Dev_on_TON\ton-win64-binaries>
Do I need to fix this? - ImportError: cannot import name 'BitString' from 'bitstring'
I'm trying to understand the problem.
This command helped: pip install bitstring==3.1.9
Thanks to Andrey Tvorozhkov
Thank you guys, it helped me alot