question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

nlu support on Python 3.8

See original GitHub issue

On import nlu, looks like pyspark/cloudpickle.py is failing with:

TypeError: an interger is required (got type bytes) . On some research, I found this is an issue with running pysark on Python 3.8. I am not sure if this is the only cause, but if it is, i recommend placing a requirements for Python<3.8

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:15 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
alexottcommented, Oct 7, 2020

It’s coming from pyspark 2.4 that is not running on 3.8… but yes, makes sense to put limit on python version

1reaction
C-K-Loancommented, Apr 4, 2021

Hi @muhlbach in the upcoming NLU healthcare release we will support Python 3.8 and Spark 3.0. The first release candidate will be available in a few days for testing, stay tuned 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

rasa-nlu - PyPI
Rasa NLU a natural language parser for bots. ... Join the forum at https://forum.rasa.com PyPI version Supported Python Versions Build Status Coverage ...
Read more >
John Snow Labs NLU 3.0.0 : r/MachineLearning - Reddit
200+ State of the Art Medical Models for NER, Entity Resolution, Relation Extraction, Assertion, Spark 3 and Python 3.8 support in NLU 3.0 ......
Read more >
What's New In Python 3.8 — Python 3.11.1 documentation
This article explains the new features in Python 3.8, compared to 3.7. ... To support both 3.8 and older, try pkg-config python-X.Y-embed --libs...
Read more >
John Snow Labs - John Snow Labs' NLU 3.0.0 has been released! It ...
John Snow Labs' NLU 3.0.0 has been released! ... 5 New overview notebooks for #healthcare models in #NLU, a new... ... X support...
Read more >
python - unable to install 'rasa_nlu' by terminal - Stack Overflow
... options BUILDING MATPLOTLIB matplotlib: yes [2.2.5] python: yes [3.8.5 (default, Sep 4 2020, ... can anyone help me in resolving that?
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found