Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac系统是不是不支持? #14

Closed
QiuYueBaiJXW opened this issue Aug 27, 2020 · 3 comments
Closed

Mac系统是不是不支持? #14

QiuYueBaiJXW opened this issue Aug 27, 2020 · 3 comments

Comments

@QiuYueBaiJXW
Copy link

2020-08-27 11:04:51.534 Python[1657:25291] -[wxNSApplication _setup:]: unrecognized selector sent to instance 0x7fae66c372a0

@playmyswift
Copy link

Mac下同样错误 unrecognized selector sent to instance

@playmyswift
Copy link

定位了下错误 在 main.py

class JdButton(Button):
    def OnClick(self, event):
        spider = JSpider(cookie, DATA_DIR)

@playmyswift
Copy link

准确说 是在这一行

# coding: utf8
import json
import os
import re
import sys
import requests
from lxml import etree
import datetime
import bs4
from pprint import pprint
from tkinter.filedialog import askdirectory
from tqdm import tqdm
from tqdm import trange

class JSpider(object):
    def __init__(self, cookie, data_dir="./"):
        # self.data_dir = data_dir
        print(4)
        self.data_dir = askdirectory(title='选择信息保存文件夹')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants