Python pyspider的安装

article/2025/10/12 20:42:47

Python pyspider的安装

  • 一、平台
  • 二、Python版本
  • 三、安装
    • 1、安装pyspider
    • 2、安装phantomjs
  • 四、执行和排错


一、平台

本机使用WIN 10平台进行配置

二、Python版本

本机使用Python版本为3.6.2(不建议使用高版本,有些库会不兼容),下载链接,使用如下截图中的安装包安装即可。
在这里插入图片描述

三、安装

1、安装pyspider

打开cmd,直接输入pip install pyspider

C:\Users\Donnie>pip install pyspider
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting pyspiderUsing cached https://pypi.tuna.tsinghua.edu.cn/packages/d0/97/d6062c928f53d899ff2a8538fed11d4d425ba3d27c96248a2c601c1c9fef/pyspider-0.3.10.tar.gz (110 kB)
Collecting Flask>=0.10Using cached https://pypi.tuna.tsinghua.edu.cn/packages/bf/73/9180d22a40da68382e9cb6edb66a74bf09cb72ac825c130dce9c5a44198d/Flask-2.0.0-py3-none-any.whl (93 kB)
Collecting Jinja2>=2.7Using cached https://pypi.tuna.tsinghua.edu.cn/packages/48/9b/dc3bbfc44d851632df958acf9d47e4de662c6bbd238e46798d555d427b27/Jinja2-3.0.0-py3-none-any.whl (133 kB)
Collecting chardet>=2.2Downloading https://pypi.tuna.tsinghua.edu.cn/packages/19/c7/fa589626997dd07bd87d9269342ccb74b1720384a4d739a1872bd84fbe68/chardet-4.0.0-py2.py3-none-any.whl (178 kB)|████████████████████████████████| 178 kB 2.2 MB/s
Requirement already satisfied: cssselect>=0.9 in c:\users\donnie\appdata\local\programs\python\python36\lib\site-packages (from pyspider) (1.1.0)
Requirement already satisfied: lxml in c:\users\donnie\appdata\local\programs\python\python36\lib\site-packages (from pyspider) (4.6.3)
Collecting pycurlDownloading https://pypi.tuna.tsinghua.edu.cn/packages/50/1a/35b1d8b8e4e23a234f1b17a8a40299fd550940b16866c9a1f2d47a04b969/pycurl-7.43.0.6.tar.gz (222 kB)|████████████████████████████████| 222 kB ...ERROR: Command errored out with exit status 10:command: 'c:\users\donnie\appdata\local\programs\python\python36\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Donnie\\AppData\\Local\\Temp\\pip-install-93yw3wr8\\pycurl_7f2651bdbd8a4eeeac657372eeff673f\\setup.py'"'"'; __file__='"'"'C:\\Users\\Donnie\\AppData\\Local\\Temp\\pip-install-93yw3wr8\\pycurl_7f2651bdbd8a4eeeac657372eeff673f\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Donnie\AppData\Local\Temp\pip-pip-egg-info-7m2njos2'cwd: C:\Users\Donnie\AppData\Local\Temp\pip-install-93yw3wr8\pycurl_7f2651bdbd8a4eeeac657372eeff673f\Complete output (1 lines):Please specify --curl-dir=/path/to/built/libcurl----------------------------------------
WARNING: Discarding https://pypi.tuna.tsinghua.edu.cn/packages/50/1a/35b1d8b8e4e23a234f1b17a8a40299fd550940b16866c9a1f2d47a04b969/pycurl-7.43.0.6.tar.gz#sha256=8301518689daefa53726b59ded6b48f33751c383cf987b0ccfbbc4ed40281325 (from https://pypi.tuna.tsinghua.edu.cn/simple/pycurl/) (requires-python:>=3.5). Command errored out with exit status 10: python setup.py egg_info Check the logs for full command output.Downloading https://pypi.tuna.tsinghua.edu.cn/packages/af/78/ce614dabbbcdc649174e5f06ae63d27473b97a815ae04c8f509b68d6472d/pycurl-7.43.0.5-cp36-cp36m-win_amd64.whl (1.7 MB)|████████████████████████████████| 1.7 MB ...
Collecting requests>=2.2Downloading https://pypi.tuna.tsinghua.edu.cn/packages/29/c1/24814557f1d22c56d50280771a17307e6bf87b70727d975fd6b2ce6b014a/requests-2.25.1-py2.py3-none-any.whl (61 kB)|████████████████████████████████| 61 kB 3.8 MB/s
Collecting Flask-Login>=0.2.11Downloading https://pypi.tuna.tsinghua.edu.cn/packages/2b/83/ac5bf3279f969704fc1e63f050c50e10985e50fd340e6069ec7e09df5442/Flask_Login-0.5.0-py2.py3-none-any.whl (16 kB)
Collecting u-msgpack-python>=1.6Downloading https://pypi.tuna.tsinghua.edu.cn/packages/a3/54/0400a3a22ff133633d343371821bf81010455fa3a981a93d7ff3e27a554e/u_msgpack_python-2.7.1-py2.py3-none-any.whl (10.0 kB)
Collecting click>=3.3Using cached https://pypi.tuna.tsinghua.edu.cn/packages/80/11/597f9102867dc0972b698972f05f50925f586639e57beba4db352029e8f9/click-8.0.0-py3-none-any.whl (96 kB)
Collecting six>=1.5.0Downloading https://pypi.tuna.tsinghua.edu.cn/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting tblib>=1.3.0Downloading https://pypi.tuna.tsinghua.edu.cn/packages/f8/cd/2fad4add11c8837e72f50a30e2bda30e67a10d70462f826b291443a55c7d/tblib-1.7.0-py2.py3-none-any.whl (12 kB)
Collecting wsgidav>=2.0.0Downloading https://pypi.tuna.tsinghua.edu.cn/packages/b2/fa/5d917861f496a06926061ea48bfe739ece36f73d5a41d237ab0c4258a659/WsgiDAV-3.1.0-py2.py3-none-any.whl (174 kB)|████████████████████████████████| 174 kB ...
Collecting tornado<=4.5.3,>=3.2Downloading https://pypi.tuna.tsinghua.edu.cn/packages/0a/29/01057551db50f718fda2afa0e42abdfccca4f8b18fa6163c59588ae8e991/tornado-4.5.3-cp36-cp36m-win_amd64.whl (423 kB)|████████████████████████████████| 423 kB ...
Requirement already satisfied: pyquery in c:\users\donnie\appdata\local\programs\python\python36\lib\site-packages (from pyspider) (1.4.3)
Collecting coloramaDownloading https://pypi.tuna.tsinghua.edu.cn/packages/44/98/5b86278fbbf250d239ae0ecb724f8572af1c91f4a11edf4d36a206189440/colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Collecting Werkzeug>=2.0Using cached https://pypi.tuna.tsinghua.edu.cn/packages/ff/1d/960bb4017c68674a1cb099534840f18d3def3ce44aed12b5ed8b78e0153e/Werkzeug-2.0.0-py3-none-any.whl (288 kB)
Collecting itsdangerous>=2.0Using cached https://pypi.tuna.tsinghua.edu.cn/packages/c4/af/93fb95dc8bc90a5580084f3dc4be049d243c6f687ff2e253ed3a6df30db4/itsdangerous-2.0.0-py3-none-any.whl (18 kB)
Collecting MarkupSafe>=2.0.0rc2Downloading https://pypi.tuna.tsinghua.edu.cn/packages/ec/93/ecfbd40bd9392a054af0a5fa429cdd5309582afa57128f4026fdeefb5475/MarkupSafe-2.0.0-cp36-cp36m-win_amd64.whl (14 kB)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\donnie\appdata\local\programs\python\python36\lib\site-packages (from requests>=2.2->pyspider) (1.26.4)
Collecting certifi>=2017.4.17Downloading https://pypi.tuna.tsinghua.edu.cn/packages/5e/a0/5f06e1e1d463903cf0c0eebeb751791119ed7a4b3737fdc9a77f1cdfb51f/certifi-2020.12.5-py2.py3-none-any.whl (147 kB)|████████████████████████████████| 147 kB ...
Collecting idna<3,>=2.5Downloading https://pypi.tuna.tsinghua.edu.cn/packages/a2/38/928ddce2273eaa564f6f50de919327bf3a00f091b5baba8dfa9460f3a8a8/idna-2.10-py2.py3-none-any.whl (58 kB)|████████████████████████████████| 58 kB ...
Collecting dataclassesDownloading https://pypi.tuna.tsinghua.edu.cn/packages/fe/ca/75fac5856ab5cfa51bbbcefa250182e50441074fdc3f803f6e76451fab43/dataclasses-0.8-py3-none-any.whl (19 kB)
Collecting PyYAMLDownloading https://pypi.tuna.tsinghua.edu.cn/packages/30/d0/8699372d1c22202e80b160527f8412d98a5edfefeefac056df3997e84801/PyYAML-5.4.1-cp36-cp36m-win_amd64.whl (209 kB)|████████████████████████████████| 209 kB ...
Collecting json5Downloading https://pypi.tuna.tsinghua.edu.cn/packages/2b/81/22bf51a5bc60dde18bb6164fd597f18ee683de8670e141364d9c432dd3cf/json5-0.9.5-py2.py3-none-any.whl (17 kB)
Collecting defusedxmlDownloading https://pypi.tuna.tsinghua.edu.cn/packages/07/6c/aa3f2f849e01cb6a001cd8554a88d4c77c5c1a31c95bdf1cf9301e6d9ef4/defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Using legacy 'setup.py install' for pyspider, since package 'wheel' is not installed.
Installing collected packages: MarkupSafe, dataclasses, colorama, Werkzeug, Jinja2, itsdangerous, click, six, PyYAML, json5, idna, Flask, defusedxml, chardet, certifi, wsgidav, u-msgpack-python, tornado, tblib, requests, pycurl, Flask-Login, pyspiderRunning setup.py install for pyspider ... done
Successfully installed Flask-2.0.0 Flask-Login-0.5.0 Jinja2-3.0.0 MarkupSafe-2.0.0 PyYAML-5.4.1 Werkzeug-2.0.0 certifi-2020.12.5 chardet-4.0.0 click-8.0.0 colorama-0.4.4 dataclasses-0.8 defusedxml-0.7.1 idna-2.10 itsdangerous-2.0.0 json5-0.9.5 pycurl-7.43.0.5 pyspider-0.3.10 requests-2.25.1 six-1.16.0 tblib-1.7.0 tornado-4.5.3 u-msgpack-python-2.7.1 wsgidav-3.1.0

2、安装phantomjs

还需要安装phantomjs,打开plantomjs网址,下载Windows版本,下载完成后进行解压,并将bin目录下的phantomjs.exe添加到系统的环境变量下即可
下载页面

四、执行和排错

安装完成后直接执行pyspider all启动,然后,发现,报错了。。。。。

C:\Users\Donnie>pyspider all
c:\users\donnie\appdata\local\programs\python\python36\lib\site-packages\pyspider\libs\utils.py:196: FutureWarning: timeout is not supported on your platform.warnings.warn("timeout is not supported on your platform.", FutureWarning)
phantomjs fetcher running on port 25555
[I 210513 09:22:04 result_worker:49] result_worker starting...
[I 210513 09:22:05 processor:211] processor starting...
[I 210513 09:22:05 scheduler:647] scheduler starting...
[I 210513 09:22:05 scheduler:586] in 5m: new:0,success:0,retry:0,failed:0
[I 210513 09:22:05 tornado_fetcher:638] fetcher starting...
[I 210513 09:22:05 scheduler:782] scheduler.xmlrpc listening on 127.0.0.1:23333
[I 210513 09:22:06 app:84] webui exiting...
[I 210513 09:22:06 tornado_fetcher:671] fetcher exiting...
[I 210513 09:22:06 scheduler:663] scheduler exiting...
[I 210513 09:22:06 result_worker:66] result_worker exiting...
[I 210513 09:22:07 processor:229] processor exiting...
Traceback (most recent call last):File "C:\Users\Donnie\AppData\Local\Programs\Python\Python36\Scripts\pyspider-script.py", line 11, in <module>load_entry_point('pyspider==0.3.10', 'console_scripts', 'pyspider')()File "c:\users\donnie\appdata\local\programs\python\python36\lib\site-packages\pyspider\run.py", line 754, in maincli()File "c:\users\donnie\appdata\local\programs\python\python36\lib\site-packages\click\core.py", line 1134, in __call__return self.main(*args, **kwargs)File "c:\users\donnie\appdata\local\programs\python\python36\lib\site-packages\click\core.py", line 1059, in mainrv = self.invoke(ctx)File "c:\users\donnie\appdata\local\programs\python\python36\lib\site-packages\click\core.py", line 1665, in invokereturn _process_result(sub_ctx.command.invoke(sub_ctx))File "c:\users\donnie\appdata\local\programs\python\python36\lib\site-packages\click\core.py", line 1401, in invokereturn ctx.invoke(self.callback, **ctx.params)File "c:\users\donnie\appdata\local\programs\python\python36\lib\site-packages\click\core.py", line 767, in invokereturn __callback(*args, **kwargs)File "c:\users\donnie\appdata\local\programs\python\python36\lib\site-packages\click\decorators.py", line 26, in new_funcreturn f(get_current_context(), *args, **kwargs)File "c:\users\donnie\appdata\local\programs\python\python36\lib\site-packages\pyspider\run.py", line 497, in allctx.invoke(webui, **webui_config)File "c:\users\donnie\appdata\local\programs\python\python36\lib\site-packages\click\core.py", line 767, in invokereturn __callback(*args, **kwargs)File "c:\users\donnie\appdata\local\programs\python\python36\lib\site-packages\click\decorators.py", line 26, in new_funcreturn f(get_current_context(), *args, **kwargs)File "c:\users\donnie\appdata\local\programs\python\python36\lib\site-packages\pyspider\run.py", line 384, in webuiapp.run(host=host, port=port)File "c:\users\donnie\appdata\local\programs\python\python36\lib\site-packages\pyspider\webui\app.py", line 59, in runfrom .webdav import dav_appFile "c:\users\donnie\appdata\local\programs\python\python36\lib\site-packages\pyspider\webui\webdav.py", line 216, in <module>dav_app = WsgiDAVApp(config)File "c:\users\donnie\appdata\local\programs\python\python36\lib\site-packages\wsgidav\wsgidav_app.py", line 133, in __init___check_config(config)File "c:\users\donnie\appdata\local\programs\python\python36\lib\site-packages\wsgidav\wsgidav_app.py", line 117, in _check_configraise ValueError("Invalid configuration:\n  - " + "\n  - ".join(errors))
ValueError: Invalid configuration:- Deprecated option 'domaincontroller': use 'http_authenticator.domain_controller' instead.

是由于WsgiDAV发布了版本 pre-release 3.x,所以需要修改部分源码

首先找到pyspider的安装路径,打开pyspider/webui/webdav.py,将209行

'domaincontroller': NeedAuthController(app),

修改为:

'http_authenticator':{'HTTPAuthenticator':NeedAuthController(app),},

再次运行,还是报错

    from werkzeug.wsgi import DispatcherMiddleware
ImportError: cannot import name 'DispatcherMiddleware'

由于安装Werkzeug版本为2.0.0,这个版本没有DispatcherMiddleware这个方法,所以进行降级,安装0.16.1版本,执行下面两行命令即可

1、python -m pip uninstall werkzeug
2、python -m pip install werkzeug==0.16.1

安装完成后会有

flask 2.0.0 requires Werkzeug>=2.0, but you have werkzeug 0.16.1 which is incompatible.

的提示,意思是flask要求Werkzeug版本>=2.0,故对flask也进行降级,安装0.11版本即可,执行下面两行命令:

1、python -m pip uninstall flask
2、python -m pip install flask==0.11

再次运行pyspider all命令,发现已经启动成功

C:\Users\Donnie>pyspider all
c:\users\donnie\appdata\local\programs\python\python36\lib\site-packages\pyspider\libs\utils.py:196: FutureWarning: timeout is not supported on your platform.warnings.warn("timeout is not supported on your platform.", FutureWarning)
phantomjs fetcher running on port 25555
[I 210513 12:03:52 result_worker:49] result_worker starting...
[I 210513 12:03:52 processor:211] processor starting...
[I 210513 12:03:52 scheduler:647] scheduler starting...
[I 210513 12:03:52 scheduler:586] in 5m: new:0,success:0,retry:0,failed:0
[I 210513 12:03:53 tornado_fetcher:638] fetcher starting...
[I 210513 12:03:53 scheduler:782] scheduler.xmlrpc listening on 127.0.0.1:23333
[I 210513 12:03:53 app:76] webui running on 0.0.0.0:5000

在电脑Chrome输入http://localhost:5000/,发现控制台可以正确输出
在这里插入图片描述


http://chatgpt.dhexx.cn/article/q8IOhYrj.shtml

相关文章

Python Spider

一、网络爬虫 网络爬虫又被称为网络蜘蛛&#xff08;&#x1f577;️&#xff09;&#xff0c;我们可以把互联网想象成一个蜘蛛网&#xff0c;每一个网站都是一个节点&#xff0c;我们可以使用一只蜘蛛去各个网页抓取我们想要的资源。举一个最简单的例子&#xff0c;你在百度和…

在IDEA中写Python

1、IDEA&#xff08;下载&#xff09; 在IDEA中&#xff0c;点击【File】-【Settings...】-【Plugins】&#xff0c;在里面搜索python&#xff0c;并安装插件。&#xff08;安装后需要重启有效&#xff09;在IDEA中&#xff0c;配置python SDK的路径 【File】–【Project St…

最全面的python编辑器/IDE介绍

前言 工欲善其事&#xff0c;必先利其器。所以为了更高效学习和工作就需要好用的IDE&#xff08;集成开发环境&#xff09;下面 我跟大家介绍一下python 各个编辑器的优缺点 什么是 IDE&#xff1f;IDE 有什么用&#xff1f; IDE 是开发者创建程序时使用的软件包。它通过简单…

安装PySide2

安装命令 安装pyside库所占用空间大概为136M&#xff0c;为避免网络请求问题建议添加国内源&#xff08;如&#xff1a;清华源https://pypi.tuna.tsinghua.edu.cn/simple&#xff09; 具体安装命令如下&#xff1a; pip install pyside2 -i https://pypi.tuna.tsinghua.…

Python编程IDE的选择

Python环境安装之后&#xff0c;接下来就是选择编写Python程序的编辑器了&#xff0c;这里就给大家推荐几种Python编辑器&#xff0c;我们简称这些编辑器为IDE。好的编程IDE可以提高编写代码效率&#xff0c;那咱话不多说&#xff0c;直接开始推荐&#xff01; IDLE 首先&…

推荐一些python IDE(python编辑器)

什么是 IDE&#xff1f;IDE 有什么用&#xff1f; IDE 是开发者创建程序时使用的软件包。它通过简单的用户界面集成多个高度关联的组件&#xff0c;从而最大化程序员的生产效率。本质上&#xff0c;IDE 是一种改进代码创建、测试和 debug 流程的工具&#xff0c;它使这些工作更…

PySide2介绍

1.介绍PySide2 PySide2是一个Python模块&#xff0c;它提供了对Qt5.12完整框架的访问&#xff0c;简单点说就是在Python下使用的Qt。使用PySide2既能开发出完美的界面&#xff0c;又能享受Python的便捷开发。与PySide和PyQt相比&#xff0c;PySide2是开源的&#xff0c;使用不…

【Python】十个好用的Python开发工具(IDE)

文章目录 前言一、PyCharm二、 Atom三、IDLE四、Thonny五、Visual Studio Code六、Sublime Text七、Spyder八、Wing九、Eric Python十、Rodeo总结 前言 对于程序员来说&#xff0c;除了日常争论世界上最好的语言是哪一门以外&#xff0c;哪款 IDE 是最好的也是争议颇多&#x…

python的pyside2安装

文章目录 Python图形界面开发的几种方案PySide2、PyQt5 简介安装 PySide2 Python图形界面开发的几种方案 程序的用户交互界面&#xff0c;英文称之为 UI (user interface) 当一个应用的 UI 比较复杂的时候&#xff0c;命令行方式就不便用户使用了&#xff0c;这时我们需要图形…

给Python初学者推荐的4款IDE,超实用

大家好&#xff0c;我是程序汪小陈~&#xff01; 总有一些Python初学者&#xff0c;会问到&#xff1a;学习Python&#xff0c;应该用什么Python IDE&#xff1f;了解到他们使用Python做什么之后&#xff0c;我总结了这篇文章。 IDE是集成开发环境的缩写&#xff0c;通俗地说…

10款最好的Python编程IDE,总有一款适合你!

对于程序员来说&#xff0c;除了日常争论世界上最好的语言是哪一门以外&#xff0c;哪款 IDE 是最好的也是争议颇多&#xff0c;今天我们就来介绍 10 款最好的 Python 编程 IDE&#xff0c;总有一款适合你&#xff01;经典推荐 什么是 IDE&#xff1f; 集成开发环境&#xff0…

各大Python IDE的优缺点,看看哪种最适合你?

写 Python 代码最好的方式莫过于使用集成开发环境&#xff08;IDE&#xff09;了。它们不仅能使你的工作更加简单、更具逻辑性&#xff0c;还能够提升编程体验和效率。 每个人都知道这一点。而问题在于&#xff0c;如何从众多选项中选择最好的 Python 开发环境。初级开发者往往…

经典推荐!10款最好的Python编程IDE,总有一款适合你

对于程序员来说&#xff0c;除了日常争论世界上最好的语言是哪一门以外&#xff0c;哪款 IDE 是最好的也是争议颇多&#xff0c;今天我们就来介绍 10 款最好的 Python 编程 IDE&#xff0c;总有一款适合你&#xff01; 经典推荐 什么是 IDE&#xff1f; 集成开发环境&#xf…

Python开发常用IDE有哪些

原文地址&#xff1a;几款 常用Python IDE 编辑器- Python学习网站导航 写 Python 代码最好的方式莫过于使用集成开发环境&#xff08;IDE&#xff09;了。它们不仅能使你的工作更加简单、更具逻辑性&#xff0c;还能够提升编程体验和效率。每个人都知道这一点。而问题在于&a…

Python十大最佳IDE

每当我们在任何领域开发新事物时&#xff0c;无论是住房、电信、IT还是游戏&#xff0c;我们总是希望将所有必需品捆绑在一个单独的开发项目中&#xff0c;并创造一个满足所有需求的环境。集成开发环境(IDE)或集成开发环境(Integrated Development Environment)也是这些项目之一…

打印机驱动开发,初步了解

在Windows中&#xff0c;打印机驱动的作用是编写一组接口。应用程序调用的GDI函数会变成相应的DDI函数&#xff0c;打印机驱动提供的这组接口负责将DDI函数转变为打印机识别的的指令。至于是通过网口、串口等接口与真实打印机相连接&#xff0c;这是Printer Moniter的职责&…

测试驱动开发

测试驱动开发 概述 极限编程是一个轻量级的、灵巧的软件开发方法&#xff0c;同时它也是一个非常严 谨和周密的方法&#xff0c;它从 4 个基本方面对软件项目进行改善&#xff1a;交流、简易、反馈 和勇气。测试驱动开发则是极限编程的最佳实践之一。它是编程时使用的技术&am…

C++开发方向之windows驱动开发

1.为什么要写这篇文章&#xff1f; 最近浏览招聘网站看到关于windows驱动开发的岗位&#xff0c;前几天一个C客户端工作岗位&#xff0c;猎头也问我是否有了解windows内核。 所以&#xff0c;调研了一下C的开发方向&#xff1a;windows驱动开发。 先来看看招聘网上&#xff…

Linux驱动开发|UART驱动

UART驱动 串口是一个常用的外设&#xff0c;在 Linux 下通常通过串口和其他设备或传感器进行通信&#xff0c;根据电平的不同&#xff0c;串口分为 TTL 和 RS232。虽然接口电平不同&#xff0c;但其驱动程序都是一样的&#xff0c;通过外接 RS485芯片就可以将串口转换为 RS485…

Linux驱动开发|WiFi驱动

WiFi驱动 一、WiFi驱动添加与编译 I.MX6U-ALPHA 开发板目前支持两种接口的 WIFI&#xff1a;USB 和 SDIO&#xff0c;其中 USB WIFI 使用的芯片为 RTL8188EUS 或 RTL8188CUS&#xff0c; SDIO 接口的 WIFI 使用的芯片为 RTL8189FS。这两个都是 realtek 公司出品的 WIFI 芯片。…