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
Python BDK Import Issue

Hi,

I am at:
https://learn.symphony.com/courses/take/bdk-2-python/lessons/27987560-demo-configuration-hello-world
and trying to run the bot at 3:44 for the first time but unable to.

Win11, with VS Code with Python 3.10.5 from the windows store installed.

There are 6 problems which indicate the symphony bdk library is not imported.
スクリーンショット 2022-06-10 000542.png

The python intepreter workign with VS Code is Python 3.10.5
スクリーンショット 2022-06-10 000659.png

has anyone else encountered this issue?

running >> python3 -m src
returns a ModuleNotFoudnError: No module named 'symphony'

スクリーンショット 2022-06-10 002023.png

Thanks in advance.

  
  
Posted one year ago
Edited one year ago
  
  

let me try that, thaks @<1369010258210459648|dk>

Ken M.   one year ago Report
Votes Newest

Answers 2


Hi, under the 3.10.5 interpreter are you sure you have the symphony-bdk-python package installed? Something like

pip3 install symphony-bdk-python

should do it if you use pip.

  
  
Posted one year ago
  
  

okay, not sure what it was but re-executing the three commands again resolved the issue. the problem seems to be related to installing python3-pip where the last line returned a "Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
/sbin/ldconfig.real: /usr/lib/wsl/lib/libcuda.so.1 is not a symbolic link"

reinstalled python3-pip and the 3 command lines as in the demo and it all works now.

Ken M.   one year ago Report

let me try that, thaks @<1369010258210459648|dk>

  
  
Posted one year ago
2K Views
2 Answers
one year ago
one year ago
Tags