PARL icon indicating copy to clipboard operation
PARL copied to clipboard

安装报错

Open Fusheng-code opened this issue 4 years ago • 10 comments

在使用Pip安装的过程中遇见了下述问题 image image 想问一下这两个问题是什么原因造成的,如何解决???

Fusheng-code avatar Oct 03 '20 04:10 Fusheng-code

你好,看报错提示应该是在windows环境,目前PARL在windows系统下只支持python3.6以上版本; 可以提供下系统版本和python版本信息吗?

zenghsh3 avatar Oct 03 '20 06:10 zenghsh3

image image 之后我又尝试了一下,现在的问题又变成了下面两张图 image image 最后一张图说找不到numpy但是实际上我是用的anaconda装的python,应该是已经有了numpy的

Fusheng-code avatar Oct 05 '20 03:10 Fusheng-code

好的,感谢反馈问题,看错误提示应该是pyzmq和pyarrow这两个库安装有问题,我这边国庆假期后在windows机器上确认下; 可以先尝试在python3.6或3.7环境下安装。

zenghsh3 avatar Oct 05 '20 09:10 zenghsh3

好嘞,多谢您~

Fusheng-code avatar Oct 07 '20 02:10 Fusheng-code

同样的错误,无法安装。

wxd11011 avatar Oct 13 '20 09:10 wxd11011

你好,目前parl的发布版本依赖pyzmq==18.0.1pyarrow==0.13.0在windows环境下对python3.8不支持,您可以尝试在python3.7及以下环境进行安装。

YuechengLiu avatar Oct 14 '20 10:10 YuechengLiu

同样的错误,python3.9也安装不了

aut6620 avatar May 10 '22 14:05 aut6620

pyzmq 安装失败

window下, python 3.11。

已完成代码的生成 building 'zmq.backend.cython._device' extension creating build\temp.win-amd64-cpython-311\Release\zmq creating build\temp.win-amd64-cpython-311\Release\zmq\backend creating build\temp.win-amd64-cpython-311\Release\zmq\backend\cython "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DWINVER=0x0602 -D_WIN32_WINNT=0x0602 -Ibundled\zeromq\include -Izmq\utils -IC:\Python311\include -IC:\Python311\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" /Tczmq\backend\cython_device.c /Fobuild\temp.win-amd64-cpython-311\Release\zmq\backend\cython_device.obj _device.c zmq\backend\cython_device.c(217): fatal error C1083: 无法打开包括文件: “longintrepr.h”: No such file or directory ************************************************ ************************************************ error: command 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\bin\HostX86\x64\cl.exe' failed with exit code 2 [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pyzmq Failed to build pyzmq ERROR: Could not build wheels for pyzmq, which is required to install pyproject.toml-based projects

lvsh2012 avatar Apr 15 '23 08:04 lvsh2012

windows系统上建议使用python3.7

TomorrowIsAnOtherDay avatar Apr 15 '23 12:04 TomorrowIsAnOtherDay

windows系统上建议使用python3.7

已经解决,谢谢

lvsh2012 avatar Apr 20 '23 00:04 lvsh2012