Skip to content
Discussion options

You must be logged in to vote

Here is my solution:

Import the following modules at the beginning of your script:

import spacy_transformers
import curated_transformers
import spacy_curated_transformers
import spacy_alignments
import spacy_transformers.pipeline_component
import spacy_curated_transformers.pipeline
import spacy

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.

# Path to site-packages in your virtual environment
base_dir = os.path.abspath(os.path.dirname(__file__))  # Adjust as needed
site_packages_d…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@estherkim083
Comment options

@estherkim083
Comment options

@JackBeauregard
Comment options

@estherkim083
Comment options

@JackBeauregard
Comment options

Comment options

You must be logged in to vote
1 reply
@estherkim083
Comment options

Answer selected by estherkim083
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
install Installation issues feat / transformer Feature: Transformer
3 participants
Converted from issue

This discussion was converted from issue #13422 on April 09, 2024 10:08.