当前位置:网站首页>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
边栏推荐
- 一键免费翻译300多页的pdf文档
- Chisel tutorial - 00 Ex.scala metals plug-in (vs Code), SBT and coursier exchange endogenous
- One of the anti climbing methods
- 一份假Offer如何盗走了「Axie infinity」5.4亿美元?
- AWS AWS help error
- SAP HR reward and punishment information export
- P1308 [noip2011 popularity group] count the number of words
- C language greedy snake
- 光流传感器初步测试:GL9306
- Enterprise application demand-oriented development of human resources department, employee attendance records and paid wages business process cases
猜你喜欢

机器人(自动化)等专业课程创新的结果

一份假Offer如何盗走了「Axie infinity」5.4亿美元?

FFA and ICGA angiography

C number of words, plus ¥, longest word, average value

Get started with mongodb

【路径规划】使用垂距限值法与贝塞尔优化A星路径
![P1067 [noip2009 popularity group] polynomial output (difficult, pit)](/img/1f/a798879a0d65eccefa339b288f2102.jpg)
P1067 [noip2009 popularity group] polynomial output (difficult, pit)

Benchmarking Detection Transfer Learning with Vision Transformers(2021-11)

Connect diodes in series to improve voltage withstand

受限线性表
随机推荐
【实验分享】通过Console口登录到Cisco设备
Oracle string sorting
【汇总】看过的一些Panel与视频
One click installation with fishros in blue bridge ROS
MySQL Architecture
SAP memory parameter tuning process
C - Fibonacci sequence again
C number of words, plus ¥, longest word, average value
Rock-paper-scissors
MP4文件格式解析之结合实例分析
【7.5】15. Sum of three numbers
Come on, brother
aws-aws help报错
激光slam学习(2D/3D、偏实践)
Get started with mongodb
Pycharm essential plug-in, change the background (self use, continuous update) | CSDN creation punch in
At the age of 35, I made a decision to face unemployment
Display the server hard disk image to the browser through Servlet
Slam interview summary
SAP HR labor contract information 0016