python - OSError: [Errno 6] Device not configured
问题描述
Using Python in Jupiter notebook in Anaconda and trying to access files on an external hard drive. I can access the hard drive using:
os.chdir('/Volumes') but when I try to list the directories, I get the following error:
OSError: [Errno 6] Device not configured
Any suggestions?
解决方案
我得到了同样的错误,对我来说,错误的原因是服务器连接丢失。断线后,路径名称改变,文件复制失败。
推荐阅读
- linux - 蓝牙 Linux ARM 文件传输
- ios - 按钮 heightConstraint 打破自动布局
- c# - 转换为 Web 应用程序后出现错误 CS0102
- python - 如何使用 Python 检查证书日志中的证书(不在 PC 上)是否被吊销?
- java - 如何将 JPA 中的自定义函数转换为谓词?
- machine-learning - 在 Fast.ai 1.0 中构建语言模型时内存不足
- javascript - 使用 Selenium + JavaScript 或 WebDriverJS 在浏览器中执行 JavaScript
- html - 引导下拉菜单未出现在“col”中
- python - 如何在松弛中创建交互式按钮
- firebase - 如何正确设置 Firebase 存储的“内容配置”