簡體   English   中英

Python package BeautifulSoup安裝錯誤

[英]Python package BeautifulSoup installation error

專業的... BeautifulSoup 安裝錯誤...ㅠㅠ我的windows環境是64位的..和python也是64位的,3.8.2版本幫助我

使用緩存的 BeautifulSoup-3.2.2.tar.gz 收集 BeautifulSoup (32 kB)

ERROR: Command errored out with exit status 1:
 command: 'C:\Users\hoyou\AppData\Local\Programs\Python\Python38\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\hoyou\\AppData\\Local\\Temp\\pycharm-packaging\\BeautifulSoup\\setup.py'"'"'; __file__='"'"'C:\\Users\\hoyou\\AppData\\Local\\Temp\\pycharm-packaging\\BeautifulSoup\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Public\Documents\ESTsoft\CreatorTemp\pip-pip-egg-info-j79vzovk'
     cwd: C:\Users\hoyou\AppData\Local\Temp\pycharm-packaging\BeautifulSoup\
Complete output (6 lines):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\hoyou\AppData\Local\Temp\pycharm-packaging\BeautifulSoup\setup.py", line 3
    "You're trying to run a very old release of Beautiful Soup under Python 3. This will not work."<>"Please use Beautiful Soup 4, available through the pip package 'beautifulsoup4'."
                                                                                                    ^
SyntaxError: invalid syntax
----------------------------------------

錯誤:命令出錯,退出狀態為 1:python setup.py egg_info 檢查日志以獲取完整命令 output。

You should consider Anaconda if you're running on Windows: https://docs.anaconda.com/anaconda/install/windows/ .

Beautifulsoup package: https://anaconda.org/anaconda/beautifulsoup4

package 管理比僅使用“香草”python 要容易得多。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM