You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using python 3.9, I'm getting this following error
TypeError: type() takes 1 or 3 arguments
Traceback:
File "/Users/tarunmamidi/opt/anaconda3/envs/hazel/lib/python3.9/site-packages/streamlit/script_runner.py", line 430, in _run_script
exec(code, module.__dict__)
File "/Users/tarunmamidi/Documents/Development/uab-meter/src/streamlit.py", line 39, in <module>
main()
File "/Users/tarunmamidi/Documents/Development/uab-meter/src/streamlit.py", line 35, in main
page = page()
File "/Users/tarunmamidi/Documents/Development/uab-meter/src/diagnosis/diagnosis.py", line 80, in hd
data, id_to_name, res, gene2hpo, flat_ls, staged_data, extract = load_data()
File "/Users/tarunmamidi/opt/anaconda3/envs/hazel/lib/python3.9/site-packages/streamlit/legacy_caching/caching.py", line 573, in wrapped_func
return get_or_create_cached_value()
File "/Users/tarunmamidi/opt/anaconda3/envs/hazel/lib/python3.9/site-packages/streamlit/legacy_caching/caching.py", line 557, in get_or_create_cached_value
return_value = func(*args, **kwargs)
File "/Users/tarunmamidi/Documents/Development/uab-meter/src/diagnosis/diagnosis.py", line 75, in load_data
extract = Extractor(remove_negated=True)
File "/Users/tarunmamidi/opt/anaconda3/envs/hazel/lib/python3.9/site-packages/txt2hpo/extract.py", line 186, in __init__
self.negation_model = nlp_model(negation_language=negation_language)
File "/Users/tarunmamidi/opt/anaconda3/envs/hazel/lib/python3.9/site-packages/txt2hpo/nlp.py", line 14, in nlp_model
nlp.add_pipe(nlp.create_pipe('sentencizer'))
File "/Users/tarunmamidi/opt/anaconda3/envs/hazel/lib/python3.9/site-packages/spacy/language.py", line 302, in create_pipe
return factory(self, **config)
File "/Users/tarunmamidi/opt/anaconda3/envs/hazel/lib/python3.9/site-packages/spacy/language.py", line 1045, in factory
return obj.from_nlp(nlp, **cfg)
File "pipes.pyx", line 1465, in spacy.pipeline.pipes.Sentencizer.from_nlp
When using python 3.9, I'm getting this following error
I saw the similar issue here.
Can you please help me with this?
The text was updated successfully, but these errors were encountered: