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
Updated SDK, Q2 Command No Longer Working

I updated the q2 SDK through the q2 update_installed command, and now my system does not respond to any q2 command. The traceback I get is

Traceback (most recent call last):
File "/usr/local/bin/q2", line 8, in <module>
from pkg_resources import load_entry_point
ModuleNotFoundError: No module named 'pkg_resources'

Posted 2 years ago
Votes Newest

Answers


HI Tanner,

Sdk version 2.224.0 had this issue. 2.224.1 should be able to fix this. You can pip install q2-sdk==2.224.1 manually. Or you can work around the issue with pip install setuptools directly. Switching to python3.12 had a few edgecases we didn't catch until the patch version.
Brian

Posted 2 years ago
Brian Mego
227 × 1 Administrator
154 Views
1 Answer
2 years ago
2 years ago