Closed NixerSo5 closed 1 year ago
Did you just pip install? If so remove the tree of thoughts after the dot
Just do from tree_of_thoughts import
Same issue here...
I've tried changing from tree_of_thoughts.openaiModels import OptimizedOpenAILanguageModel
to from tree_of_thoughts import OptimizedOpenAILanguageModel
and still get the error
~/Projects/tree-of-thoughts/tree_of_thoughts$ python treeofthoughts.py --problem "design an new transportation system for an all-new city" --search_algorith
m="BFS"
Traceback (most recent call last):
File "/Projects/tree-of-thoughts/tree_of_thoughts/treeofthoughts.py", line 6, in <module>
from tree_of_thoughts.openaiModels import OptimizedOpenAILanguageModel
ModuleNotFoundError: No module named 'tree_of_thoughts'
~/Projects/tree-of-thoughts/tree_of_thoughts$ python treeofthoughts.py --problem "design an new transportation system for an all-new city" --search_algorithm="BFS"
Traceback (most recent call last):
File "/Projects/tree-of-thoughts/tree_of_thoughts/treeofthoughts.py", line 6, in <module>
from tree_of_thoughts import OptimizedOpenAILanguageModel
ModuleNotFoundError: No module named 'tree_of_thoughts'
Hey, I believe you did not pip install!
+1