当前位置:网站首页>Pypharm uses, and the third-party library has errors due to version problems
Pypharm uses, and the third-party library has errors due to version problems
2022-07-07 23:48:00 【Black faced boy】
Recently started deep learning , Due to Python2 and Python3 Version incompatibility has caused some problems
1、PIL Installation failed
Python3 It should be pillow But still import
from PIL import Image
Here is a quick way to install third-party libraries ,Pycharm It will automatically remind you to install the required libraries , Click to . To improve speed, use mirroring , Tsinghua image is used here . Click the plus sign in the figure below , Manually search third-party libraries .
Click on the position shown in the figure , Modify the download path of the third-party library to :Simple Index
2、scipy.misc There is no hint imsave
resolvent , hold scipy Change to imageio
import imageio
imageio.imsave(new_filename, pic)
3、 In the use of writer.writerow() When prompted, you should enter something like bytes Type, not str type
Or because writer.writerow() Generate blank lines , Use the following methods
rnacsv = open(rnafile,'w',newline='') writer = csv.writer(rnacsv) m = len(rnastructure)
for i in range(m): writer.writerow(rnastructure[i])
4、pycharm Breakpoint settings
Click in front of each line , Click the green Ladybug button when running
边栏推荐
- 机器人(自动化)等专业课程创新的结果
- Oracle statistics by time
- Class C design questions
- 95.(cesium篇)cesium动态单体化-3D建筑物(楼栋)
- Enterprise application demand-oriented development of human resources department, employee attendance records and paid wages business process cases
- gorm 关联关系小结
- archery安装测试
- Download AWS toolkit pycharm
- Jisuan Ke - t3104
- 蓝桥ROS中使用fishros一键安装
猜你喜欢
Ora-02437 failed to verify the primary key violation
[experiment sharing] log in to Cisco devices through the console port
c—线性表
FFA与ICGA造影
ASP. Net core middleware request processing pipeline
95. (cesium chapter) cesium dynamic monomer-3d building (building)
Arbre binaire équilibré [Arbre AVL] - Insérer et supprimer
Connect diodes in series to improve voltage withstand
35岁那年,我做了一个面临失业的决定
The file format and extension of XLS do not match
随机推荐
Learn about scratch
MySQL架构
保证接口数据安全的10种方案
Benchmarking Detection Transfer Learning with Vision Transformers(2021-11)
神奇快速幂
Ora-02437 failed to verify the primary key violation
Pycharm essential plug-in, change the background (self use, continuous update) | CSDN creation punch in
C inheritance and interface design polymorphism
Take you hand in hand to build feign with idea
Idea automatically generates serialVersionUID
gorm 关联关系小结
企业应用需求导向开发之人力部门,员工考勤记录和实发工资业务程序案例
Installing gradle
MySQL Architecture
Chisel tutorial - 02 Chisel environment configuration and implementation and testing of the first chisel module
aws-aws help报错
关于CH32库函数与STM32库函数的区别
Chisel tutorial - 01 Introduction to Scala
BSS 7230 flame retardant performance test of aviation interior materials
HB 5469民用飞机机舱内部非金属材料燃烧试验方法