腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(9999+)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
2
回答
将.py文件编译为.c文件,然后转换为.so文件
我试图用
Cython
编译python文件,并将其编译成.c文件,然后使用gcc
加密
,最好的方法是
cython
-a test.pygcc -shared -pthread -Wall -fno-strict-aliasing -I/usr/include/python2.7 -o test.so test.c 但有人告诉我,他解密了我的文件,并看到了密码,什么是最好的方式
加密
浏览 4
提问于2015-03-26
得票数 2
回答已采纳
1
回答
由于
cython
依赖,无法在dind 18.09.6-dind上使用pip安装awscli
以下是示例代码: apk add curlpip install --user awscli 错误是:- apk add py-pip(2/
11
) Installing expat (2.2.8-r0)(4/
11
) Installinggdbm (1.13-r1) (5/
11</
浏览 68
修改于2021-12-02
得票数 0
回答已采纳
1
回答
Cython
对所有Python脚本抛出相同的运行时错误。
我在Cygwin上做了一个没有问题的pip install --upgrade
cython
。但是,我尝试使用
cython
运行的每个脚本都会给出以下运行时错误,以及GINMF (Google不是我的朋友):print("hello
cython
") $
cython
/tmp/hello_
cython
.py -o /tmp/hello_
cyth
浏览 6
提问于2015-02-24
得票数 0
2
回答
为什么这个makefile会在最后删除两个.c文件?
GameCFLAGS = -c -I/usr/include/python2.7/ -Wall -std=c
11
main.py $(PFLAGS) --embed
cython
$< $(PFLAGS) rm -f *.o *.c html/* $(TARGET)
cython
Game.p
浏览 2
提问于2015-10-17
得票数 0
回答已采纳
1
回答
在mac上安装imagecodecs
'imagecodecs/_brotli.c'
Cython
extension (up-to-date) skipping 'imagecodecs/_imcd.c'
Cython
extension (up-to-date)lzf.c&
浏览 3
修改于2021-06-09
得票数 0
1
回答
为什么
Cython
编译器生成后缀为'cpython-35m-x86_64-linux-gnu.so‘的so?
#setup.py from distutils.extension import Extension language='c', extra_link_args=[
浏览 5
提问于2017-05-15
得票数 9
1
回答
UndefinedVariableError在转换.py文件时包括df.query("foo=@bar")等行为.pyd文件
我从未使用过
Cython
,但我需要
加密
我的源代码。setup.pyfrom distutils.extension import Extension from
Cython
.Distutils
浏览 7
修改于2020-06-29
得票数 1
回答已采纳
1
回答
纯python模式下返回字符串列表的
Cython
函数。
这就是我想要做的:def compare(a:
cython
.basestring, b:
cython
.basestringimport
cython
def compare(a:
cython
.basestring, b:
cython
.basestring) ->
cython
.array:
浏览 12
提问于2022-05-17
得票数 0
1
回答
Cython
调试,放置一个断点。
我试图使用
cython
调试器设置一个断点:
cython
_file.pyx cdef int a[10000]this error: No fr
浏览 2
修改于2014-01-20
得票数 17
1
回答
为什么`setup.py开发不起作用?
develop文件,不存在setup.py命令:from distutils.extension import Extensionfrom
Cython
.Distutils import build_ext extra
浏览 1
提问于2014-01-08
得票数 8
回答已采纳
1
回答
安装pyarrow:无法复制'build/lib.macosx-
11
-arm64-3.9/pyarrow/include/arrow':不存在或不存在常规文件
dnbqlh8n5zb9b1529n95j91m0000gr/T/pip-install-9qbgfsx2/pyarrow_3accc74c8d1a4153894730bae7812439/build/lib.macosx-
11
module _cuda failure permitted
Cython
module_flight failure permitted Did no
浏览 13
提问于2021-07-14
得票数 1
2
回答
Cython
-公开由C++函数返回的C++对象(向量和非向量)
_7sources_main_class_3.move_from = (PyObject *(*)(struct __pyx_obj_
11
Cython
_test_7sources_main_class__7sources_main_class_3.move_from = (PyObject *(*)(struct __pyx_obj_
11
Cython
_test_7sources_main_class__7sources_main_class_3.move_from = (PyObject *(*)(struct __pyx
浏览 3
修改于2017-05-23
得票数 1
1
回答
Cython
NameError:未定义名称‘blah’。Jupyter中的
Cython
魔法不能正常工作吗?
我试图使用
cython
在Jupyter中更快地运行一些代码,但由于某些原因,它在%%
cython
单元运行后不能“记住”函数。对于我在网上找到的任何其他示例(例如:https://jakevdp.github.io/blog/2017/12/
11
/live-coding-
cython
-ising-model/ ),这似乎都不是问题我使用的是
Cython
0.29.15和python 3.7.3。示例: %load_ext <em
浏览 14
修改于2020-04-18
得票数 1
1
回答
安装开发中的Python/
Cython
(扩展)模块
我一直在开发一个Python模块,其中包含用
Cython
包装的C++扩展。from distutils.core import setupfrom
Cython
.Build import cythonizefrom
Cython
.Distutils import build_ext extra_compile_args=[&
浏览 1
提问于2013-12-09
得票数 2
1
回答
Cython
编译错误-赋值前引用局部变量
我是
Cython
的新手,并试图通过在关键的AI模块中使用
Cython
代码来加速我的kivy移动游戏。if pact == 1: for posx in range(
11
): posarr[poslast, posx, posy] = posarr[posidx我的问题是: 为什么<e
浏览 3
修改于2014-02-21
得票数 4
回答已采纳
1
回答
如何在
Cython
中使用const
我在这个链接中读到:,我的
Cython
0.20.1应该能够支持const。它说Traceback (most recent call last): File "X:\WinPython3\python-3.3.5.amd64\lib\site-packages\
Cython
in cyth
浏览 7
提问于2014-05-26
得票数 16
回答已采纳
1
回答
Python字典与C++ std:unordered_map (
cython
) vs cythonized
Cython
代码(mapkey = value)
浏览 2
修改于2015-03-26
得票数 9
2
回答
Cython
-std=c++
11
错误,使用C和C++
我对
Cython
很陌生,我试图从编译
Cython
,但没有成功。有了这个setup.pyfrom
Cython
.Distutils import build_ext extra_compile_args=["-std=c++
11
:build_ext})python setup.py buil
浏览 0
修改于2020-06-20
得票数 5
回答已采纳
2
回答
如何在
cython
代码中使用Python Decimal对象?
cpdef Decimal to_decimal(str value): helloworld.pyx:1:0: 'dec
浏览 27
提问于2020-03-30
得票数 3
回答已采纳
2
回答
通过
Cython
将C++向量传递给Numpy,而无需自动复制和处理内存管理
"faster", language='c++', extra_link_args=["-std=c++
11
"] cmdclass = {'build_ext': build_ext}, ext_modules
Cy
浏览 8
修改于2018-02-13
得票数 21
回答已采纳
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券