haystack icon indicating copy to clipboard operation
haystack copied to clipboard

This typically means that you attempted to use functionality that needed the current application. To solve this, set up an application context with app.app_context()

Open HGamalElDin opened this issue 1 year ago • 1 comments

Hello, apparently I can't run haystack v1.18 on Windows.

I Face this error: This typically means that you attempted to use functionality that needed the current application. To solve this, set up an application context with app.app_context()

when I try to import

import haystack
from haystack.nodes import LangdetectDocumentLanguageClassifier

I'm using python=3.11 Windows: 10 - CPU

HGamalElDin avatar Jul 10 '23 09:07 HGamalElDin

Hey @HGamalElDin, can you share how you're trying to run this code? The error is not from Haystack itself, so we need to know your environment better to be able to help :slightly_smiling_face:

ZanSara avatar Sep 29 '23 08:09 ZanSara