Qbot icon indicating copy to clipboard operation
Qbot copied to clipboard

Many bugs when requirement installing

Open wudi1940 opened this issue 2 years ago • 2 comments

🐛 Bug Description

python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [28 lines of output] /usr/local/lib64/python3.9/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-install-43rjazef/thriftpy2_098466ab960645bcb88f3bcdffd1b7e4/thriftpy2/transport/cybase.pxd tree = Parsing.p_module(s, pxd, full_module_name)

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
  
      cdef int grow(self, int min_size):
          if min_size <= self.buf_size:
              return 0
  
          cdef int multiples = min_size / self.buf_size
                                        ^
  ------------------------------------------------------------
  
  thriftpy2/transport/cybase.pyx:90:38: Cannot assign type 'double' to 'int'
  Traceback (most recent call last):
    File "<string>", line 2, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "/tmp/pip-install-43rjazef/thriftpy2_098466ab960645bcb88f3bcdffd1b7e4/setup.py", line 61, in <module>
      cythonize("thriftpy2/transport/cybase.pyx")
    File "/usr/local/lib64/python3.9/site-packages/Cython/Build/Dependencies.py", line 1134, in cythonize
      cythonize_one(*args)
    File "/usr/local/lib64/python3.9/site-packages/Cython/Build/Dependencies.py", line 1301, in cythonize_one
      raise CompileError(None, pyx_file)
  Cython.Compiler.Errors.CompileError: thriftpy2/transport/cybase.pyx
  Compiling thriftpy2/transport/cybase.pyx because it changed.
  [1/1] Cythonizing thriftpy2/transport/cybase.pyx
  [end of output]

Environment

Note: User could run cd scripts && python collect_info.py all under project directory to get system information and paste them here directly.

  • Qbot version: latest
  • Python version: 3.9
  • OS (Windows, Linux, MacOS): linux
  • Commit number (optional, please provide it if you are using the dev version):

wudi1940 avatar Aug 24 '23 03:08 wudi1940

Hey @{user}! Welcome to the QBOT repo on Github.

github-actions[bot] avatar Aug 24 '23 03:08 github-actions[bot]

requirements 确实有些问题,已经修复 #commit https://github.com/UFund-Me/Qbot/commit/9ea335fa4839ba738e802564c783585cf6fb678a

Charmve avatar Sep 20 '23 15:09 Charmve