python - 无法在 Windows 7 上安装 cytoolz
问题描述
我似乎无法理解我在尝试安装时缺少什么allennlp
。我已经安装pytorch 1.0
在我的环境中,并且正在使用虚拟环境的windows 7
机器上工作。python 3.6
不幸的是,该团队allennlp
不支持 Windows 用户(它发生在我的工作中 - 相信我,我知道它不会在 Linux 中发生)
当我运行时, pip install allennlp
我收到以下错误:
fatal error C1001: An internal error has occurred in the compiler.
(compiler file 'f:\dd\vctools\compiler\utc\src\p2\main.c', line 246)
To work around this problem, try simplifying or changing the program
near the locations listed above.
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
link!objf::ObjectCode::FCreateFromBytesW()+0xaab
build\temp.win-amd64-3.6\Release\cytoolz/dicttoolz.obj : fatal error LNK1000
: Internal error during IMAGE::Pass1
Version 14.00.23026.0
ExceptionCode = C0000005
ExceptionFlags = 00000000
ExceptionAddress = 0F91A2EB (0F910000) "C:\Program Files (x86)\Mic
rosoft Visual Studio 14.0\Common7\IDE\msobj140.dll"
NumberParameters = 00000002
ExceptionInformation[ 0] = 00000000
ExceptionInformation[ 1] = 0009A896
CONTEXT:
Eax = 0040E2C4 Esp = 0040E294
Ebx = 00000000 Ebp = 0040E2A0
Ecx = 02F507D0 Esi = 0009A896
Edx = 0F91143C Edi = 02F507D0
Eip = 0F91A2EB EFlags = 00010246
SegCs = 00000023 SegDs = 0000002B
SegSs = 0000002B SegEs = 0000002B
SegFs = 00000053 SegGs = 0000002B
Dr0 = 00000000 Dr3 = 00000000
Dr1 = 00000000 Dr6 = 00000000
Dr2 = 00000000 Dr7 = 00000000
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\link.exe' failed with exit status 1000
----------------------------------------
Command "c:\python_env\scripts\python.exe -u -c "import setuptools,
tokenize;__f
ile__='C:\\Users\\rg60622\\AppData\\Local\\Temp\\pip-install-4qnt9ham\\cytoolz\\ setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\ n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install
--record C:\U sers\rg60622\AppData\Local\Temp\pip-record-f9nu9may\install-record.txt
--single- version-externally-managed --compile --install-headers c:\python_env\include\sit e\python3.6\cytoolz" failed with error code 1 in C:\Users\<soid>\AppData\Local\ Temp\pip-install-4qnt9ham\cytoolz\
有什么想法我该怎么办?
解决方案
推荐阅读
- javascript - cookie 没有在 nextjs 中发送到服务器
- ruby-on-rails - Ruby 视图无法将值映射到布尔值
- spring-boot - 微服务中的事务发件箱模式与 ChainedKafkaTransactionManager
- controller - 在 Business Central 的启动 (standalone.bat) 中不断收到 KieServer-ControllerConnect 错误 401
- firebase - Flutter - 来自 Firebase 的英雄小部件子图像 url
- c++ - 正确使用 RDRAND(片上生成器)作为 std::random_device 与 Visual C++ 的随机库
- html - margin-top 和 marin-left 不知从何而来
- javascript - 不使用背景过滤器在视频顶部的整个屏幕上覆盖半透明
- angular - 如何在 Angular 订阅块中测试代码,而不会在后续订阅块中覆盖值?
- c - C中二维数组的strcpy问题