相关疑难解决方法(0)

可以使用pip的"exe安装程序"吗?

easy_install可以从http://www.lfd.uci.edu/~gohlke/pythonlibs/安装exes .有没有办法用pip做同样的事情?

谢谢.

python pip

11
推荐指数
3
解决办法
5430
查看次数

Python - 如何在安装模块时更改默认路径?

我正在尝试通过运行Windows安装程序(EXE文件)来安装Python模块.问题是默认的python文件夹和defualt安装库设置为光盘D:\并且显示为灰色(意味着我无法更改它).一些地方可能没问题,但在我的电脑中,D是DVD驱动器,这意味着无法安装.

有没有办法改变这一点或克服这一点? 默认路径

python windows install module

6
推荐指数
1
解决办法
7658
查看次数

将Python二进制模块安装到Windows中的自定义位置

假设我想在Windows上为Python安装二进制模块.假设模块作为预构建的安装程序分发xxx-n.n.n.win32-py2.7.exe,使用distutils准备.

我的问题是安装程序坚持将软件包安装到他在注册表中找到的任何Python目录中.但是,我在闪存驱动器上有这个微小的"可移植"Python目录,我不时使用它并需要在那里安装软件包.该目录未在注册表中标记.

到目前为止,我所做的只是解压缩安装程序并手动将文件复制到其中Lib/site-packages.但也许还有一个更聪明的选择呢?我能不能以某种方式破解distutils安装程序,让我指定目标Python目录(正如其他一些安装程序那样)?

PS:请注意,easy-install不是一个选项,因为它坚持从源代码编译包,而我想安装预编译包.

python windows installation distutils packages

6
推荐指数
1
解决办法
2158
查看次数

安装python-igraph 0.7.1-4抛出错误为"10038,'尝试对非套接字的操作'

Windows 7 64位

Python 2.7.7 64位Anaconda

尝试从https://pypi.python.org/pypi/python-igraph安装python-igraph python-igraph-0.7.1-4.tar.gz .

我已经使用anaconda发行版(windows)安装了python-igraph,我可以将Python windows软件包安装到virtualenvs中吗?以及调试问题的相关链接.

我知道问题出现是因为没有C核心.我尝试通过easy_install安装时错误消息也包含此消息 -

Cannot find the C core of igraph on this system using pkg-config.

WARNING: we were not able to detect where igraph is installed on
your machine (if it is installed at all). We will use the fallback
library and include pathss hardcoded in setup.py and hope that the
C core of igraph is installed there.
If the compilation fails and you …
Run Code Online (Sandbox Code Playgroud)

64-bit igraph anaconda

6
推荐指数
2
解决办法
4378
查看次数