当前位置:网站首页>关于报错vscode
关于报错vscode
2022-07-30 05:45:00 【没事下辈子小心点】
系列文章目录
提示:分类总结报错提示
一、antd类
1、安装问题
PS C:\Users\apple\Desktop\531ts> npx create-umi myapp
? Select the boilerplate type ant-design-pro
? Which language do you want to use? TypeScript
? Do you need all the blocks or a simple scaffold? simple
Cloning into 'myapp'...
fatal: unable to access 'https://gitee.com/ant-design/ant-design-pro/': Proxy CONNECT aborted
events.js:292
throw er; // Unhandled 'error' event
^
Error: Command failed: git clone https://gitee.com/ant-design/ant-design-pro --depth=1 myapp
null
null
at makeError (C:\Users\apple\AppData\Local\npm-cache\_npx\1789ec8a15edf54c\node_modules\execa\index.js:174:9)
at C:\Users\apple\AppData\Local\npm-cache\_npx\1789ec8a15edf54c\node_modules\execa\index.js:278:16
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async AntDesignProGenerator.writing (C:\Users\apple\AppData\Local\npm-cache\_npx\1789ec8a15edf54c\node_modules\create-umi\lib\generators\ant-design-pro\index.js:107:5)
Emitted 'error' event on AntDesignProGenerator instance at:
at Immediate.<anonymous> (C:\Users\apple\AppData\Local\npm-cache\_npx\1789ec8a15edf54c\node_modules\yeoman-generator\lib\index.js:1022:20)
at processImmediate (internal/timers.js:461:21) {
code: 128,
stdout: null,
stderr: null,
failed: true,
signal: null,
cmd: 'git clone https://gitee.com/ant-design/ant-design-pro --depth=1 myapp',
timedOut: false,
killed: false
}
这类问题是网络问题,可以用v,也可以换加速,我是用V,解决可以参考这个文章
二、使用步骤
1.引入库
代码如下(示例):
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
import warnings
warnings.filterwarnings('ignore')
import ssl
ssl._create_default_https_context = ssl._create_unverified_context
2.读入数据
代码如下(示例):
data = pd.read_csv(
'https://labfile.oss.aliyuncs.com/courses/1283/adult.data.csv')
print(data.head())
该处使用的url网络请求的数据。
总结
提示:这里对文章进行总结:
例如:以上就是今天要讲的内容,本文仅仅简单介绍了pandas的使用,而pandas提供了大量能使我们快速便捷地处理数据的函数和方法。
边栏推荐
猜你喜欢
随机推荐
Configure MMdetection environment and train
边境的悍匪—机器学习实战:第三章 分类
i++与 ++i 的区别
基于PyTorch深度学习无人机遥感影像目标检测、地物分类及语义分割
Based on R language geographic weighted regression, principal component analysis, discriminant analysis and other spatial heterogeneity data analysis
配置MMdetection环境并训练
QT连载4:基于QT和STM32H750的LORA试验平台(3)
QT串口动态实时显示大量数据波形曲线(五)========“最终完美解决版”
2021 soft exam intermediate pass
联影医疗一面
QT每周技巧(1)~~~~~~~~~运行图标
高交会重要活动之一|2020中国硬件创新大赛全国总决赛
C语言学习经验
Kaggle-M5
HSPF model application
HSPF 模型应用
Atmospheric particulate matter PMF source analysis
How does MATLAB display nii file slice information in the image?
FPGA解析B码----连载1
超详细的PCB高可靠辨别方法









