
python相关问题
解决python相关问题
smileLLZ
阳光,天真,开朗
展开
-
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate的解决办法
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {“method”:“css selector”,“selector”:“.curr-shop hd-shopname”} (Session info: chrome=100.0.4896.75)shopname=good.find_element_by_class_name(‘curr-shop hd原创 2024-03-10 15:18:50 · 3607 阅读 · 0 评论 -
Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
pip install selenium安装报错:Could not build wheels for cryptography which use PEP 517 and cannot be installed directly**1.terminal 控制台 pip升级报错:AttributeError: ‘NoneType’ object has no attribute ‘bytes’easy_install -U pip2.安装seleniumpip install selenium -原创 2022-04-23 23:37:07 · 2809 阅读 · 0 评论 -
RuntimeWarning: Glyph missing from current font. font.set_text(s, 0, flags=flags)解决方案
RuntimeWarning: Glyph missing fromcurrent font. font.set_text(s, 0, flags=flags)解决方案警告原因:plt 画图是找不到字体,需要添加两行程序,如下:plt.rcParams[‘font.sans-serif’]=[‘SimHei’]#显示中文标签 plt.rcParams[‘axes.unicode_minus’]=False...原创 2020-05-19 21:55:12 · 28459 阅读 · 6 评论 -
pycharm运行报错:SyntaxError: Non-ASCII character '\xe7' in file
方法一:在Python源文件的最开始的第一行添加:**#coding=UTF-8或#coding:UTF-8或#-- coding:UTF-8 –方**法二:pycharm默认添加编码格式: # -- coding: utf-8 -原创 2020-04-13 16:18:56 · 564 阅读 · 0 评论 -
Phycharm安装第三方库报超时解决办法
1、需要将pip源设置为国内源阿里源,如豆瓣源,网易源等。(注:win10系统) 目前国内pip 镜像源有:1)清华: https://pypi.tuna.tsinghua.edu.cn/simple2)豆瓣: http://pypi.douban.com/simple/3)阿里: http://mirrors.aliyun.com/pypi/simple/2、操作步骤:第一步:在c输入...原创 2020-03-29 21:46:10 · 474 阅读 · 0 评论 -
PowerPoint里面无法进行中文输入解决办法&win7系统
导入注册表将下列代码复制到记事本中,存为reg格式的文件,双击,就会自动导入注册表。Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\CTF\TIP\{5621CC0F-3ABF-428b-BDF0-D8544FD3ED75}\LanguageProfile\0x00000804\{F3BA...原创 2019-05-30 22:14:36 · 1127 阅读 · 0 评论 -
office2010每次打开总是出现配置进度
第一步:同时按上键盘上面的windows键和R键,出现如图“运行,输入regedit。第二步:点击确定后,第三步:原创 2019-10-08 14:48:28 · 1903 阅读 · 0 评论