Skip to content

Commit 5ec3fcd

Browse files
committed
fix: 修复 pywhisker 安装过程中的 pip 命令,改用 python3 -m pip 安装
1 parent f8b43c0 commit 5ec3fcd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

f8x

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6117,7 +6117,7 @@ Pentest_pywhisker_Install(){
61176117
Echo_ALERT "$name is already installed in $dir"
61186118
else
61196119
$Proxy_OK git clone --depth 1 ${GitProxy}https://github.com/ShutdownRepo/pywhisker.git $dir > /dev/null 2>&1 && Echo_INFOR "Downloaded $name in the $dir" || Echo_ERROR "Failed to download $name from github"
6120-
cd $dir && pip3 install . ${pip_option} 2>/dev/null
6120+
cd $dir && python3 -m pip install . ${pip_option} 2>/dev/null
61216121
which pywhisker > /dev/null 2>&1 && Echo_INFOR "Successfully installed $name to PATH" || {
61226122
chmod +x $dir/pywhisker/pywhisker.py 2>/dev/null
61236123
ln -sf $dir/pywhisker/pywhisker.py /usr/local/bin/pywhisker 2>/dev/null

0 commit comments

Comments
 (0)