簡體   English   中英

Pip 在archlinux上不起作用 python 3.10 錯誤

[英]Pip does not work python 3.10 error on archlinux

當我嘗試使用 pip/pip3 安裝一些軟件包時,每次獲得幫助時都會出現此錯誤?

pip install cryptography

Defaulting to user installation because normal site-packages is not writeable
ERROR: Exception:
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 167, in exc_logging_wrapper
    status = run_func(*args)
....
  File "/usr/lib/python3.10/site-packages/pygoogle/google.py", line 113
    print """PyGoogle %(__version__)s
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

嘗試卸載 python,而不是安裝 python3 和 python3-pip,然后使用pip3 install cryptography

暫無
暫無

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

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