deeptype
deeptype copied to clipboard
Use Python 3.6 and Cython 0.26 to install wikidata_linker_utils
There are many problems when install wikidata_linker_utils with python3.7 or Cython > 0.26.
Issue about Cython >0.26:
- https://github.com/openai/deeptype/issues/38
Problems using Python3.7:
- Python 3.7 introduced a change which made async a reserved keyword, but Cython < 0.27.2 has a statement
await = None
, which will cause an errorSyntaxError: invalid syntax
- If you use Python3.7 together with Cython0.27.2, you will get many problems like this:
‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’
Thank
There are many problems when install wikidata_linker_utils with python3.7 or Cython > 0.26.
Issue about Cython >0.26:
- #38
Problems using Python3.7:
- Python 3.7 introduced a change which made async a reserved keyword, but Cython < 0.27.2 has a statement
await = None
, which will cause an errorSyntaxError: invalid syntax
- If you use Python3.7 together with Cython0.27.2, you will get many problems like this:
‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’
thanks a lot. my problem has been solved. I create a virtual env with python 3.6 then install Cython 0.26