Çà³öÓÚÀ¶ ·¢±íÓÚ 2020-7-4 07:33:42

Twilight6 ·¢±íÓÚ 2020-7-4 06:48
ͼƬ²»Äܱ£´æΪ txt µÄ£¬Â¥ÉϵÄÊÇÓà Gui ½çÃ棬¶øÇÒÕâ¸öÅÀÈ¡µ½µÄͼƬ²»¼æÈÝ Tkinter £¬»¹ÒªÍ¨¹ý PI ...

PIL£¿ÎҼǵÃÓиöרÃÅ´¦ÀíͼƬµÄ¿âÀ´×Å£¬ºÃÏñ½ÐNumpyÀ´×Å....

Twilight6 ·¢±íÓÚ 2020-7-4 07:34:37

Çà³öÓÚÀ¶ ·¢±íÓÚ 2020-7-4 07:31
tkinterÖ»ÄÜgif£¬ÏÂÔصÄͼƬºó׺ÃûÊÇjpg£¬ËùÒÔµÃÓøñʽ¹¤³§×ª»¯¡£
Èç¹ûÖ±½ÓÏÂÔØgifͼƬ£¬tkinterÄÜ´ò¿ª ...

àÅÄãÖ±½Ó±£´æµÄʵÖÊ»¹ÊÇ jpg

Twilight6 ·¢±íÓÚ 2020-7-4 07:35:14

Çà³öÓÚÀ¶ ·¢±íÓÚ 2020-7-4 07:33
PIL£¿ÎҼǵÃÓиöרÃÅ´¦ÀíͼƬµÄ¿âÀ´×Å£¬ºÃÏñ½ÐNumpyÀ´×Å....

.....NmupyÊÇÊý¾Ý´¦Àí£¬PIL²ÅÊÇרÃÅŪͼƬµÄ

Çà³öÓÚÀ¶ ·¢±íÓÚ 2020-7-4 07:40:15

Çà³öÓÚÀ¶ ·¢±íÓÚ 2020-7-4 07:33
PIL£¿ÎҼǵÃÓиöרÃÅ´¦ÀíͼƬµÄ¿âÀ´×Å£¬ºÃÏñ½ÐNumpyÀ´×Å....

±£´æµÄgif£¬±£´æºóÓÖÓøñʽ¹¤³§×ª»¯ÁË

Çà³öÓÚÀ¶ ·¢±íÓÚ 2020-7-4 07:41:06

Twilight6 ·¢±íÓÚ 2020-7-4 07:35
.....NmupyÊÇÊý¾Ý´¦Àí£¬PIL²ÅÊÇרÃÅŪͼƬµÄ

{:10_266:}̫С°×

Twilight6 ·¢±íÓÚ 2020-7-4 08:15:21

±¾Ìû×îºóÓÉ Twilight6 ÓÚ 2020-7-4 08:17 ±à¼­

˽¤Ï¤ê ·¢±íÓÚ 2020-7-3 19:24
ÄÜ°ÑͼƬҲŪ½øÈ¥Âð£¿



ÕâÑù¼´¿É£¬Ä㻹Ҫ°²×°µÄ¿â£º
PIL ͼƬ´¦Àí¿â£º
python -m pip install Pillow -i https://pypi.tuna.tsinghua.edu.cn/simple
requests Ä£¿é£º
python -m pip install requests -i https://pypi.tuna.tsinghua.edu.cn/simple
lxml ½âÎöÆ÷£º
python -m pip install lxml -i https://pypi.tuna.tsinghua.edu.cn/simple

import requests
from tkinter import *
from lxml.etree import HTML
from PIL import Image,ImageTk

# ·ÃÎÊÍøÒ³£¬ÅÀÈ¡ËùÐèÒªµÄÊý¾Ý
url = 'https://www.tianqijun.com/techan/doc/3711.html'
headers = {
    'User-Agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36'
}
count=1
request = requests.get(url,headers=headers)
html = HTML(request.text)
content = html.xpath('//div[@class="detailText"]/p/text()')
title = html.xpath('//p/strong/text()')
img_url = html.xpath('//strong/img/@src')

# ÏÂÔØͼƬ
for i in range(len(img_url)):
    with open(title+'.jpg','wb') as file:
      file.write(requests.get(img_url).content)

root=Tk()
root.title('----ÎÄÕÂÅÀÈ¡&ͼÎIJ¢Ã¯')

# ÉèÖùö¶¯Ìõ
sb = Scrollbar(root)
sb.pack(side=RIGHT,fill=Y)

# ÉèÖÃÎı¾
text = Text(root,width=100,height=50,font=('SIMHEI',13),yscrollcommand=sb.set)
temp = []
for i in range(0,len(title)*2,2):
    temp.append(Image.open(title+'.jpg'))
    temp.append(ImageTk.PhotoImage(temp))
    text.insert(END,content+'\n')
    text.tag_add(f'tag{i}','1.0',END)
    text.tag_config(f'tag{i}',justify=CENTER)
    text.image_create(END,image=temp,align=CENTER)
    text.insert(END,'\n')

text.pack()
sb.config(command=text.yview)

mainloop()

Ч¹ûͼƬ£º






Twilight6 ·¢±íÓÚ 2020-7-4 08:18:05

Çà³öÓÚÀ¶ ·¢±íÓÚ 2020-7-4 07:41
̫С°×

¿´¿´Â¥ÉÏ°É

˽¤Ï¤ê ·¢±íÓÚ 2020-7-4 09:10:19

Twilight6 ·¢±íÓÚ 2020-7-4 08:15
ÕâÑù¼´¿É£¬Ä㻹Ҫ°²×°µÄ¿â£º
PIL ͼƬ´¦Àí¿â£º



Command "C:\Users\86189\PycharmProjects\untitled17\venv\Scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\86189\\AppData\\Local\\Temp\\pip-install-q75_0vmw\\lxml\\setu
p.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\86189\AppData\Local\Temp\pip-re
cord-o85n52af\install-record.txt --single-version-externally-managed --compile --install-headers C:\Users\86189\PycharmProjects\untitled17\venv\include\site\python3.8\lxml" failed with error c
ode 1 in C:\Users\86189\AppData\Local\Temp\pip-install-q75_0vmw\lxml\

ÕâÊÇÎÒ°²×°¿â³öÀ´µÄºìÉ«¶«Î÷
Ö»ÓÐrequests¿â²»»áÆäËûÁ½¸ö°²×°¾ÍÊǺìÉ«

˽¤Ï¤ê ·¢±íÓÚ 2020-7-4 09:15:28

Çà³öÓÚÀ¶ ·¢±íÓÚ 2020-7-4 07:31
tkinterÖ»ÄÜgif£¬ÏÂÔصÄͼƬºó׺ÃûÊÇjpg£¬ËùÒÔµÃÓøñʽ¹¤³§×ª»¯¡£
Èç¹ûÖ±½ÓÏÂÔØgifͼƬ£¬tkinterÄÜ´ò¿ª ...

¶àл

Twilight6 ·¢±íÓÚ 2020-7-4 09:26:41

˽¤Ï¤ê ·¢±íÓÚ 2020-7-4 09:10
Command "C:%users\86189\PycharmProjects%untitled17\venv\Scripts\python.exe -u -c "import setuptool ...



½Øͼ·¢ÉÏÀ´¿´¿´

˽¤Ï¤ê ·¢±íÓÚ 2020-7-4 09:40:05

Twilight6 ·¢±íÓÚ 2020-7-4 09:26
½Øͼ·¢ÉÏÀ´¿´¿´

ÎÒÕâÐÂÈ˺ÃÏñû·¢½Øͼ

Twilight6 ·¢±íÓÚ 2020-7-4 09:41:06

˽¤Ï¤ê ·¢±íÓÚ 2020-7-4 09:40
ÎÒÕâÐÂÈ˺ÃÏñû·¢½Øͼ

ÄÇÄã°Ñ±¨´í¸´ÖÆÍêÕûÒ»µãµã

˽¤Ï¤ê ·¢±íÓÚ 2020-7-4 09:58:03

Twilight6 ·¢±íÓÚ 2020-7-4 09:26
½Øͼ·¢ÉÏÀ´¿´¿´

(venv) C:\Users\86189\PycharmProjects\untitled17>python -m pip install lxml -i https://pypi.tuna.tsinghua.edu.cn/simple
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting lxml
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/03/a8/73d795778143be51d8b86750b371b3efcd7139987f71618ad9f4b8b65543/lxml-4.5.1.tar.gz
Installing collected packages: lxml
Running setup.py install for lxml ... error
    Complete output from command C:\Users\86189\PycharmProjects\untitled17\venv\Scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\86189\\AppData\\Local\\Temp\\pip-inst
all-g9bq4a74\\lxml\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\86189\A
ppData\Local\Temp\pip-record-a345_hk1\install-record.txt --single-version-externally-managed --compile --install-headers C:\Users\86189\PycharmProjects\untitled17\venv\include\site\python3.8\l
xml:
    Building lxml version 4.5.1.
    Building without Cython.
    Building against pre-built libxml2 andl libxslt libraries
    running install
    running build
    running build_py
    creating build
    creating build\lib.win32-3.8
    creating build\lib.win32-3.8\lxml
    copying src\lxml\builder.py -> build\lib.win32-3.8\lxml
    copying src\lxml\cssselect.py -> build\lib.win32-3.8\lxml
    copying src\lxml\doctestcompare.py -> build\lib.win32-3.8\lxml
    copying src\lxml\ElementInclude.py -> build\lib.win32-3.8\lxml
    copying src\lxml\pyclasslookup.py -> build\lib.win32-3.8\lxml
    copying src\lxml\sax.py -> build\lib.win32-3.8\lxml
    copying src\lxml\usedoctest.py -> build\lib.win32-3.8\lxml
    copying src\lxml\_elementpath.py -> build\lib.win32-3.8\lxml
    copying src\lxml\__init__.py -> build\lib.win32-3.8\lxml
    creating build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\__init__.py -> build\lib.win32-3.8\lxml\includes
    creating build\lib.win32-3.8\lxml\html
    copying src\lxml\html\builder.py -> build\lib.win32-3.8\lxml\html
    copying src\lxml\html\clean.py -> build\lib.win32-3.8\lxml\html
    copying src\lxml\html\defs.py -> build\lib.win32-3.8\lxml\html
    copying src\lxml\html\diff.py -> build\lib.win32-3.8\lxml\html
    copying src\lxml\html\ElementSoup.py -> build\lib.win32-3.8\lxml\html
    copying src\lxml\html\formfill.py -> build\lib.win32-3.8\lxml\html
    copying src\lxml\html\html5parser.py -> build\lib.win32-3.8\lxml\html
    copying src\lxml\html\soupparser.py -> build\lib.win32-3.8\lxml\html
    copying src\lxml\html\usedoctest.py -> build\lib.win32-3.8\lxml\html
    copying src\lxml\html\_diffcommand.py -> build\lib.win32-3.8\lxml\html
    copying src\lxml\html\_html5builder.py -> build\lib.win32-3.8\lxml\html
    copying src\lxml\html\_setmixin.py -> build\lib.win32-3.8\lxml\html
    copying src\lxml\html\__init__.py -> build\lib.win32-3.8\lxml\html
    creating build\lib.win32-3.8\lxml\isoschematron
    copying src\lxml\isoschematron\__init__.py -> build\lib.win32-3.8\lxml\isoschematron
    copying src\lxml\etree.h -> build\lib.win32-3.8\lxml
    copying src\lxml\etree_api.h -> build\lib.win32-3.8\lxml
    copying src\lxml\lxml.etree.h -> build\lib.win32-3.8\lxml
    copying src\lxml\lxml.etree_api.h -> build\lib.win32-3.8\lxml
    copying src\lxml\includes\c14n.pxd -> build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\config.pxd -> build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\dtdvalid.pxd -> build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\etreepublic.pxd -> build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\htmlparser.pxd -> build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\relaxng.pxd -> build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\schematron.pxd -> build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\tree.pxd -> build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\uri.pxd -> build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\xinclude.pxd -> build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\xmlerror.pxd -> build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\xmlparser.pxd -> build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\xmlschema.pxd -> build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\xpath.pxd -> build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\xslt.pxd -> build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\__init__.pxd -> build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\etree_defs.h -> build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\lxml-version.h -> build\lib.win32-3.8\lxml\includes
    creating build\lib.win32-3.8\lxml\isoschematron\resources
    creating build\lib.win32-3.8\lxml\isoschematron\resources\rng
    copying src\lxml\isoschematron\resources\rng\iso-schematron.rng -> build\lib.win32-3.8\lxml\isoschematron\resources\rng
    creating build\lib.win32-3.8\lxml\isoschematron\resources\xsl
    copying src\lxml\isoschematron\resources\xsl\RNG2Schtrn.xsl -> build\lib.win32-3.8\lxml\isoschematron\resources\xsl
    copying src\lxml\isoschematron\resources\xsl\XSD2Schtrn.xsl -> build\lib.win32-3.8\lxml\isoschematron\resources\xsl
    creating build\lib.win32-3.8\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
    copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_abstract_expand.xsl -> build\lib.win32-3.8\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
    copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_dsdl_include.xsl -> build\lib.win32-3.8\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
    copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_schematron_message.xsl -> build\lib.win32-3.8\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
    copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_schematron_skeleton_for_xslt1.xsl -> build\lib.win32-3.8\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
    copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_svrl_for_xslt1.xsl -> build\lib.win32-3.8\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
    copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\readme.txt -> build\lib.win32-3.8\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
    running build_ext
    building 'lxml.etree' extension
    error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/

    ----------------------------------------
Command "C:\Users\86189\PycharmProjects\untitled17\venv\Scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\86189\\AppData\\Local\\Temp\\pip-install-g9bq4a74\\lxml\\setu
p.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\86189\AppData\Local\Temp\pip-re
cord-a345_hk1\install-record.txt --single-version-externally-managed --compile --install-headers C:\Users\86189\PycharmProjects\untitled17\venv\include\site\python3.8\lxml" failed with error c
ode 1 in C:\Users\86189\AppData\Local\Temp\pip-install-g9bq4a74\lxml\

(venv) C:\Users\86189\PycharmProjects\untitled17>

˽¤Ï¤ê ·¢±íÓÚ 2020-7-4 10:00:12

Twilight6 ·¢±íÓÚ 2020-7-4 09:26
½Øͼ·¢ÉÏÀ´¿´¿´

(venv) C:\Users\86189\PycharmProjects\untitled17>python -m pip install Pillow -i https://pypi.tuna.tsinghua.edu.cn/simple
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting Pillow
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/3e/02/b09732ca4b14405ff159c470a612979acfc6e8645dc32f83ea0129709f7a/Pillow-7.2.0.tar.gz (39.1MB)
    100% |¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€| 39.1MB 476kB/s
Installing collected packages: Pillow
Running setup.py install for Pillow ... error
    Complete output from command C:\Users\86189\PycharmProjects\untitled17\venv\Scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\86189\\AppData\\Local\\Temp\\pip-inst
all-fzawd_tj\\Pillow\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\86189
\AppData\Local\Temp\pip-record-v1rqreby\install-record.txt --single-version-externally-managed --compile --install-headers C:\Users\86189\PycharmProjects\untitled17\venv\include\site\python3.8
\Pillow:
    running install
    running build
    running build_py
    creating build
    creating build\lib.win32-3.8
    creating build\lib.win32-3.8\PIL
    copying src\PIL\BdfFontFile.py -> build\lib.win32-3.8\PIL
    copying src\PIL\BlpImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\BmpImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\BufrStubImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ContainerIO.py -> build\lib.win32-3.8\PIL
    copying src\PIL\CurImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\DcxImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\DdsImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\EpsImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ExifTags.py -> build\lib.win32-3.8\PIL
    copying src\PIL\features.py -> build\lib.win32-3.8\PIL
    copying src\PIL\FitsStubImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\FliImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\FontFile.py -> build\lib.win32-3.8\PIL
    copying src\PIL\FpxImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\FtexImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\GbrImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\GdImageFile.py -> build\lib.win32-3.8\PIL
    copying src\PIL\GifImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\GimpGradientFile.py -> build\lib.win32-3.8\PIL
    copying src\PIL\GimpPaletteFile.py -> build\lib.win32-3.8\PIL
    copying src\PIL\GribStubImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\Hdf5StubImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\IcnsImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\IcoImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\Image.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageChops.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageCms.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageColor.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageDraw.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageDraw2.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageEnhance.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageFile.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageFilter.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageFont.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageGrab.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageMath.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageMode.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageMorph.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageOps.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImagePalette.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImagePath.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageQt.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageSequence.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageShow.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageStat.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageTk.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageTransform.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageWin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImtImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\IptcImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\Jpeg2KImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\JpegImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\JpegPresets.py -> build\lib.win32-3.8\PIL
    copying src\PIL\McIdasImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\MicImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\MpegImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\MpoImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\MspImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\PaletteFile.py -> build\lib.win32-3.8\PIL
    copying src\PIL\PalmImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\PcdImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\PcfFontFile.py -> build\lib.win32-3.8\PIL
    copying src\PIL\PcxImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\PdfImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\PdfParser.py -> build\lib.win32-3.8\PIL
    copying src\PIL\PixarImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\PngImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\PpmImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\PsdImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\PSDraw.py -> build\lib.win32-3.8\PIL
    copying src\PIL\PyAccess.py -> build\lib.win32-3.8\PIL
    copying src\PIL\SgiImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\SpiderImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\SunImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\TarIO.py -> build\lib.win32-3.8\PIL
    copying src\PIL\TgaImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\TiffImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\TiffTags.py -> build\lib.win32-3.8\PIL
    copying src\PIL\WalImageFile.py -> build\lib.win32-3.8\PIL
    copying src\PIL\WebPImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\WmfImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\XbmImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\XpmImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\XVThumbImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\_binary.py -> build\lib.win32-3.8\PIL
    copying src\PIL\_tkinter_finder.py -> build\lib.win32-3.8\PIL
    copying src\PIL\_util.py -> build\lib.win32-3.8\PIL
    copying src\PIL\_version.py -> build\lib.win32-3.8\PIL
    copying src\PIL\__init__.py -> build\lib.win32-3.8\PIL
    copying src\PIL\__main__.py -> build\lib.win32-3.8\PIL
    running egg_info
    writing src\Pillow.egg-info\PKG-INFO
    writing dependency_links to src\Pillow.egg-info\dependency_links.txt
    writing top-level names to src\Pillow.egg-info\top_level.txt
    reading manifest file 'src\Pillow.egg-info\SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no files found matching '*.c'
    warning: no files found matching '*.h'
    warning: no files found matching '*.sh'
    warning: no previously-included files found matching '.appveyor.yml'
    warning: no previously-included files found matching '.coveragerc'
    warning: no previously-included files found matching '.editorconfig'
    warning: no previously-included files found matching '.readthedocs.yml'
    warning: no previously-included files found matching 'codecov.yml'
    warning: no previously-included files matching '.git*' found anywhere in distribution
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*.so' found anywhere in distribution
    no previously-included directories found matching '.ci'
    writing manifest file 'src\Pillow.egg-info\SOURCES.txt'
    running build_ext


    The headers or library files could not be found for zlib,
    a required dependency when compiling Pillow from source.

    Please see the install instructions at:
       https://pillow.readthedocs.io/en/latest/installation.html

    Traceback (most recent call last):
      File "C:\Users\86189\AppData\Local\Temp\pip-install-fzawd_tj\Pillow\setup.py", line 864, in <module>
      setup(
      File "C:\Users\86189\PycharmProjects\untitled17\venv\lib\site-packages\setuptools-40.8.0-py3.8.egg\setuptools\__init__.py", line 145, in setup
      File "D:\python3.81\lib\distutils\core.py", line 148, in setup
      dist.run_commands()
      File "D:\python3.81\lib\distutils\dist.py", line 966, in run_commands
      self.run_command(cmd)
      File "D:\python3.81\lib\distutils\dist.py", line 985, in run_command
      cmd_obj.run()
      File "C:\Users\86189\PycharmProjects\untitled17\venv\lib\site-packages\setuptools-40.8.0-py3.8.egg\setuptools\command\install.py", line 61, in run
      File "D:\python3.81\lib\distutils\command\install.py", line 545, in run
      self.run_command('build')
      File "D:\python3.81\lib\distutils\cmd.py", line 313, in run_command
      self.distribution.run_command(command)
      File "D:\python3.81\lib\distutils\dist.py", line 985, in run_command
      cmd_obj.run()
      File "D:\python3.81\lib\distutils\command\build.py", line 135, in run
      self.run_command(cmd_name)
      File "D:\python3.81\lib\distutils\cmd.py", line 313, in run_command
      self.distribution.run_command(command)
      File "D:\python3.81\lib\distutils\dist.py", line 985, in run_command
      cmd_obj.run()
      File "D:\python3.81\lib\distutils\command\build_ext.py", line 340, in run
      self.build_extensions()
      File "C:\Users\86189\AppData\Local\Temp\pip-install-fzawd_tj\Pillow\setup.py", line 694, in build_extensions
      raise RequiredDependencyException(f)
    __main__.RequiredDependencyException: zlib

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\86189\AppData\Local\Temp\pip-install-fzawd_tj\Pillow\setup.py", line 918, in <module>
      raise RequiredDependencyException(msg)
    __main__.RequiredDependencyException:

    The headers or library files could not be found for zlib,
    a required dependency when compiling Pillow from source.

    Please see the install instructions at:
       https://pillow.readthedocs.io/en/latest/installation.html



    ----------------------------------------
Command "C:\Users\86189\PycharmProjects\untitled17\venv\Scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\86189\\AppData\\Local\\Temp\\pip-install-fzawd_tj\\Pillow\\se
tup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\86189\AppData\Local\Temp\pip-
record-v1rqreby\install-record.txt --single-version-externally-managed --compile --install-headers C:\Users\86189\PycharmProjects\untitled17\venv\include\site\python3.8\Pillow" failed with err
or code 1 in C:\Users\86189\AppData\Local\Temp\pip-install-fzawd_tj\Pillow\

(venv) C:\Users\86189\PycharmProjects\untitled17>

˽¤Ï¤ê ·¢±íÓÚ 2020-7-4 13:09:51

(venv) C:\Users\86189\PycharmProjects\untitled17>python -m pip install Pillow -i https://pypi.tuna.tsinghua.edu.cn/simple
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting Pillow
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/3e/02/b09732ca4b14405ff159c470a612979acfc6e8645dc32f83ea0129709f7a/Pillow-7.2.0.tar.gz (39.1MB)
    100% |¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€¨€| 39.1MB 476kB/s
Installing collected packages: Pillow
Running setup.py install for Pillow ... error
    Complete output from command C:\Users\86189\PycharmProjects\untitled17\venv\Scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\86189\\AppData\\Local\\Temp\\pip-inst
all-fzawd_tj\\Pillow\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\86189
\AppData\Local\Temp\pip-record-v1rqreby\install-record.txt --single-version-externally-managed --compile --install-headers C:\Users\86189\PycharmProjects\untitled17\venv\include\site\python3.8
\Pillow:
    running install
    running build
    running build_py
    creating build
    creating build\lib.win32-3.8
    creating build\lib.win32-3.8\PIL
    copying src\PIL\BdfFontFile.py -> build\lib.win32-3.8\PIL
    copying src\PIL\BlpImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\BmpImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\BufrStubImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ContainerIO.py -> build\lib.win32-3.8\PIL
    copying src\PIL\CurImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\DcxImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\DdsImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\EpsImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ExifTags.py -> build\lib.win32-3.8\PIL
    copying src\PIL\features.py -> build\lib.win32-3.8\PIL
    copying src\PIL\FitsStubImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\FliImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\FontFile.py -> build\lib.win32-3.8\PIL
    copying src\PIL\FpxImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\FtexImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\GbrImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\GdImageFile.py -> build\lib.win32-3.8\PIL
    copying src\PIL\GifImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\GimpGradientFile.py -> build\lib.win32-3.8\PIL
    copying src\PIL\GimpPaletteFile.py -> build\lib.win32-3.8\PIL
    copying src\PIL\GribStubImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\Hdf5StubImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\IcnsImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\IcoImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\Image.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageChops.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageCms.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageColor.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageDraw.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageDraw2.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageEnhance.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageFile.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageFilter.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageFont.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageGrab.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageMath.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageMode.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageMorph.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageOps.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImagePalette.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImagePath.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageQt.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageSequence.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageShow.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageStat.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageTk.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageTransform.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImageWin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\ImtImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\IptcImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\Jpeg2KImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\JpegImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\JpegPresets.py -> build\lib.win32-3.8\PIL
    copying src\PIL\McIdasImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\MicImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\MpegImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\MpoImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\MspImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\PaletteFile.py -> build\lib.win32-3.8\PIL
    copying src\PIL\PalmImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\PcdImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\PcfFontFile.py -> build\lib.win32-3.8\PIL
    copying src\PIL\PcxImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\PdfImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\PdfParser.py -> build\lib.win32-3.8\PIL
    copying src\PIL\PixarImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\PngImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\PpmImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\PsdImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\PSDraw.py -> build\lib.win32-3.8\PIL
    copying src\PIL\PyAccess.py -> build\lib.win32-3.8\PIL
    copying src\PIL\SgiImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\SpiderImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\SunImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\TarIO.py -> build\lib.win32-3.8\PIL
    copying src\PIL\TgaImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\TiffImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\TiffTags.py -> build\lib.win32-3.8\PIL
    copying src\PIL\WalImageFile.py -> build\lib.win32-3.8\PIL
    copying src\PIL\WebPImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\WmfImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\XbmImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\XpmImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\XVThumbImagePlugin.py -> build\lib.win32-3.8\PIL
    copying src\PIL\_binary.py -> build\lib.win32-3.8\PIL
    copying src\PIL\_tkinter_finder.py -> build\lib.win32-3.8\PIL
    copying src\PIL\_util.py -> build\lib.win32-3.8\PIL
    copying src\PIL\_version.py -> build\lib.win32-3.8\PIL
    copying src\PIL\__init__.py -> build\lib.win32-3.8\PIL
    copying src\PIL\__main__.py -> build\lib.win32-3.8\PIL
    running egg_info
    writing src\Pillow.egg-info\PKG-INFO
    writing dependency_links to src\Pillow.egg-info\dependency_links.txt
    writing top-level names to src\Pillow.egg-info\top_level.txt
    reading manifest file 'src\Pillow.egg-info\SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no files found matching '*.c'
    warning: no files found matching '*.h'
    warning: no files found matching '*.sh'
    warning: no previously-included files found matching '.appveyor.yml'
    warning: no previously-included files found matching '.coveragerc'
    warning: no previously-included files found matching '.editorconfig'
    warning: no previously-included files found matching '.readthedocs.yml'
    warning: no previously-included files found matching 'codecov.yml'
    warning: no previously-included files matching '.git*' found anywhere in distribution
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*.so' found anywhere in distribution
    no previously-included directories found matching '.ci'
    writing manifest file 'src\Pillow.egg-info\SOURCES.txt'
    running build_ext


    The headers or library files could not be found for zlib,
    a required dependency when compiling Pillow from source.

    Please see the install instructions at:
       https://pillow.readthedocs.io/en/latest/installation.html

    Traceback (most recent call last):
      File "C:\Users\86189\AppData\Local\Temp\pip-install-fzawd_tj\Pillow\setup.py", line 864, in <module>
      setup(
      File "C:\Users\86189\PycharmProjects\untitled17\venv\lib\site-packages\setuptools-40.8.0-py3.8.egg\setuptools\__init__.py", line 145, in setup
      File "D:\python3.81\lib\distutils\core.py", line 148, in setup
      dist.run_commands()
      File "D:\python3.81\lib\distutils\dist.py", line 966, in run_commands
      self.run_command(cmd)
      File "D:\python3.81\lib\distutils\dist.py", line 985, in run_command
      cmd_obj.run()
      File "C:\Users\86189\PycharmProjects\untitled17\venv\lib\site-packages\setuptools-40.8.0-py3.8.egg\setuptools\command\install.py", line 61, in run
      File "D:\python3.81\lib\distutils\command\install.py", line 545, in run
      self.run_command('build')
      File "D:\python3.81\lib\distutils\cmd.py", line 313, in run_command
      self.distribution.run_command(command)
      File "D:\python3.81\lib\distutils\dist.py", line 985, in run_command
      cmd_obj.run()
      File "D:\python3.81\lib\distutils\command\build.py", line 135, in run
      self.run_command(cmd_name)
      File "D:\python3.81\lib\distutils\cmd.py", line 313, in run_command
      self.distribution.run_command(command)
      File "D:\python3.81\lib\distutils\dist.py", line 985, in run_command
      cmd_obj.run()
      File "D:\python3.81\lib\distutils\command\build_ext.py", line 340, in run
      self.build_extensions()
      File "C:\Users\86189\AppData\Local\Temp\pip-install-fzawd_tj\Pillow\setup.py", line 694, in build_extensions
      raise RequiredDependencyException(f)
    __main__.RequiredDependencyException: zlib

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\86189\AppData\Local\Temp\pip-install-fzawd_tj\Pillow\setup.py", line 918, in <module>
      raise RequiredDependencyException(msg)
    __main__.RequiredDependencyException:

    The headers or library files could not be found for zlib,
    a required dependency when compiling Pillow from source.

    Please see the install instructions at:
       https://pillow.readthedocs.io/en/latest/installation.html



    ----------------------------------------
Command "C:\Users\86189\PycharmProjects\untitled17\venv\Scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\86189\\AppData\\Local\\Temp\\pip-install-fzawd_tj\\Pillow\\se
tup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\86189\AppData\Local\Temp\pip-
record-v1rqreby\install-record.txt --single-version-externally-managed --compile --install-headers C:\Users\86189\PycharmProjects\untitled17\venv\include\site\python3.8\Pillow" failed with err
or code 1 in C:\Users\86189\AppData\Local\Temp\pip-install-fzawd_tj\Pillow\

(venv) C:\Users\86189\PycharmProjects\untitled17>

˽¤Ï¤ê ·¢±íÓÚ 2020-7-4 13:10:50

(venv) C:\Users\86189\PycharmProjects\untitled17>python -m pip install lxml -i https://pypi.tuna.tsinghua.edu.cn/simple
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting lxml
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/03/a8/73d795778143be51d8b86750b371b3efcd7139987f71618ad9f4b8b65543/lxml-4.5.1.tar.gz
Installing collected packages: lxml
Running setup.py install for lxml ... error
    Complete output from command C:\Users\86189\PycharmProjects\untitled17\venv\Scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\86189\\AppData\\Local\\Temp\\pip-inst
all-g9bq4a74\\lxml\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\86189\A
ppData\Local\Temp\pip-record-a345_hk1\install-record.txt --single-version-externally-managed --compile --install-headers C:\Users\86189\PycharmProjects\untitled17\venv\include\site\python3.8\l
xml:
    Building lxml version 4.5.1.
    Building without Cython.
    Building against pre-built libxml2 andl libxslt libraries
    running install
    running build
    running build_py
    creating build
    creating build\lib.win32-3.8
    creating build\lib.win32-3.8\lxml
    copying src\lxml\builder.py -> build\lib.win32-3.8\lxml
    copying src\lxml\cssselect.py -> build\lib.win32-3.8\lxml
    copying src\lxml\doctestcompare.py -> build\lib.win32-3.8\lxml
    copying src\lxml\ElementInclude.py -> build\lib.win32-3.8\lxml
    copying src\lxml\pyclasslookup.py -> build\lib.win32-3.8\lxml
    copying src\lxml\sax.py -> build\lib.win32-3.8\lxml
    copying src\lxml\usedoctest.py -> build\lib.win32-3.8\lxml
    copying src\lxml\_elementpath.py -> build\lib.win32-3.8\lxml
    copying src\lxml\__init__.py -> build\lib.win32-3.8\lxml
    creating build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\__init__.py -> build\lib.win32-3.8\lxml\includes
    creating build\lib.win32-3.8\lxml\html
    copying src\lxml\html\builder.py -> build\lib.win32-3.8\lxml\html
    copying src\lxml\html\clean.py -> build\lib.win32-3.8\lxml\html
    copying src\lxml\html\defs.py -> build\lib.win32-3.8\lxml\html
    copying src\lxml\html\diff.py -> build\lib.win32-3.8\lxml\html
    copying src\lxml\html\ElementSoup.py -> build\lib.win32-3.8\lxml\html
    copying src\lxml\html\formfill.py -> build\lib.win32-3.8\lxml\html
    copying src\lxml\html\html5parser.py -> build\lib.win32-3.8\lxml\html
    copying src\lxml\html\soupparser.py -> build\lib.win32-3.8\lxml\html
    copying src\lxml\html\usedoctest.py -> build\lib.win32-3.8\lxml\html
    copying src\lxml\html\_diffcommand.py -> build\lib.win32-3.8\lxml\html
    copying src\lxml\html\_html5builder.py -> build\lib.win32-3.8\lxml\html
    copying src\lxml\html\_setmixin.py -> build\lib.win32-3.8\lxml\html
    copying src\lxml\html\__init__.py -> build\lib.win32-3.8\lxml\html
    creating build\lib.win32-3.8\lxml\isoschematron
    copying src\lxml\isoschematron\__init__.py -> build\lib.win32-3.8\lxml\isoschematron
    copying src\lxml\etree.h -> build\lib.win32-3.8\lxml
    copying src\lxml\etree_api.h -> build\lib.win32-3.8\lxml
    copying src\lxml\lxml.etree.h -> build\lib.win32-3.8\lxml
    copying src\lxml\lxml.etree_api.h -> build\lib.win32-3.8\lxml
    copying src\lxml\includes\c14n.pxd -> build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\config.pxd -> build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\dtdvalid.pxd -> build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\etreepublic.pxd -> build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\htmlparser.pxd -> build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\relaxng.pxd -> build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\schematron.pxd -> build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\tree.pxd -> build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\uri.pxd -> build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\xinclude.pxd -> build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\xmlerror.pxd -> build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\xmlparser.pxd -> build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\xmlschema.pxd -> build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\xpath.pxd -> build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\xslt.pxd -> build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\__init__.pxd -> build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\etree_defs.h -> build\lib.win32-3.8\lxml\includes
    copying src\lxml\includes\lxml-version.h -> build\lib.win32-3.8\lxml\includes
    creating build\lib.win32-3.8\lxml\isoschematron\resources
    creating build\lib.win32-3.8\lxml\isoschematron\resources\rng
    copying src\lxml\isoschematron\resources\rng\iso-schematron.rng -> build\lib.win32-3.8\lxml\isoschematron\resources\rng
    creating build\lib.win32-3.8\lxml\isoschematron\resources\xsl
    copying src\lxml\isoschematron\resources\xsl\RNG2Schtrn.xsl -> build\lib.win32-3.8\lxml\isoschematron\resources\xsl
    copying src\lxml\isoschematron\resources\xsl\XSD2Schtrn.xsl -> build\lib.win32-3.8\lxml\isoschematron\resources\xsl
    creating build\lib.win32-3.8\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
    copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_abstract_expand.xsl -> build\lib.win32-3.8\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
    copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_dsdl_include.xsl -> build\lib.win32-3.8\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
    copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_schematron_message.xsl -> build\lib.win32-3.8\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
    copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_schematron_skeleton_for_xslt1.xsl -> build\lib.win32-3.8\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
    copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_svrl_for_xslt1.xsl -> build\lib.win32-3.8\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
    copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\readme.txt -> build\lib.win32-3.8\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
    running build_ext
    building 'lxml.etree' extension
    error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/

    ----------------------------------------
Command "C:\Users\86189\PycharmProjects\untitled17\venv\Scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\86189\\AppData\\Local\\Temp\\pip-install-g9bq4a74\\lxml\\setu
p.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\86189\AppData\Local\Temp\pip-re
cord-a345_hk1\install-record.txt --single-version-externally-managed --compile --install-headers C:\Users\86189\PycharmProjects\untitled17\venv\include\site\python3.8\lxml" failed with error c
ode 1 in C:\Users\86189\AppData\Local\Temp\pip-install-g9bq4a74\lxml\

˽¤Ï¤ê ·¢±íÓÚ 2020-7-4 19:25:54

Twilight6 ·¢±íÓÚ 2020-7-4 08:15
ÕâÑù¼´¿É£¬Ä㻹Ҫ°²×°µÄ¿â£º
PIL ͼƬ´¦Àí¿â£º



·Ç³£¸Ðл´óÀÐ µÄ´úÂë
¹ØÓÚ¿âÎÒ×Ô¼ºÔÚÍøÉÏÕÒµ½°²×°ºÃÁË

Twilight6 ·¢±íÓÚ 2020-7-4 19:26:17

˽¤Ï¤ê ·¢±íÓÚ 2020-7-4 19:25
·Ç³£¸Ðл´óÀÐ µÄ´úÂë
¹ØÓÚ¿âÎÒ×Ô¼ºÔÚÍøÉÏÕÒµ½°²×°ºÃÁË

ºÃ ~ Õæ°ô{:10_275:}

˽¤Ï¤ê ·¢±íÓÚ 2020-7-4 19:27:09

Twilight6 ·¢±íÓÚ 2020-7-4 08:15
ÕâÑù¼´¿É£¬Ä㻹Ҫ°²×°µÄ¿â£º
PIL ͼƬ´¦Àí¿â£º



Âé·³ÎÊÏÂ//div[@class="detailText"]/p/text()ÊÇʲôÒâ˼

Twilight6 ·¢±íÓÚ 2020-7-4 19:29:52

˽¤Ï¤ê ·¢±íÓÚ 2020-7-4 19:27
Âé·³ÎÊÏÂ//div[@class="detailText"]/p/text()ÊÇʲôÒâ˼

// Æ¥ÅäÈÎÒ⣬ div ½Úµã£¬[@class="detailText"] ÍøÒ³ÖÐ div½ÚµãµÄ class ÊôÐÔÖµ£¬/p ¾ÍÊÇÔÚÓµÓÐÕâ¸öÊôÐÔ div ½ÚµãÏ µÄ /p ½Úµã/text() ¾ÍÊÇ /p ½ÚµãϵÄÎı¾
Ò³: 1 [2] 3
²é¿´ÍêÕû°æ±¾: ·ÏÌú