1499飞天茅台脚本使用过程中遇到的Python问题汇总索引目录【淘宝-天猫超市、京东】
原文地址:
https://chenhx.blog.csdn.net/article/details/112251735
专栏文章的更新时间可以看这篇文章:
https://chenhx.blog.csdn.net/article/details/112154394
介于最近问文章中已经给出问题解答的朋友越来越多。特把以前的一些问题进行一个汇总,在这里大家可以通过异常或者问题关键字,直接搜索,就可以查找到自己需要的问题,如果没有搜索到。再私信(CSDN有个问题,24小时只能与5个陌生人沟通,您关注之后成为粉丝就可以无限沟通了)。
声明与注意事项:
https://github.com/chenhaoxiang/taobao_seckill_anyi
这是我fork原来作者的,并且在他的基础上可能进行迭代。
https://github.com/chenhaoxiang/jd_seckill_anyi
这是我fork原来作者的,并且在他的基础上可能进行迭代。
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112208983
https://chenhx.blog.csdn.net/article/details/112164218
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112208983
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112207934
问题描述:
Exception in Tkinter callback
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/tkinter/__init__.py", line 1895, in __call__
return self.func(*args)
File "/Users/chenhx/Desktop/github/taobao_seckill/main.py", line 37, in <lambda>
b1 = Button(win, text = '开始', command = lambda: run_killer(txt, txt2))
File "/Users/chenhx/Desktop/github/taobao_seckill/main.py", line 13, in run_killer
ChromeDrive(seckill_time = seckill_time, password = password).sec_kill()
File "/Users/chenhx/Desktop/github/taobao_seckill/seckill/seckill_taobao.py", line 127, in sec_kill
self.keep_wait()
File "/Users/chenhx/Desktop/github/taobao_seckill/seckill/seckill_taobao.py", line 120, in keep_wait
sleep(60)
KeyboardInterrupt
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112207934
问题描述:
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\48797\AppData\Local\Programs\Python\Python38\lib\tkinter\__init__.py", line 1883, in __call__
return self.func(*args)
File "D:/脚本-淘宝taobao_seckill20210104/taobao_seckill/main.py", line 37, in <lambda>
b1 = Button(win, text = '开始', command = lambda: run_killer(txt, txt2))
File "D:/脚本-淘宝taobao_seckill20210104/taobao_seckill/main.py", line 13, in run_killer
ChromeDrive(seckill_time = seckill_time, password = password).sec_kill()
File "D:\脚本-淘宝taobao_seckill20210104\taobao_seckill\seckill\seckill_taobao.py", line 127, in sec_kill
self.keep_wait()
File "D:\脚本-淘宝taobao_seckill20210104\taobao_seckill\seckill\seckill_taobao.py", line 113, in keep_wait
self._login()
File "D:\脚本-淘宝taobao_seckill20210104\taobao_seckill\seckill\seckill_taobao.py", line 95, in _login
self.driver.get(login_url)
AttributeError: 'NoneType' object has no attribute 'get'
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112207934
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112207934
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112207934
问题详情:
Traceback (most recent call last):
File "/Users/chenhx/Desktop/github/taobao_seckill/main.py", line 6, in <module>
from seckill.seckill_taobao import ChromeDrive
File "/Users/chenhx/Desktop/github/taobao_seckill/seckill/seckill_taobao.py", line 11, in <module>
from selenium import webdriver
ModuleNotFoundError: No module named 'selenium'
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112207934
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112193237
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112193237
问题描述:
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112193237
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112193237
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112193237
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112193237
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112192881
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112192881
问题描述:
import requests
ModuleNotFoundError: No module named 'requests'
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112192206
https://chenhx.blog.csdn.net/article/details/112058861
这两篇包含不同的解决方案。
问题描述:
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112164218
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112164218
问题描述:
python main.py
Traceback (most recent call last):
File “main.py”, line 3, in
from jd_spider_requests import JdSeckill
File “/Users/chenhx/Desktop/github/jd_seckill/jd_spider_requests.py”, line 10, in
from lxml import etree
ModuleNotFoundError: No module named ‘lxml’
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112164218
https://chenhx.blog.csdn.net/article/details/111995967
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/111995967
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/111995967
问题描述:
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: lxml in /Users/chenhx/Library/Python/2.7/lib/python/site-packages (4.5.1)
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/111995967
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112148962
运行淘宝/天猫超市的脚本是使用无头浏览器来测试。
必须安装好:chromedriver
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112148962
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112148962
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112148962
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112148962
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112130652
https://chenhx.blog.csdn.net/article/details/112069082
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112130652
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112130652
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112130652
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112130652
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112130652
https://chenhx.blog.csdn.net/article/details/112058861
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112130652
问题描述:
Process: Python [39974]
Path: /System/Library/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python
Identifier: Python
Version: 3.7
Code Type: X86-64 (Native)
Parent Process: Python [39965]
Responsible: Terminal [258]
User ID: 501
Date/Time: 2016-02-19 12:05:12.981 +0000
OS Version: Mac OS X 10.14.6
Report Version: 11
Anonymous UUID: 36B6C9B8-4E1D-FCD0-677F-7B3719CA910C
Sleep/Wake UUID: B6BE108A-FCFD-460C-8778-4DB9AED9AB21
Time Awake Since Boot: 970000 seconds
Time Since Wake: 3300 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000110
VM Regions Near 0x110:
-->
__TEXT 000000010e700000-000000010e701000 [ 4K] r-x/rwx SM=COW /System/Library/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112058861
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112069346
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112252768
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112252768
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112252768
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112252768
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112252768
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112252768
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112252768
含有解决方案的文章地址:
https://chenhx.blog.csdn.net/article/details/112252768