neolee / pilot

进入编程世界的第一课
589 stars 842 forks source link

scoop 配置异常 #1345

Open liang-light opened 4 years ago

liang-light commented 4 years ago

老师你好,我在配置scoop的时候报错了,而且没法解决,请帮忙看看 PS C:\Users\Tracy> iwr -useb get.scoop.sh | iex iwr : 未能解析此远程名称: 'raw.githubusercontent.com' 所在位置 行:1 字符: 1

PS C:\Users\Tracy> scoop checkup scoop : 无法将“scoop”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果 包括路径,请确保路径正确,然后再试一次。 所在位置 行:1 字符: 1

PS C:\Users\Tracy> scoop list scoop : 无法将“scoop”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果 包括路径,请确保路径正确,然后再试一次。 所在位置 行:1 字符: 1

neolee commented 4 years ago

Scoop 没装成功。

Denny-Huang commented 4 years ago

我也是一样的,无法安装成功,试了几天,是不是家里网络问题?

Denny-Huang commented 4 years ago

7月4日就要开课了,还没配置好,按视频的方法也没能成功,Windows Terminal也不能再MS Store商店购买,说是因为中国区域

neolee commented 4 years ago

@Denny-Huang 不要在别人的问题下问自己的问题。点击课程目录里“课程相关资源”里的答疑链接去提问。

Denny-Huang commented 4 years ago

好的

liang-light commented 4 years ago

老师,安装scoop后还是有问题。请帮忙看看怎么处理 PS C:\Users\Tracy> scoop list Installed apps:

7zip failed

PS C:\Users\Tracy> scoop install git Scoop uses Git to update itself. Run 'scoop install git' and try again. Installing 'git' (2.27.0.windows.1) [64bit] Loading PortableGit-2.27.0-64-bit.7z.exe from cache Checking hash of PortableGit-2.27.0-64-bit.7z.exe ... ok. Extracting dl.7z ... Invoke-ExternalCommand : 无法对参数“FilePath”执行参数验证。参数为 Null 或空。请提供一个不 为 Null 或空的参数,然后重试该命令。 所在位置 C:\Users\Tracy\scoop\apps\scoop\current\lib\decompress.ps1:81 字符: 38

git : 无法将“git”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果 包括路径,请确保路径正确,然后再试一次。 所在位置 行:1 字符: 1

Failed to extract files from C:\Users\Tracy\scoop\apps\git\2.27.0.windows.1\dl.7z. Log file: ~\scoop\apps\git\2.27.0.windows.1\7zip.log

Please try again or create a new issue by using the following link and paste your console output: https://// scoop安装问题

liang-light commented 4 years ago

我的错,我再按“Scoop 相关疑难”好好试一下

liang-light commented 4 years ago

老师,我再执行 git clone https://github.com/liang-light/pilot-student.git 的过程中,错误关闭了ConEmu窗口,我担心pilot-student上还有很多没有clone过来,应该怎么处理? 再执行git clone https://github.com/liang-light/pilot-student.git时会提示 git clone pilot-stedent

fatal: destination path 'pilot-student' already exists and is not an empty directory.

neolee commented 4 years ago

把 pilot-student 目录删掉再重新克隆就行了。

JyunkaiWang commented 3 years ago

右键以管理员身份运行ConEmu即可

zjf0280 commented 3 years ago

请问您后来是怎么解决的?谢谢!