MacOsX run pserver failed: *--*.whl is not a valid wheel filename.
mac上通过 pip install paddlepaddle之后,跑pserver
sudo -H paddle pserver --port=7164 --ports_num=1 --ports_num_for_sparse=1 --num_gradient_servers=1 --nics=eth0
报错
/usr/local/bin/paddle: line 82: [: 1.0.2: binary operator expected
File "<stdin>", line 3
if LooseVersion("1.0.2
^
SyntaxError: EOL while scanning string literal
First time run paddle, need to install some python dependencies.
Requirement '/usr/local/bin/../opt/paddle/share/wheels/*--*.whl' looks like a filename, but the file does not exist
*--*.whl is not a valid wheel filename.
pip install wheels failed.
Please use 'sudo paddle' at the first time you use PaddlePaddle
PaddlePaddle will install some python dependencies automatically.
检查目录 /usr/local/bin/../opt/paddle/share/wheels/并不存在
先尝试升级下pip试试
pip install --upgrade pip
然后卸载之前的paddle,然后重新安装paddle试试
@will-am 升级了pip然后重装paddlepaddle,还是报同样的错误
先不run pserver,找个demo看看paddle能正常运行不
/usr/local/bin/paddle 这个脚本需要更新下了。pip install之后不需要再检查whl包了。快速的解决方法是直接运行/usr/local/bin/paddle_pserver_main即可
@jayhenry 麻烦贴下pip freeze| grep paddle的输出,确定下是不是装了更老版本的paddle。
@Yancey1989
paddle==1.0.2
paddlepaddle==0.10.0
麻烦先执行下pip uninstall paddle paddlepaddle然后再重新安装下。
@Yancey1989 卸载重装运行,报错
/usr/local/bin/paddle: line 121: /usr/local/bin/../opt/paddle/bin/paddle_pserver_main: No such file or directory
@typhoonzero /usr/local/bin/paddle_pserver_main没有这个文件