deeptype icon indicating copy to clipboard operation
deeptype copied to clipboard

Use Python 3.6 and Cython 0.26 to install wikidata_linker_utils

Open fengh16 opened this issue 5 years ago • 1 comments

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 error SyntaxError: 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’

fengh16 avatar Jan 19 '20 02:01 fengh16

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 error SyntaxError: 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

ArashAmani avatar Feb 06 '20 08:02 ArashAmani