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")
Escape special characters +-&|!(){}[]^"~*?:\ - 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
Answered
I am getting a toncli installation error on Windows.

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.

Votes Newest

Answers


This command helped: pip install bitstring==3.1.9

Thanks to Andrey Tvorozhkov

22K Views
1 Answer
one year ago
one year ago
Tags