问题标签 [python-install]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
python - Python + Leopard + Fink + Mac Ports + Python.org + Idiot = broken Python - fresh start?
I have been enjoying learning the basics of python, but before I started reading things I tried to install various python versions and modules clumsily. Now that I have some ideas of what I want to do and how to do it I'm finding that various aspects are broken. For instance, 2.6 IDLE won't launch, and when I try to import modules they usually don't work.
My question is, how would you recommend I clean this up and start fresh? I have read information about modifying the 2.6 install, but I still can't get it to work.
IDLE 2.4 works, and when I launch python from the terminal I am running python 2.4.4.
python - 在 Leopard 上使用 PIL 和 Libjpeg 的 Python
我在获取 PIL 支持的图片时遇到了问题 - 它向我抛出了这个:
我从二进制安装了 PIL,没有意识到我需要 libjpeg。
我通过 fink 安装了 libjpeg 和 freetype2。
我尝试使用http://timhatch.com/(页面底部)的说明重新安装 PIL
- 下载 PIL 1.1.6 源码包并安装好开发者工具
用这个补丁给 setup.py 打补丁,这样它就可以找到你已经拥有的 Freetype。
patch -p0 < leopard_freetype2.diff
- sudo apt-get install libjpeg 如果你有 fink (否则,手动构建并调整路径)
但我仍然遇到同样的错误。
我在 Leopard PPC 上。
python - Windows下自动将Python路径添加到PATH系统变量
我正在创建一键式 python 安装程序(与我的应用程序集成)。有没有办法强制 Python MSI 安装程序将 python 的路径添加到 SYSTEM PATH 变量?我正在使用 MSI 安装程序,因为它很容易指定(使用命令行)它应该如何与用户交互。
python - 安装 neo4j.py 的问题
我已按照此处的说明进行操作,出于某种原因,我得到了以下回溯:
有没有人遇到过这个问题?我正在运行 ubuntu 11.04 和 python 2.7.1。
python - “pip install”和“setup.py install”中的最大递归
我正在尝试在 Macbook(OS X 10.6.8)上安装一个包(碎片),但我不断收到最大的递归错误。无论我使用“setup.py install”还是“pip install”,以及尝试进行全局安装还是使用 virtualenv,它们都会发生。它们发生在 Python 2.7.1 和 2.7.2 下。它们发生在我用船做时,当我用山羊做时它们发生。
请注意,似乎没有其他人对 splinter 包有此问题。
我回溯的循环位:
我的 Python 路径:
pip.log 有很多很多很多警告“警告:manifest_maker:未找到标准文件'-c'”。
setuptools.__version__
是 0.6c9,setuptools.distutils.__version__
是 2.7.2。
奇怪的__file__
是,setuptools 模块在 2.6 的安装目录下,而 setuptools.disutils 的在 2.7 安装目录下。
我怀疑问题是我安装 2.7 或某些依赖模块(计算机附带安装了 2.6)时出现的一些细微错误,但我无法终生解决问题。
macos - 如何卸载 python3 DMG 安装程序安装的文件?
我想删除已安装的内容。但我不确定那里有什么或没有什么。我应该删除什么?我相信它在某个地方
但真的不知道我应该卸载什么。我假设我也可以删除添加到我的应用程序文件夹中的 python 3.2 文件夹。先谢谢了。
python - 使用 .sh 将 python 模块安装到非默认版本的 python
我有一个类似于这篇文章的问题:Install python module to non default version of python on Mac,所以我知道这些解决方案,但它们对我不起作用。
我在 CentOS 上安装 M2Crypto,这意味着我经常使用它fedora_setup.sh build
来fedora_setup.sh install
安装在我的架构上。
不幸的是,默认的 Python 版本是 2.6,但我使用的是 2.7。如何执行构建和安装命令,以便它们构建并安装到 Python2.7 站点包?有没有我不知道的简单命令?我一直在这里搜索: Python Docs 中的http://docs.python.org/2/install/,但我没有看到任何关于 .sh 脚本的信息?
python - 允许 python 使用来自其他 python 安装的模块
我通常使用传统上安装在 中的 python 2.7.3 ,但我需要在另一个目录/usr/local/bin
中重建 python 2.6.6(我没有使用)并重建 numpy、scipy,所有库我需要与 python 2.7 不同的版本。 3那里...virtualenv
~/usr/local/
但是我想要的所有其他包在我的默认安装中完全一样(意味着相同的版本),我不知道如何在 python 2.6.6 中使用它们,而无需下载 tarball,使用--prefix=/home/myself/usr/local/bin
.
在我的“本地”python 2.6.6 中是否有一种快速或更简单的“重用”这些包的方法?
installation - python 已安装但不在 /usr/bin 中
我在 SUSE 13.1 上安装了 python3,然后将其卸载。我也卸载了python2.7。然后我使用 zypper 再次安装了它们:
安装很顺利,但结果是我的 /usr/bin 中不再有 python,而且我根本不知道如何启动解释器。
还:
我可以手动创建链接ln -s
,但我什至找不到二进制文件的位置。
有什么帮助吗?请。