- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
这是什么意思?我该如何解决?
gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/home/jm/pycharm_projects/circus/venv_3_11_dev/include -I/home/jm/.pyenv/versions/3.11-dev/include/python3.11 -c src/greenlet/greenlet.c -o build/temp.linux-x86_64-3.11/src/greenlet/greenlet.o
In file included from src/greenlet/greenlet.c:11:
src/greenlet/greenlet.h:42:5: error: unknown type name ‘CFrame’
42 | CFrame* cframe;
| ^~~~~~
src/greenlet/greenlet.c: In function ‘green_clear_exc’:
src/greenlet/greenlet.c:173:17: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_type’
173 | g->exc_state.exc_type = NULL;
| ^
src/greenlet/greenlet.c:175:17: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_traceback’
175 | g->exc_state.exc_traceback = NULL;
| ^
src/greenlet/greenlet.c: In function ‘g_switchstack’:
src/greenlet/greenlet.c:528:44: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘recursion_depth’; did you mean ‘recursion_limit’?
528 | current->recursion_depth = tstate->recursion_depth;
| ^~~~~~~~~~~~~~~
| recursion_limit
src/greenlet/greenlet.c:529:38: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘frame’; did you mean ‘cframe’?
529 | current->top_frame = tstate->frame;
| ^~~~~
| cframe
src/greenlet/greenlet.c:552:25: warning: assignment to ‘int *’ from incompatible pointer type ‘_PyCFrame *’ {aka ‘struct _PyCFrame *’} [-Wincompatible-pointer-types]
552 | current->cframe = tstate->cframe;
| ^
src/greenlet/greenlet.c:577:17: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘recursion_depth’; did you mean ‘recursion_limit’?
577 | tstate->recursion_depth = target->recursion_depth;
| ^~~~~~~~~~~~~~~
| recursion_limit
src/greenlet/greenlet.c:578:17: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘frame’; did you mean ‘cframe’?
578 | tstate->frame = target->top_frame;
| ^~~~~
| cframe
src/greenlet/greenlet.c:601:24: warning: assignment to ‘_PyCFrame *’ {aka ‘struct _PyCFrame *’} from incompatible pointer type ‘int *’ [-Wincompatible-pointer-types]
601 | tstate->cframe = target->cframe;
| ^
src/greenlet/greenlet.c: In function ‘g_initialstub’:
src/greenlet/greenlet.c:813:5: error: unknown type name ‘CFrame’
813 | CFrame trace_info;
| ^~~~~~
src/greenlet/greenlet.c:857:18: error: incompatible types when assigning to type ‘int’ from type ‘_PyCFrame’ {aka ‘struct _PyCFrame’}
857 | trace_info = *PyThreadState_GET()->cframe;
| ^
src/greenlet/greenlet.c:864:17: error: request for member ‘previous’ in something not a structure or union
864 | self->cframe->previous = &PyThreadState_GET()->root_cframe;
| ^~
src/greenlet/greenlet.c:878:50: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘recursion_depth’; did you mean ‘recursion_limit’?
878 | self->recursion_depth = PyThreadState_GET()->recursion_depth;
| ^~~~~~~~~~~~~~~
| recursion_limit
src/greenlet/greenlet.c: In function ‘green_new’:
src/greenlet/greenlet.c:1018:34: warning: assignment to ‘int *’ from incompatible pointer type ‘_PyCFrame *’ {aka ‘struct _PyCFrame *’} [-Wincompatible-pointer-types]
1018 | ((PyGreenlet*)o)->cframe = &PyThreadState_GET()->root_cframe;
| ^
In file included from /home/jm/.pyenv/versions/3.11-dev/include/python3.11/Python.h:45,
from src/greenlet/greenlet.h:8,
from src/greenlet/greenlet.c:11:
src/greenlet/greenlet.c: In function ‘green_traverse’:
src/greenlet/greenlet.c:1124:29: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_type’
1124 | Py_VISIT(self->exc_state.exc_type);
| ^
/home/jm/.pyenv/versions/3.11-dev/include/python3.11/objimpl.h:199:13: note: in definition of macro ‘Py_VISIT’
199 | if (op) { \
| ^~
In file included from /home/jm/.pyenv/versions/3.11-dev/include/python3.11/Python.h:44,
from src/greenlet/greenlet.h:8,
from src/greenlet/greenlet.c:11:
src/greenlet/greenlet.c:1124:29: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_type’
1124 | Py_VISIT(self->exc_state.exc_type);
| ^
/home/jm/.pyenv/versions/3.11-dev/include/python3.11/object.h:107:41: note: in definition of macro ‘_PyObject_CAST’
107 | #define _PyObject_CAST(op) ((PyObject*)(op))
| ^~
src/greenlet/greenlet.c:1124:5: note: in expansion of macro ‘Py_VISIT’
1124 | Py_VISIT(self->exc_state.exc_type);
| ^~~~~~~~
In file included from /home/jm/.pyenv/versions/3.11-dev/include/python3.11/Python.h:45,
from src/greenlet/greenlet.h:8,
from src/greenlet/greenlet.c:11:
src/greenlet/greenlet.c:1126:29: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_traceback’
1126 | Py_VISIT(self->exc_state.exc_traceback);
| ^
/home/jm/.pyenv/versions/3.11-dev/include/python3.11/objimpl.h:199:13: note: in definition of macro ‘Py_VISIT’
199 | if (op) { \
| ^~
In file included from /home/jm/.pyenv/versions/3.11-dev/include/python3.11/Python.h:44,
from src/greenlet/greenlet.h:8,
from src/greenlet/greenlet.c:11:
src/greenlet/greenlet.c:1126:29: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_traceback’
1126 | Py_VISIT(self->exc_state.exc_traceback);
| ^
/home/jm/.pyenv/versions/3.11-dev/include/python3.11/object.h:107:41: note: in definition of macro ‘_PyObject_CAST’
107 | #define _PyObject_CAST(op) ((PyObject*)(op))
| ^~
src/greenlet/greenlet.c:1126:5: note: in expansion of macro ‘Py_VISIT’
1126 | Py_VISIT(self->exc_state.exc_traceback);
| ^~~~~~~~
src/greenlet/greenlet.c: In function ‘green_clear’:
src/greenlet/greenlet.c:1162:29: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_type’
1162 | Py_CLEAR(self->exc_state.exc_type);
| ^
/home/jm/.pyenv/versions/3.11-dev/include/python3.11/object.h:107:41: note: in definition of macro ‘_PyObject_CAST’
107 | #define _PyObject_CAST(op) ((PyObject*)(op))
| ^~
src/greenlet/greenlet.c:1162:5: note: in expansion of macro ‘Py_CLEAR’
1162 | Py_CLEAR(self->exc_state.exc_type);
| ^~~~~~~~
src/greenlet/greenlet.c:1162:29: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_type’
1162 | Py_CLEAR(self->exc_state.exc_type);
| ^
/home/jm/.pyenv/versions/3.11-dev/include/python3.11/object.h:561:14: note: in definition of macro ‘Py_CLEAR’
561 | (op) = NULL; \
| ^~
src/greenlet/greenlet.c:1164:29: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_traceback’
1164 | Py_CLEAR(self->exc_state.exc_traceback);
| ^
/home/jm/.pyenv/versions/3.11-dev/include/python3.11/object.h:107:41: note: in definition of macro ‘_PyObject_CAST’
107 | #define _PyObject_CAST(op) ((PyObject*)(op))
| ^~
src/greenlet/greenlet.c:1164:5: note: in expansion of macro ‘Py_CLEAR’
1164 | Py_CLEAR(self->exc_state.exc_traceback);
| ^~~~~~~~
src/greenlet/greenlet.c:1164:29: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_traceback’
1164 | Py_CLEAR(self->exc_state.exc_traceback);
| ^
/home/jm/.pyenv/versions/3.11-dev/include/python3.11/object.h:561:14: note: in definition of macro ‘Py_CLEAR’
561 | (op) = NULL; \
| ^~
src/greenlet/greenlet.c: In function ‘green_dealloc’:
src/greenlet/greenlet.c:1256:29: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_type’
1256 | Py_CLEAR(self->exc_state.exc_type);
| ^
/home/jm/.pyenv/versions/3.11-dev/include/python3.11/object.h:107:41: note: in definition of macro ‘_PyObject_CAST’
107 | #define _PyObject_CAST(op) ((PyObject*)(op))
| ^~
src/greenlet/greenlet.c:1256:5: note: in expansion of macro ‘Py_CLEAR’
1256 | Py_CLEAR(self->exc_state.exc_type);
| ^~~~~~~~
src/greenlet/greenlet.c:1256:29: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_type’
1256 | Py_CLEAR(self->exc_state.exc_type);
| ^
/home/jm/.pyenv/versions/3.11-dev/include/python3.11/object.h:561:14: note: in definition of macro ‘Py_CLEAR’
561 | (op) = NULL; \
| ^~
src/greenlet/greenlet.c:1258:29: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_traceback’
1258 | Py_CLEAR(self->exc_state.exc_traceback);
| ^
/home/jm/.pyenv/versions/3.11-dev/include/python3.11/object.h:107:41: note: in definition of macro ‘_PyObject_CAST’
107 | #define _PyObject_CAST(op) ((PyObject*)(op))
| ^~
src/greenlet/greenlet.c:1258:5: note: in expansion of macro ‘Py_CLEAR’
1258 | Py_CLEAR(self->exc_state.exc_traceback);
| ^~~~~~~~
src/greenlet/greenlet.c:1258:29: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_traceback’
1258 | Py_CLEAR(self->exc_state.exc_traceback);
| ^
/home/jm/.pyenv/versions/3.11-dev/include/python3.11/object.h:561:14: note: in definition of macro ‘Py_CLEAR’
561 | (op) = NULL; \
| ^~
src/greenlet/greenlet.c: In function ‘PyGreenlet_New’:
src/greenlet/greenlet.c:1777:15: warning: assignment to ‘int *’ from incompatible pointer type ‘_PyCFrame *’ {aka ‘struct _PyCFrame *’} [-Wincompatible-pointer-types]
1777 | g->cframe = &PyThreadState_GET()->root_cframe;
| ^
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]
版本信息:
看起来相关:
最佳答案
让@jmunsch 的回答更清楚。检查您的 pip 版本是否为最新版本。之后,要安装与 py3.11 兼容的 greenlet,请使用:
$ pip3.11 install greenlet==2.0.0a2
请注意这是一个 alpha version .
我个人在尝试 pip install sqlalchemy 时遇到了这个问题。我的解决方案是在安装 sqlalchemy 之前先运行上面的命令来安装 greenlet。 (pip install sqlalchemy 解决安装不兼容版本的 greenlet)。
关于python - src/greenlet/greenlet.h :42:5: error: unknown type name ‘CFrame’ ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71607693/
我正在尝试使用 jquery 获取图像 src,如下所示: HTML Javascript var imageSrc = $('.post_container img').attr('s
我遇到错误,无法完成构建。我搜索了 Stackoverflow 和 Github。我已经尝试了很多方法,但我无法修复。请帮忙。 (1) 在 [src/nullnull/debug, src/debug
我正在尝试使用图像制作一款类似 Match3 的游戏,但我无法进行比较。我正在为固定数量的 atm 执行此操作,只是为了让它正常工作,稍后应该在 foreach 循环中。如果有什么区别的话,该函数位于
我正在使用 jquery 插件 OwlCarousel,在我的一个 View 中使用 ng-repeat 场景,如下所示: 它运行良好,并为轮播中的每个项目输出以下标记: 有没
我的代码如下所示: Bitmap b = BitmapFactory.decodeResource(getResources(), R.drawable.image1); int wi
如果未找到 src,我将使用 Angular 指令作为后备 url 作为名称首字母 指令 (function () { 'use strict'; angular .m
我是构建 chrome 扩展的新手,从一个小项目开始,我需要在弹出窗口中打印“构建版本”。构建版本被附加到 JS/CSS 资源中,如下所示: 需要从脚本 src 值中提取“6.0”。你能帮我看看如何
类型‘AbstractControl’上不存在属性‘Controls’。
这个tutorial演示如何使用指令 ngSrc 而不是 src : 他们要求: Replace the ng-src directive with a pl
我正在创建一个包含多个图像的图库,您可以在其中单击一个小缩略图,然后将打开该图像的更大版本。 打开后,如果您移动光标,图像将在 y 轴上跟随您。类似于 https://www.zara.com/es/
文档[] src.charAt src.length 这三样东西是什么? 我确定 pixState 会给我 1 或 0; var pixState = document[imgName].src.ch
问题背景: 我正在使用这个问题的解决方案:How to update AngularJS view when the value has not changed?所以在我看来我有: 当我更改照片时
我在 html 中有整个页面,在输出之前我想将所有 img src 替换为 data-src我正在使用 return (preg_replace('~]*\K(?=src)~i','data-',
Difference(s): android:src and tools:src? 如果有的话,什么时候使用 tools:src 而不是 android:src 是合适的? 最佳答案 如果您在运行时在
我需要检查每个 script 标签的 src 值,如果匹配,我想更改该脚本标签的 src 属性...像这样: var scripts = document.getElementsByTagName("
使用 img 标签的 data-src 或 src 属性有什么区别和后果(好的和坏的)?我可以使用两者获得相同的结果吗?如果是这样,应该什么时候使用它们? 最佳答案 属性 src 和 data-src
我使用 Vue。我尝试输出图像,当我使用 src 时效果很好,但当我使用 :src 时效果不佳。 作品 不起作用 我试过但没有用 @ 在路径的第一个。 ~ 路径中的第一个。 ./ 在路径的第一个。
在当前项目中我正在使用 jQuery。我只是想知道为什么会这样, $('#homeIcon').hover(function(){ document.getElementById('homeI
我在严格的 Java 环境中。 所以这个问题并不像标题中那么简单,我不是要解决我遇到的问题,它更理论化,以获得更好的知识。 我感兴趣的是用双引号或单引号匹配 src,但如果是双引号,它也必须用双引号结
我有一个 Joomla 2.5.28,现在使用 https 而不是 http。 一些文章(很多)包含来自 Vimeo 的嵌入视频。 最初,这些视频是使用http嵌入的,所以现在我的数据库中有字段int
我是一名优秀的程序员,十分优秀!