Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโ€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Many bugs when requirement installing #64

Open
wudi1940 opened this issue Aug 24, 2023 · 2 comments
Open

Many bugs when requirement installing #64

wudi1940 opened this issue Aug 24, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@wudi1940
Copy link

๐Ÿ› 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 wudi1940 added the bug Something isn't working label Aug 24, 2023
@github-actions
Copy link


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

@Charmve
Copy link
Member

Charmve commented Sep 20, 2023

requirements ็กฎๅฎžๆœ‰ไบ›้—ฎ้ข˜๏ผŒๅทฒ็ปไฟฎๅค #commit 9ea335f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants