Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
372 views
in Technique[技术] by (71.8m points)

pip - 执行“ pip install wordcloud”时出错(Error while doing “pip install wordcloud”)

ERROR: Command errored out with exit status 1: command: 'c:\users\mohammad.anaskhan\appdata\local\programs\python\python37-32\python.exe' -u -c 'import sys, setuptools, tokenize;

(错误:命令错误,退出状态为1:命令:'c:\ users \ mohammad.anaskhan \ appdata \ local \ programs \ python \ python37-32 \ python.exe'-u -c'import sys,setuptools,tokenize;)

sys.argv[0] = '"'"'C:\Users\MOHAMM~1.ANA\AppData\Local\Temp\pip-install-tka0zhkf\wordcloud\setup.py'"'"';

(sys.argv [0] ='“'”'C:\ Users \ MOHAMM?1.ANA \ AppData \ Local \ Temp \ pip-install-tka0zhkf \ wordcloud \ setup.py'“”';;)

file ='"'"'C:\Users\MOHAMM~1.ANA\AppData\Local\Temp\pip-install-tka0zhkf\wordcloud\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:\Users\MOHAMM~1.ANA\AppData\Local\Temp\pip-record-hsinlayz\install-record.txt' --single-version-externally-managed --compile cwd: C:\Users\MOHAMM~1.ANA\AppData\Local\Temp\pip-install-tka0zhkf\wordcloud\ Complete output (26 lines): c:\users\mohammad.anaskhan\appdata\local\programs\python\python37-32\lib\distutils\dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) running install running build running build_py creating build creating build\lib.win32-3.7 creating build\lib.win32-3.7\wordcloud copying wordcloud\color_from_image.py -> build\lib.win32-3.7\wordcloud copying wordcloud\tokenization.py -> build\lib.win32-3.7\wordcloud copying wordcloud\wordcloud.py -> build

(文件 ='“'”'C:\ Users \ MOHAMM?1.ANA \ AppData \ Local \ Temp \ pip-install-tka0zhkf \ wordcloud \ setup.py'“'”'; f = getattr(tokenize,'“' “'open'”'“',打开)( 文件 ); code = f.read()。replace('”'“'\ r \ n'”'“','”'“'\ n'”' “'); f.close(); exec(compile(code, file ,'”'“'exec'”'“'))'安装-记录'C:\ Users \ MOHAMM?1.ANA \ AppData \ Local \ Temp \ pip-record-hsinlayz \ install-record.txt'-单一版本-外部管理-编译cwd:C:\ Users \ MOHAMM?1.ANA \ AppData \ Local \ Temp \ pip-install -tka0zhkf \ wordcloud \完整输出(26行):c:\ users \ mohammad.anaskhan \ appdata \ local \ programs \ python \ python37-32 \ lib \ distutils \ dist.py:274:用户警告:未知分发选项:' long_description_content_type'warnings.warn(msg)运行安装运行运行build运行build_py创建build创建build \ lib.win32-3.7创建build \ lib.win32-3.7 \ wordcloud复制wordcloud \ color_from_image.py-> build \ lib.win32-3.7 \ wordcloud复制wordcloud \ tokenization.py->构建\ lib.win32-3.7 \ wordcloud复制wordcloud \ wordcloud.py->构建)

\lib.win32-3.7\wordcloud copying wordcloud\wordcloud_cli.py -> build\lib.win32-3.7\wordcloud copying wordcloud_version.py -> build\lib.win32-3.7\wordcloud copying wordcloud__init__.py -> build\lib.win32-3.7\wordcloud copying wordcloud__main__.py -> build\lib.win32-3.7\wordcloud copying wordcloud\stopwords -> build\lib.win32-3.7\wordcloud copying wordcloud\DroidSansMono.ttf -> build\lib.win32-3.7\wordcloud UPDATING build\lib.win32-3.7\wordcloud/_version.py set build\lib.win32-3.7\wordcloud/_version.py to '1.6.0' running build_ext building 'wordcloud.query_integral_image' extension creating build\temp.win32-3.7 creating build\temp.win32-3.7\Release creating build\temp.win32-3.7\Release\wordcloud cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MT -Ic:\users\mohammad.anaskhan\appdata\local\programs\python\python37-32\include -Ic:\users\mohammad.anaskhan\appdata\local\programs\python\python37-32\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\Include" "-IC:\Program Files (x86)\Win

(\ lib.win32-3.7 \ wordcloud复制wordcloud \ wordcloud_cli.py-> build \ lib.win32-3.7 \ wordcloud复制wordcloud_version.py-> build \ lib.win32-3.7 \ wordcloud复制wordcloud__init__.py-> build \ lib。 win32-3.7 \ wordcloud复制wordcloud__main__.py-> build \ lib.win32-3.7 \ wordcloud复制wordcloud \停用词-> build \ lib.win32-3.7 \ wordcloud复制wordcloud \ DroidSansMono.ttf-> build \ lib.win32-3.7 \ wordcloud UPDATING build \ lib.win32-3.7 \ wordcloud / _version.py将build \ lib.win32-3.7 \ wordcloud / _version.py设置为1.6.0,并运行build_ext构建'wordcloud.query_integral_image'扩展名以创建build \ temp。 win32-3.7创建build \ temp.win32-3.7 \ Release创建build \ temp.win32-3.7 \ Release \ wordcloud cl.exe / c / nologo / Ox / W3 / GL / DNDEBUG / MT -Ic:\ users \ mohammad。 anaskhan \ appdata \ local \ programs \ python \ python37-32 \ include -Ic:\ users \ mohammad.anaskhan \ appdata \ local \ programs \ python \ python37-32 \ include“ -IC:\ Program Files(x86)\ Microsoft Visual Studio 14.0 \ VC \ Include“” -IC:\ Program Files(x86)\ Win)

dows Kits\NETFXSDK\4.6.1\include\umu0026quot; /Tcwordcloud/query_integral_image.c /Fobuild\temp.win32-3.7\Release\wordcloud/query_integral_image.obj error: command 'cl.exe' failed: No such file or directory ---------------------------------------- ERROR: Command errored out with exit status 1: 'c:\users\mohammad.anaskhan\appdata\local\programs\python\python37-32\python.exe' -u -c 'import sys, setuptools, tokenize;

(dows Kits \ NETFXSDK \ 4.6.1 \ include \ um“ /Tcwordcloud/query_integral_image.c /Fobuild\temp.win32-3.7\Release\wordcloud/query_integral_image.obj错误:命令'cl.exe'失败:没有这样的文件或目录----------------------------------------错误:命令错误,退出状态为1: 'c:\ users \ mohammad.anaskhan \ appdata \ local \ programs \ python \ python37-32 \ python.exe'-u -c'导入sys,setuptools,标记化;)

sys.argv[0] = '"'"'C:\Users\MOHAMM~1.ANA\AppData\Local\Temp\pip-install-tka0zhkf\wordcloud\setup.py'"'"';

(sys.argv [0] ='“'”'C:\ Users \ MOHAMM?1.ANA \ AppData \ Local \ Temp \ pip-install-tka0zhkf \ wordcloud \ setup.py'“”';;)

file ='"'"'C:\Users\MOHAMM~1.ANA\AppData\Local\Temp\pip-install-tka0zhkf\wordcloud\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:\Users\MOHAMM~1.ANA\AppData\Local\Temp\pip-record-hsinlayz\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.

(文件 ='“'”'C:\ Users \ MOHAMM?1.ANA \ AppData \ Local \ Temp \ pip-install-tka0zhkf \ wordcloud \ setup.py'“'”'; f = getattr(tokenize,'“' “'open'”'“',打开)( 文件 ); code = f.read()。replace('”'“'\ r \ n'”'“','”'“'\ n'”' “'); f.close(); exec(compile(code, file ,'”'“'exec'”'“'))'安装-记录'C:\ Users \ MOHAMM?1.ANA \ AppData \ Local \ Temp \ pip-record-hsinlayz \ install-record.txt'--single-version-externally-managed --compile检查日志以获取完整的命令输出。)

  ask by Anas Khan translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...