xyj@minecraft:~$ conda install numpy Solving environment: failed InvalidVersionSpecError: Invalid version spec: =2.7 最近使用conda遇到了报错,发现conda的issues有人提出 ...
分类:
其他好文 时间:
2021-04-28 12:14:31
阅读次数:
0
from PIL import Image import wordcloud import numpy as np import matplotlib.pyplot as plt import jieba #文本处理 def f(): with open('停用词.txt','r',encoding ...
分类:
其他好文 时间:
2021-04-28 12:10:50
阅读次数:
0
from PIL import Image import wordcloud import numpy as np import matplotlib.pyplot as plt import jieba #文本处理 def f(): with open('停用词.txt','r',encoding ...
分类:
其他好文 时间:
2021-04-28 12:10:30
阅读次数:
0
文件读写操作「c++」 #include <fstream> void test01() { //ofstream ofs("./test.txt",ios::out | ios::trunc); //后期指定打开方式 ofstream ofs; ofs.open("./test.txt",ios: ...
分类:
编程语言 时间:
2021-04-27 15:05:25
阅读次数:
0
在每次初始化VB前,都会去先初始化MPP系统,再去初始化VB 1 HI_MPI_SYS_Exit(); 2 HI_MPI_VB_Exit(); 但是去初始化不会清楚先前对缓存池的设置,且若有VB被占用,去初始化就会失败 1 HI_MPI_VB_SetConf failed with 0xa00180 ...
分类:
其他好文 时间:
2021-04-27 14:32:21
阅读次数:
0
运行环境python3.7 #coding=utf-8 import requests import time import json import re import sqlite3 url=[] for i in open("AURL.txt"): url.append(i) yaoqing=u ...
分类:
其他好文 时间:
2021-04-27 14:10:35
阅读次数:
0
1、安装 Homebrew, $/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh 命令输入后出现报错:curl: (7) Failed to connect ...
分类:
数据库 时间:
2021-04-26 13:47:29
阅读次数:
0
背景 关于Python Socket编程,首先需要了解几个计算机网络的知识,通过以下的几个问题,有助于更好的理解Socket编程的意义,以及整个框架方面的知识: TCP和UDP协议本质上的区别? TCP协议,面向连接,可靠,基于字节流的传输层通信协议;UDP协议无连接,不可靠,基于数据包的传输层协议 ...
分类:
编程语言 时间:
2021-04-26 13:36:40
阅读次数:
0
Flask API 登录 零、起因 最近要写uniapp客户端,服务器使用的是Python的Flask框架,为了实现用户登录,在网上查到了一些Flask的扩展,其中比较简单的就是flask_httpauth(此时版本__version__ = '4.2.1dev'),其官网给出的基本示例: from ...
分类:
编程语言 时间:
2021-04-26 13:14:41
阅读次数:
0
后端代码 from jinja2 import Template def index(): with open('./index.html', 'r', encoding='utf-8') as fp: template = Template(fp.read()) ret = template.re ...
分类:
其他好文 时间:
2021-04-26 13:08:43
阅读次数:
0