Converting into exe file through pyinstaller-> spacy cannot find factory for 'curated transformer' #13423
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
|
Hi! Sorry to hear you're running into issues with this. So the way that the factories work, is that the |
Beta Was this translation helpful? Give feedback.
-
|
Here is my solution: Import the following modules at the beginning of your script:Manually add the following directories in PyInstaller: Since PyInstaller does not automatically include certain dependencies, you need to manually specify them. You can achieve this by modifying your PyInstaller build command to include the required folders. Explanation:
This ensures that PyInstaller includes all necessary dependencies when building your standalone executable. |
Beta Was this translation helpful? Give feedback.

Here is my solution:
Import the following modules at the beginning of your script:
Manually add the following directories in PyInstaller:
Since PyInstaller does not automatically include certain dependencies, you need to manually specify them. You can achieve this by modifying your PyInstaller build command to include the required folders.