- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
我遇到了 a github project,我正在尝试安装并运行它,但遇到了一些问题。我也把它放在 as an issue 上。那里提供了整个 pip 日志。
问题似乎与 distutils 有关,如果我理解正确的话:
f:\python27\Lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'use_2to3' warnings.warn(msg) error: Unable to find vcvarsall.bat
查找这个,我被定向到 error: Unable to find vcvarsall.bat 。
现在检查我的系统,我安装了 MS Visual C++ 2005、2008、2010。我没有 visual studio。我正在使用带有安装了 MINGW32 的 git-bash 的 win 7。在上面的线程中,fpessoa 讨论了 setup.py install build --compiler=mingw32
。我决定尝试以下方法:
f:\git\bin;
创建位于 C:\Python27\Lib\distutils\distutils.cfg
的 distutils.cfg 到:
[build]
compiler=mingw32
不幸的是,我仍然遇到同样的错误。
这与执行 setup.py install build --compiler=mingw32
是一回事吗?如果不是,我如何让 setup.py 在读取 requirement.txt 时使用 --compiler=mingw32 参数?
我的 f:\git\bin 的内容是:
drwxr-xr-x 19 bsmith Administ 0 Nov 23 10:33 ..
-rwxr-xr-x 1 bsmith Administ 215040 Oct 23 03:26 antiword.exe
-rwxr-xr-x 1 bsmith Administ 540 Jun 27 2012 astextplain
-rwxr-xr-x 1 bsmith Administ 170 Jun 27 2012 awk
-rwxr-xr-x 1 bsmith Administ 18432 Oct 23 03:26 basename.exe
-rwxr-xr-x 1 bsmith Administ 540672 Oct 23 03:26 bash.exe
-rwxr-xr-x 1 bsmith Administ 1299968 Oct 23 03:26 bison.exe
-rwxr-xr-x 1 bsmith Administ 188 Jun 27 2012 bunzip2
-rwxr-xr-x 1 bsmith Administ 75264 Oct 23 03:26 bzip2.exe
-rwxr-xr-x 1 bsmith Administ 3802 Jun 27 2012 c_rehash
-rwxr-xr-x 1 bsmith Administ 22528 Oct 23 03:26 cat.exe
-rwxr-xr-x 1 bsmith Administ 28160 Oct 23 03:26 chmod.exe
-rwxr-xr-x 1 bsmith Administ 103 Jun 27 2012 clear
-rwxr-xr-x 1 bsmith Administ 11264 Oct 23 03:26 cmp.exe
-rwxr-xr-x 1 bsmith Administ 52224 Oct 23 03:26 connect.exe
-rwxr-xr-x 1 bsmith Administ 74240 Oct 23 03:26 cp.exe
-rw-r--r-- 1 bsmith Administ 227107 Jul 10 2012 curl-ca-bundle.
-rwxr-xr-x 1 bsmith Administ 404992 Oct 23 03:26 curl.exe
-rwxr-xr-x 1 bsmith Administ 24064 Oct 23 03:26 cut.exe
-rwxr-xr-x 1 bsmith Administ 47616 Oct 23 03:26 date.exe
-rwxr-xr-x 1 bsmith Administ 68608 Oct 23 03:26 diff.exe
-rwxr-xr-x 1 bsmith Administ 17920 Oct 23 03:26 dirname.exe
-rwxr-xr-x 1 bsmith Administ 11763 Jun 27 2012 docx2txt
-rwxr-xr-x 1 bsmith Administ 15872 Oct 23 03:26 dos2unix.exe
-rwxr-xr-x 1 bsmith Administ 65536 Oct 23 03:26 du.exe
-rwxr-xr-x 1 bsmith Administ 171 Jun 27 2012 echo
-rwxr-xr-x 1 bsmith Administ 175 Jun 27 2012 egrep
-rwxr-xr-x 1 bsmith Administ 18944 Oct 23 03:26 env.exe
-rwxr-xr-x 1 bsmith Administ 49152 Oct 23 03:26 expr.exe
-rwxr-xr-x 1 bsmith Administ 12288 Oct 23 03:26 false.exe
-rwxr-xr-x 1 bsmith Administ 52224 Oct 23 03:26 find.exe
-rwxr-xr-x 1 bsmith Administ 1330176 Oct 23 03:26 flex.exe
-rwxr-xr-x 1 bsmith Administ 149504 Oct 23 03:26 gawk.exe
-rwxr-xr-x 1 bsmith Administ 5632 Oct 23 03:26 getcp.exe
-rwxr-xr-x 1 bsmith Administ 1363968 Oct 23 03:26 git-receive-pac
-rwxr-xr-x 1 bsmith Administ 1363968 Oct 23 03:26 git-upload-arch
-rwxr-xr-x 1 bsmith Administ 654848 Oct 23 03:26 git-upload-pack
-rwxr-xr-x 1 bsmith Administ 1363968 Oct 23 03:26 git.exe
-rwxr-xr-x 1 bsmith Administ 330727 Oct 22 17:01 gitk
-rwxr-xr-x 1 bsmith Administ 3374 Feb 28 2009 gpg-zip
-rwxr-xr-x 1 bsmith Administ 486448 Feb 28 2009 gpg.exe
-rwxr-xr-x 1 bsmith Administ 64309 Feb 28 2009 gpgsplit.exe
-rwxr-xr-x 1 bsmith Administ 217749 Feb 28 2009 gpgv.exe
-rwxr-xr-x 1 bsmith Administ 81408 Oct 23 03:26 grep.exe
-rwxr-xr-x 1 bsmith Administ 50688 Oct 23 03:26 gunzip.exe
-rwxr-xr-x 1 bsmith Administ 50688 Oct 23 03:26 gzip.exe
-rwxr-xr-x 1 bsmith Administ 26624 Oct 23 03:26 head.exe
-rwxr-xr-x 1 bsmith Administ 21504 Oct 23 03:26 id.exe
-rwxr-xr-x 1 bsmith Administ 10240 Oct 23 03:26 kill.exe
-rwxr-xr-x 1 bsmith Administ 112128 Oct 23 03:26 less.exe
-rwxr-xr-x 1 bsmith Administ 812063 Jun 27 2012 libW11.dll
-rwxr-xr-x 1 bsmith Administ 200015 Jun 27 2012 libapr-0-0.dll
-rwxr-xr-x 1 bsmith Administ 146280 Jun 27 2012 libaprutil-0-0.
-rwxr-xr-x 1 bsmith Administ 1723196 Jun 6 2012 libcrypto.dll
-rwxr-xr-x 1 bsmith Administ 411907 Jan 12 2012 libcurl-4.dll
-rwxr-xr-x 1 bsmith Administ 184599 Jun 27 2012 libexpat-0.dll
-rw-r--r-- 1 bsmith Administ 7465 Jan 12 2012 libgsasl-7.def
-rwxr-xr-x 1 bsmith Administ 443550 Jan 12 2012 libgsasl-7.dll
-rwxr-xr-x 1 bsmith Administ 1241889 May 31 2012 libiconv-2.dll
-rwxr-xr-x 1 bsmith Administ 978432 Feb 28 2009 libiconv2.dll
-rwxr-xr-x 1 bsmith Administ 177216 Jun 27 2012 libneon-25.dll
-rwxr-xr-x 1 bsmith Administ 4884531 Jan 12 2012 libpoppler-7.dl
-rwxr-xr-x 1 bsmith Administ 378238 Jun 6 2012 libssl.dll
-rwxr-xr-x 1 bsmith Administ 255849 Jun 27 2012 libsvn_client-1
-rwxr-xr-x 1 bsmith Administ 77401 Jun 27 2012 libsvn_delta-1-
-rwxr-xr-x 1 bsmith Administ 57948 Jun 27 2012 libsvn_diff-1-0
-rwxr-xr-x 1 bsmith Administ 49557 Jun 27 2012 libsvn_fs-1-0.d
-rwxr-xr-x 1 bsmith Administ 172387 Jun 27 2012 libsvn_fs_fs-1-
-rwxr-xr-x 1 bsmith Administ 37342 Jun 27 2012 libsvn_ra-1-0.d
-rwxr-xr-x 1 bsmith Administ 181083 Jun 27 2012 libsvn_ra_dav-1
-rwxr-xr-x 1 bsmith Administ 62039 Jun 27 2012 libsvn_ra_local
-rwxr-xr-x 1 bsmith Administ 123176 Jun 27 2012 libsvn_ra_svn-1
-rwxr-xr-x 1 bsmith Administ 202003 Jun 27 2012 libsvn_repos-1-
-rwxr-xr-x 1 bsmith Administ 266235 Jun 27 2012 libsvn_subr-1-0
-rwxr-xr-x 1 bsmith Administ 73712 Jun 27 2012 libsvn_swig_per
-rwxr-xr-x 1 bsmith Administ 284454 Jun 27 2012 libsvn_wc-1-0.d
-rwxr-xr-x 1 bsmith Administ 194947 Jun 27 2012 libz.dll
-rwxr-xr-x 1 bsmith Administ 72704 Oct 23 03:26 ln.exe
-rwxr-xr-x 1 bsmith Administ 69632 Oct 23 03:26 ls.exe
-rwxr-xr-x 1 bsmith Administ 200192 Oct 23 03:26 m4.exe
-rwxr-xr-x 1 bsmith Administ 27648 Oct 23 03:26 md5sum.exe
-rwxr-xr-x 1 bsmith Administ 28672 Oct 23 03:26 mkdir.exe
-rwxr-xr-x 1 bsmith Administ 108544 Oct 23 03:26 msmtp.exe
-rwxr-xr-x 1 bsmith Administ 743240 Feb 10 2012 msys-1.0.dll
-rwxr-xr-x 1 bsmith Administ 1325053 Jun 27 2012 msys-crypto-0.9
-rwxr-xr-x 1 bsmith Administ 19968 Jun 27 2012 msys-minires.dl
-rwxr-xr-x 1 bsmith Administ 939520 Jun 27 2012 msys-perl5_8.dl
-rwxr-xr-x 1 bsmith Administ 82852 Jun 27 2012 msys-regex-1.dl
-rwxr-xr-x 1 bsmith Administ 317994 Jun 27 2012 msys-ssl-0.9.8.
-rwxr-xr-x 1 bsmith Administ 91792 Jun 27 2012 msys-z.dll
-rwxr-xr-x 1 bsmith Administ 52064 Jun 27 2012 msysltdl-3.dll
-rwxr-xr-x 1 bsmith Administ 81408 Oct 23 03:26 mv.exe
-rwxr-xr-x 1 bsmith Administ 353280 Oct 23 03:26 openssl.exe
-rwxr-xr-x 1 bsmith Administ 57344 Oct 23 03:26 patch.exe
-rw-r--r-- 1 bsmith Administ 570 Feb 28 2009 patch.exe.manif
-rwxr-xr-x 1 bsmith Administ 28160 Oct 23 03:26 pdfinfo.exe
-rwxr-xr-x 1 bsmith Administ 29184 Oct 23 03:26 pdftotext.exe
-rwxr-xr-x 1 bsmith Administ 7168 Oct 23 03:26 perl.exe
-rwxr-xr-x 1 bsmith Administ 175 Jun 27 2012 printf
-rwxr-xr-x 1 bsmith Administ 10240 Oct 23 03:26 ps.exe
-rwxr-xr-x 1 bsmith Administ 65124 Jun 27 2012 pthreadGC2.dll
-rwxr-xr-x 1 bsmith Administ 169 Jun 27 2012 pwd
-rwxr-xr-x 1 bsmith Administ 303616 Oct 23 03:26 rebase.exe
-rwxr-xr-x 1 bsmith Administ 2137 Jun 27 2012 recodetree
-rwxr-xr-x 1 bsmith Administ 62464 Oct 23 03:26 rm.exe
-rwxr-xr-x 1 bsmith Administ 22528 Oct 23 03:26 rmdir.exe
-rwxr-xr-x 1 bsmith Administ 102400 Oct 23 03:26 rxvt.exe
-rwxr-xr-x 1 bsmith Administ 43008 Oct 23 03:26 scp.exe
-rwxr-xr-x 1 bsmith Administ 1146880 Oct 23 03:26 sed.exe
-rwxr-xr-x 1 bsmith Administ 540672 Oct 23 03:26 sh.exe
-rwxr-xr-x 1 bsmith Administ 18432 Oct 23 03:26 sleep.exe
-rwxr-xr-x 1 bsmith Administ 39936 Oct 23 03:26 sort.exe
-rwxr-xr-x 1 bsmith Administ 23552 Oct 23 03:26 split.exe
-rwxr-xr-x 1 bsmith Administ 81920 Oct 23 03:26 ssh-add.exe
-rwxr-xr-x 1 bsmith Administ 69632 Oct 23 03:26 ssh-agent.exe
-rwxr-xr-x 1 bsmith Administ 109056 Oct 23 03:26 ssh-keygen.exe
-rwxr-xr-x 1 bsmith Administ 144384 Oct 23 03:26 ssh-keyscan.exe
-rwxr-xr-x 1 bsmith Administ 256000 Oct 23 03:26 ssh.exe
-rwxr-xr-x 1 bsmith Administ 192 Jun 27 2012 start
-rwxr-xr-x 1 bsmith Administ 35840 Oct 23 03:26 tail.exe
-rwxr-xr-x 1 bsmith Administ 1353728 Oct 23 03:26 tar.exe
-rwxr-xr-x 1 bsmith Administ 843776 Jan 12 2012 tcl85.dll
-rwxr-xr-x 1 bsmith Administ 16384 Jan 12 2012 tclpip85.dll
-rwxr-xr-x 1 bsmith Administ 7680 Oct 23 03:26 tclsh.exe
-rwxr-xr-x 1 bsmith Administ 7680 Oct 23 03:26 tclsh85.exe
-rwxr-xr-x 1 bsmith Administ 19456 Oct 23 03:26 tee.exe
-rwxr-xr-x 1 bsmith Administ 1011712 Jan 12 2012 tk85.dll
-rwxr-xr-x 1 bsmith Administ 38400 Oct 23 03:26 touch.exe
-rwxr-xr-x 1 bsmith Administ 33280 Oct 23 03:26 tr.exe
-rwxr-xr-x 1 bsmith Administ 12288 Oct 23 03:26 true.exe
-rwxr-xr-x 1 bsmith Administ 18944 Oct 23 03:26 uname.exe
-rwxr-xr-x 1 bsmith Administ 24576 Oct 23 03:26 uniq.exe
-rwxr-xr-x 1 bsmith Administ 159232 Oct 23 03:26 unzip.exe
-rwxr-xr-x 1 bsmith Administ 45 Jun 27 2012 vi
-rwxr-xr-x 1 bsmith Administ 45 Jun 27 2012 vim
-rwxr-xr-x 1 bsmith Administ 32256 Oct 23 03:26 wc.exe
-rwxr-xr-x 1 bsmith Administ 173 Jun 27 2012 which
-rwxr-xr-x 1 bsmith Administ 10240 Oct 23 03:26 wish.exe
-rwxr-xr-x 1 bsmith Administ 10240 Oct 23 03:26 wish85.exe
-rwxr-xr-x 1 bsmith Administ 12288 Oct 23 03:26 xargs.exe
最佳答案
我在网上找到了一个解决方案,但还没有测试过: 安装 MinGW 。在MinGW的bin字典中找到mingw32-make.exe,复制并重命名为make.exe 其他程序与您的问题相同。
关于python - 安装 distutils 包时如何使用 mingw32?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15364106/
通过终端,您可以使用命令 - “SetFile -a B 文件名” 以编程方式,我认为我应该通过[[NSFileManager defaultManager] createDirectoryAtPat
嗨,正在尝试书中的一些示例:Practical Graph mining with R对于子图挖掘: library(subgraphMining) library(igraph) graph1 =
代码中的相同问题: class Foo { int getIntProperty () { ... } CustomObject getObjectProperty () { ... }
所以这可能是一个愚蠢的问题,但它已经困扰我一段时间了。 使用 React,我创建了两个组件(Buttons.js 和 Message.js),每个组件都有一个导出。但是,现在我希望将这两个组件用作 n
从今天早上开始,我发现我无法再从某个范围安装任何 NPM 包(或任何具有依赖项的包)。例如,如果我输入 npm i webpack 我会收到以下错误... npm ERR! code E401 npm
我在这里搜索过,Angular 2, @ngtools/webpack, AOT ,但对我不起作用。我运行了 npm install 命令。我正在做的是创建一个新的 Angular 2 项目。当我运行
情况: 我有一个 Swift 包,将其命名为 lib。 lib 位于其自己的存储库中。在lib的仓库中,有一堆本地包;也就是说,这些包是在 lib 中定义的,使用本地路径依赖格式 .package(p
我想在工作中学习和使用nodejs,但是在使用 de npm 命令安装模块/包时遇到网络问题。我是否可以使用我的家用计算机构建完整的 Node js 包,然后将其安装在另一台计算机(我的工作场所计算机
我需要将一些 .tar.bz2 格式的非 Python 包转换为 Anaconda/miniConda .egg 文件并安装它们。为此,我需要一个适用于 Windows 的 bld.bat 文件。互联
我需要共享库文件 libthrift-0.9.3.so 作为其他包的依赖项。我在构建 thrift-0.9.3 包时看到编译问题(我确实从 https://thrift.apache.org/down
我尝试在 R 版本 3.5.0 中安装“arcgisbinding”包。但是我失败了,得到以下错误和警告。 Installing package into ‘C:/Users/Lenovo/Docum
我尝试在 R 版本 3.5.0 中安装“arcgisbinding”包。但是我失败了,得到以下错误和警告。 Installing package into ‘C:/Users/Lenovo/Docum
我试图在 flutter 中测试这个应用程序,但我无法运行该应用程序,因为出现此错误“名称‘Page’在库‘package:burn_off/widgets/page.dart’和‘package’中
试图理解和学习如何编写包...用我一直使用的东西进行测试,记录... 您能帮我理解为什么“日志”变量不起作用...并且屏幕上没有日志记录吗? 谢谢! 主要文件: #!/opt/local/bin/py
我尝试运行此使用 Google 云的代码。 import signal import sys from google.cloud import language, exceptions # creat
我想知道是否有人找到了一个很好的 R 包来分析眼动追踪数据? 我遇到了 eyetrackR,但据我所知,没有可用的英文支持文档: http://read.psych.uni-potsdam.de/pm
我正在 R 上制作一个包。我有两个函数共享一个变量(全局)。 如何将其导入到包中? 例如, m<-0 f<-function() { m <- m+1 } g<-function() { m <- m
我用 C 为 Lua 编写了很多模块。每个模块都包含一个 Lua 用户数据类型,我像这样加载和使用它们: A = require("A") B = require("B") a = A.new(3,{
我正在尝试在 R 中的 Ubuntu 上安装 xlsx 包,以便使用允许在 R 中插入链接然后将它们导出到 Excel 的功能。 话虽如此,我根本无法安装该软件包。 显然它必须与 rJava 一起使用
我想在 Haskell 中做一些蒙特卡洛分析。我希望能够编写这样的代码: do n <- poisson lambda xs <- replicateM n $ normal mu sigma
我是一名优秀的程序员,十分优秀!