Skip to content

Splink 4.0.0: How to debug value error in training.py? #2316

Answered by RobinL
aalexandersson asked this question in Q&A
Discussion options

You must be logged in to vote

I have tried my test script above (the one that creates ssn_1 = np.random.randint(1, 670251, size=670251) etc.) on

  • Mac OS Sonoma 14.3, Python 3.11.8, with your requirements.txt.
  • Windows 11, Python 3.10, with a vanilla duckdb install. (I didn't use the whole of requirements.txt because it's pretty heavyweight and there's not much space on my old windows laptop)

I can't replicate the error on either

What happens if you create a fresh venv, install only splink, and try the test script. Do you still get the same error? How about on a different version of Python?

A bit stumped on this one!

If you run the test script in VS code debugger (Debug -> Start Debugging), then it'd be useful narrow d…

Replies: 1 comment 20 replies

Comment options

You must be logged in to vote
20 replies
@aalexandersson
Comment options

@RobinL
Comment options

@aalexandersson
Comment options

@RobinL
Comment options

Answer selected by aalexandersson
@aalexandersson
Comment options

@fscholes
Comment options

@RobinL
Comment options

@aalexandersson
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants