簡體   English   中英

python模塊安裝期間的語法錯誤

[英]Syntax error during python module installation

我想安裝 ClientForm 這是 python 模塊,但在安裝過程中出現此錯誤,有人可以幫助我嗎?

python -m pip install ClientForm
Collecting ClientForm
  Using cached ClientForm-0.2.10.tar.gz (104 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Users\paulo\anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\paulo\\AppData\\Local\\Temp\\pip-install-tava6mrg\\clientform\\setup.py'"'"'; __file__='"'"'C:\\Users\\paulo\\AppData\\Local\\Temp\\pip-install-tava6mrg\\clientform\\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\paulo\AppData\Local\Temp\pip-pip-egg-info-s3ag4apt'
         cwd: C:\Users\paulo\AppData\Local\Temp\pip-install-tava6mrg\clientform\
    Complete output (6 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\paulo\AppData\Local\Temp\pip-install-tava6mrg\clientform\setup.py", line 13
        False, True = 0, 1
        ^
    SyntaxError: cannot assign to False
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

ClientForm 上一次發布是在 2008年,與第一個 Python 3.0 發布同一天。 它被作者認為已放棄,轉而使用機械化包。

它與您嘗試安裝的 Python 3 版本不兼容。

查看機械化包。

暫無
暫無

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

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