Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
toncli installation error

I done all instructions from that guide: https://github.com/disintar/toncli/blob/master/INSTALLATION.md
Arter 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>

Am i need to fix this? - ImportError: cannot import name 'BitString' from 'bitstring'

Wish to understand the problem.


Thank you guys, it helped me alot

No Name   2 months ago Report
Votes Newest


That command helped: pip install bitstring==3.1.9

Thanks to Andrey Tvorozhkov

Posted 2 months ago
1 Answer
2 months ago
2 months ago