“ sudo pip install frida –upgrade –ignore-installed六”错误如何解决该错误

时间:2018-07-09 10:01:43

标签: pip frida

Password:
The directory '/Users/allin/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/Users/allin/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Invalid requirement: '–upgrade'
Traceback (most recent call last):
  File "/Library/Python/2.7/site-packages/pip/_internal/req/req_install.py", line 252, in from_line
    req = Requirement(req)
  File "/Library/Python/2.7/site-packages/pip/_vendor/packaging/requirements.py", line 97, in __init__
    requirement_string[e.loc:e.loc + 8]))
InvalidRequirement: Invalid requirement, parse error at "'\xe2\x80\x93upgra'"

error image

1 个答案:

答案 0 :(得分:1)

正确的命令是

sudo pip install frida --upgrade --ignore-installed six

即使用双减号,而不是em / en-破折号。不要在不了解网页的情况下盲目复制命令。