【发布时间】:2021-10-12 14:11:07
【问题描述】:
我在 Win10 Home (RU) 上使用 Jupyter Notebook。所以,
我尝试下载 .xlsx 文件并同时将其命名为 'data_3_course.xlsx' - 使用该代码:
!wget -O 'data_3_course.xlsx' -q 'https://www.dropbox.com/s/ysxs5srafoyxknb/_data_3_course.xlsx?dl=1'
但我得到一个非常奇怪的异常\错误(粉红色):
"wget" Ґ пў«пҐвбп ўгв॥© Ё«Ё ўҐиҐ©
Є®¬ ¤®©, ЁбЇ®«пҐ¬®© Їа®Ја ¬¬®© Ё«Ё Ї ЄҐвл¬ д ©«®¬.
=
"wget" it is not an internal or external
command, an executable program, or a batch file
好吧,一些有用的信息:wget-3.2 模块已导入 - pip list 找到它in this pic,链接有效(手动下载文件)。
如何解决?
【问题讨论】:
标签: python-3.x exception wget downloadfile