Skip to content

different output #261

Answered by ceteri
sauravsinhaa asked this question in Q&A
Aug 11, 2023 · 6 comments · 1 reply
Discussion options

You must be logged in to vote

it is working fine on jupyter but not on vs code

Ah-ha! @sauravsinhaa, this is probably the most important point :)

One thing which is rather obscure and tricky about Jupyter is that when you run a Jupyter notebook locally from a command line, the Python environment gets determined by your shell environment variables, not by whatever Python venv or other virtualization you're currently working in.

I say that this is "obscure" because one of the lead developers for spaCy and I worked for several days to troubleshoot an issue, only to realize that Jupyter was running an entirely different environment.

If you are using venv and launch Jupyter directly from venv/bin then it will at least de…

Replies: 6 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by ceteri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants
Converted from issue

This discussion was converted from issue #239 on August 22, 2023 16:41.