VSCode python 遇到的问题:vscode can't open file '<unprintable file name>': [Errno 2] No such file or dire...

代码很简单,就两行:

import pandas as pd 
import netCDF4 as nc 

dataset = nc.Dataset('20150101.nc')

环境:在VSCode中左下角把原环境的Python 3.6.5 32-bit 切换为Anaconda中的Python 3.6.5 64-bit('base': conda)

过程中有两种错误:(忘记截图了,都是历史记录中的google网页搜索栏找到的搜索记录)

1.选择“在终端中运行python文件”,报错:

File "netCDF4\_netCDF4.pyx", line 2264, in netCDF4._netCDF4.Dataset.__init__

File "netCDF4\_netCDF4.pyx", line 1840, in netCDF4._netCDF4._ensure_nc_success

vscode can't open file '<unprintable file name>': [Errno 2] No such file or directory

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值