Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
使用 python 模块分发预构建的库
我使用以下脚本来分发包含纯 python 代码的模块 from distutils core import setup Extension import os setup name mtester version 0 1 descripti
python
distutils
为什么setup.py在安装之前会扫描命名空间的内容?
我使用带有 setuptools 的命名空间在两个不同的存储库中分发相同的模块 目标是得到mymodule one and mymodule two安装后 知道内容one and two来自不同的仓库 但看起来像两个setup py互相扫内
python
python3x
namespaces
setuptools
distutils
我如何需要 Tkinter 与 distutils 一起使用?
我正在尝试使用编译程序distutils但我想确保用户在安装我的包之前已经安装了 Tkinter 我的谷歌搜索未能找到任何有用的信息 有什么线索我该怎么做吗 谢谢 韦恩 你可以有一个继承自的类install然后这样做 from distut
python
Tkinter
distutils
使用 distutils / setuptools 执行安装后的 Python 脚本
Note distutils已弃用 接受的答案已更新为使用setuptools 我正在尝试将安装后任务添加到 Python distutils 如中所述如何使用简单的安装后脚本扩展 distutils 该任务应该执行一个Python脚本在安
python
installation
setuptools
distutils
postinstall
DistutilsOptionError:必须提供 home 或 prefix/exec-prefix - 不能同时提供
我通常通过 pip 安装 python 包 对于 Google App Engine 我需要将软件包安装到另一个目标目录 我试过了 pip install I Flask restful target lib 但它失败了 必须提供 home
python
googleappengine
installation
pip
distutils
使用 cx_freeze 和 bdist_msi 为 PySide 应用程序创建 MSI
我有一个 PySide 应用程序 正在尝试使用 cx freeze 将其打包到 MSI 中 我可以成功创建 MSI 安装程序 但我无法弄清楚如何列出要包含在包中的其他模块 这是我的setup py script import sys fro
python
python3x
pyside
distutils
cxfreeze
cython可以用icc编译吗?
我正在尝试在 Ubuntu 14 04 上使用 icc 编译器从源代码构建 cython 因为我的 python 是使用 Intel icc 编译器编译的 当我尝试使用安装 cython 时pip3 安装 cython然后运行 cython
python3x
Ubuntu1404
Cython
distutils
ICC
尝试使用 distutils 交叉编译 mingw32 的 SWIG Python 扩展时出错
我正在尝试使用 distutils 模块在 Linux for Windows mingw32 上交叉编译一个简单的 SWIG Python 扩展 最终目标是为某些库编译 Python 包装器并能够在 Windows 上使用它 显然我从最基
python
gcc
MinGW
SWIG
distutils
自动将 protobuf 规范编译到 setup.py 中的 python 类中
我有一个 python 项目 它使用 google protobufs 作为通过网络进行通信的消息格式 使用以下命令可以直接从 proto 文件生成 python 文件protoc程序 我该如何配置我的setup py项目文件 以便它自动调
python
protocolbuffers
distutils
distutils2
__init__.py 的目的是什么? [复制]
这个问题在这里已经有答案了 创建 Python 包时 我被告知创建一个名为的空白文件init py 我不明白的是为什么我需要创建这个文件 这distutils构建脚本不会修改它 所以五个构建后它仍然是空白的 它的目的是什么 它向 Pytho
python
python3x
distutils
如何运行已安装的python脚本?
我使用 distutils 来安装我的 python 包 其中 setup py import distutils core args name plugh version 1 0 scripts scripts plugh package
python
Windows
packaging
distutils
Cython 和 fortran - 如何在没有 f2py 的情况下一起编译
最终更新 这个问题是关于如何写一个setup py这将编译一个 cython 模块 该模块可以像 C 一样直接访问 FORTRAN 代码 这是一个相当漫长而艰巨的解决方案旅程 但完整的混乱情况包含在下面作为上下文 原问题 我有一个扩展 它是
python
c
Fortran
Cython
distutils
如何覆盖 setup.py 默认使用的编译器 (GCC) 标志?
我明白那个setup py使用相同的CFLAGS用于构建 Python 我有一个我们的 C 扩展存在段错误 我需要构建它without O2因为 O2正在优化一些值和代码 以便核心文件不足以确定问题 我只需要修改setup py以便 O2未
python
gcc
setuptools
setuppy
distutils
导入错误:没有名为 distutils 的模块
尝试安装psutils结果很头疼 python V Python 2 4 2 cat etc SuSE release SUSE Linux Enterprise Server 10 x86 64 VERSION 10 PATCHLEVEL
python
distutils
easyinstall
python No module named numpy. distutils._msvccompiler in numpy. distutils; trying from distutils
在cmd 中输入 python setup py install 报错 No module named numpy distutils msvccompiler in numpy distutils trying from distutil
python
setuppy
distutils
No module
It is a distutils installed project
方法1 xff1a 方法2 xff1a 直接全局搜索对应文件 xff0c 具体包括 34 package name 34 文件夹 和 34 package name 34 egg info xff0c 找到后直接删除即可 eg sudo f
distutils
installed
Project
ERROR: Cannot uninstall ‘xxx‘. It is a distutils installed project and thus we cannot accurately det
ERROR Cannot uninstall TBB It is a distutils installed project and thus we cannot accurately determine which files belon
Error
cannot
Uninstall
xxx
distutils
ERROR: Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately
ERROR Cannot uninstall 39 PyYAML 39 It is a distutils installed project and thus we cannot accurately determine which fi
Error
cannot
Uninstall
PyYAML
distutils
ERROR: Cannot uninstall ‘PyYAML‘. It is a distutils installed project and thus we cannot...
具体错误 xff1a ERROR Cannot uninstall 39 PyYAML 39 It is a distutils installed project and thus we cannot accurately determi
Error
cannot
Uninstall
PyYAML
distutils
ERROR: Cannot uninstall ‘PyYAML‘. It is a distutils installed project and thus we cannot
pip install upgrade nni ignore installed i https pypi tuna tsinghua edu cn simple 成功
Error
cannot
Uninstall
PyYAML
distutils
«
1
2
3
4
5
»