Comments (6)
同样问题
from everydaywechat.
这个是 Python 3 的语法。
from everydaywechat.
用python3运行报yaml的错 尝试了一下Google的改法加loader=yaml.FullLoader运行还是报错······
root@Awelling:/home/Ea# python3 run.py
Traceback (most recent call last):
File "run.py", line 23, in
run()
File "run.py", line 11, in run
gfweather().run()
File "/home/Ea/GFWeather.py", line 22, in init
self.girlfriend_list, self.alarm_hour, self.alarm_minute, self.dictum_channel = self.get_init_data()
File "/home/Ea/GFWeather.py", line 30, in get_init_data
config = yaml.load(f, loader=yaml.FullLoader)
TypeError: load() got an unexpected keyword argument 'loader'
from everydaywechat.
用python3运行报yaml的错 尝试了一下Google的改法加loader=yaml.FullLoader运行还是报错······
root@Awelling:/home/Ea# python3 run.py
Traceback (most recent call last):
File "run.py", line 23, in
run()
File "run.py", line 11, in run
gfweather().run()
File "/home/Ea/GFWeather.py", line 22, in init
self.girlfriend_list, self.alarm_hour, self.alarm_minute, self.dictum_channel = self.get_init_data()
File "/home/Ea/GFWeather.py", line 30, in get_init_data
config = yaml.load(f, loader=yaml.FullLoader)
TypeError: load() got an unexpected keyword argument 'loader'
你单独运行一下 yaml 试试,可以是你环境的问题。
from everydaywechat.
python 好像 3.7 之后才支持 f“XXXX” 这种语法
from everydaywechat.
python 好像 3.7 之后才支持 f“XXXX” 这种语法
Python 3.6 以上就支持了。
from everydaywechat.
Related Issues (20)
- 网页版微信现在是都不能登陆了吗,,,有没有解决办法,我的登录不了 HOT 5
- 支持接入IFTTT
- 情感指数功能
- 【微控团队】致EverydayWechat的合作申请
- 天气无法获取 HOT 2
- 微信不让登陆网页版大家有办法解决妈 HOT 2
- 增加钉钉发送接口
- 登录后提示:AttributeError: 'HTMLParser' object has no attribute 'unescape' HOT 1
- 获取日历和天气信息失败 HOT 1
- sfyc1314这个微信号添加不上 HOT 1
- 二维码显示杂乱 HOT 1
- 可以打包成可执行文件么
- 这个_config.yaml文件里没有alarm_dict啊!但main.py里的init_data函数却用了config.get('alarm_info').get('alarm_dict'),这是什么情况,请教下各位大佬!
- 登录不上
- 扫码等确认登录了,但是一直没有反应 也没有报错
- 一直扫码 一直登不上是怎么回事 HOT 1
- 0 HOT 1
- 这么久没维护了,还能用吗 ?
- 奈菲高清电影-netflixdy,奈菲电影,奈菲高清电影,奈菲AI电影-netflixdy,netflix主页影视资源,netflix**网站
- 怎么发不到阿里云Linux云服务器上
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from everydaywechat.