Miniconda虚拟环境下的Biopython安装(用jupyter notebook 编辑) conda虚拟环、jupyter notebook编辑、Bio安装完以后,在cmd界面中,python里: import Bio,其各个子块都可以使用。但是在jupyter notebook里编辑却 not find module XXX。jupyter找不到 biopython,可以用ipykernel 创建内核然后打开jupyter notebook,在kenel(内核)里找到mytf2, 选择并且点击信任,再import Bio及其各个子模块就没有问题了这个问题比较复杂,我出现问题是因为重复安装
python环境安装笔记:conda使用清华源一直出现HTTP错误问题--解决方案 找到如图路径下的文件,将所有的https改成http。再运行即可成功。文档:channels: - http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ - defaultsshow_channel_urls: truechannel_alias: https://mirrors.tuna.tsinghua.edu.cn/anacondadefault_channels: - http://mirrors.tuna.tsin
SFML(vscode c++运行)----小白学习笔记2 用SFML类在屏幕上画点有意思的东西,比如硬件上存储的图片。sf::Texture class负责从硬件上load图像数据;sf:Sprite class可以把这个图像摆到想要的位置,用想要的形状。#include <SFML/Graphics.hpp>int main(){ sf::Texture texture; sf::RenderWindow window(sf::VideoMode(640, 680), "BEAUTY"); if (!texture.
(vscode)C++、SFML写游戏小程序-----note1 调用SFML的类,画几个小形状到窗口。(窗口类、形状类)#include <SFML/Graphics.hpp>int main(){ //create a window sf::RenderWindow window(sf::VideoMode(640, 480), "SFML Application"); //create a circle shape sf::CircleShape cShape; cShape.setRa.
Vscode如何查看当前配置的C++的版本? 首先写一段.cpp,并且执行using namespace std;int main(){ //func(); int x= __cplusplus; cout << x<<endl; return 0; }然后根据输出的x数值对应到相应的C++版本g++ main.cpp199711g++ -std=c++11 main.cpp201103g++ -std=c++14 main.cpp201402g++
Vscode编写C++代码出现collect2.exe: error: ld returned 1 exit status问题的解决方案 很奇怪,运行生成任务的时候,生成了活动文件.exe文件,但是却报错了,并且没有输出(我的程序里有输出语句)。 仔细检查了代码,并无错误。 如何我把文件保存了,关闭VsCode, 然后重新打开操作,运行生成任务就成功了。 不知道为什么,难道这就是重启的魅力?...
2021-07-15 1. 报错情况:s='12341'p=0table=set()while( p<4 and (s[p+1] not in table)): table=table.add(s[p+1]) print(table) p=p+1 #右边指针右移报错:TypeError Traceback (most recent call last) in 2 p=03 table=set()---->