续路径如下 #233

Open
opened 2024-10-19 15:51:03 +08:00 by LIN · 3 comments

同学,你在路径下运行一下dir或者ls -l命令,再截图一下,确认一下当前的运行目录。

Originally posted by @x in #231 (comment)

同学,你在路径下运行一下dir或者ls -l命令,再截图一下,确认一下当前的运行目录。 _Originally posted by @x in https://hsw-git.huishiwei.cn/HswOAuth/llm_course/issues/231#issuecomment-245_
Author

路劲如下,是用的wsl和直接虚拟机的格式好像不太一样

路劲如下,是用的wsl和直接虚拟机的格式好像不太一样

同学,你之前都没有cd到Chinese-LLaMA-Alpaca-3-3.0目录运行命令哈,你在root目录下面运行的,root下面没有requirements.txt文件,现在在你截图的这里运行命令就行。

pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple
-r requirements.txt:
-r 是一个选项,表示从一个文件中读取要安装的包列表。
requirements.txt 是一个文件,通常列出了项目所需的所有 Python 包及其版本。(所以要在包含requirements.txt的目录下运行命令,或者你要清楚requirements.txt的路径信息)
-i https://mirrors.aliyun.com/pypi/simple:
-i 是一个选项,用于指定镜像源(Index URL)。
https://mirrors.aliyun.com/pypi/simple 是阿里云的 PyPI 镜像地址,在国内地区可能会更快。

QQ20241019-144614.png

同学,你之前都没有cd到Chinese-LLaMA-Alpaca-3-3.0目录运行命令哈,你在root目录下面运行的,root下面没有requirements.txt文件,现在在你截图的这里运行命令就行。 ``` pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple -r requirements.txt: -r 是一个选项,表示从一个文件中读取要安装的包列表。 requirements.txt 是一个文件,通常列出了项目所需的所有 Python 包及其版本。(所以要在包含requirements.txt的目录下运行命令,或者你要清楚requirements.txt的路径信息) -i https://mirrors.aliyun.com/pypi/simple: -i 是一个选项,用于指定镜像源(Index URL)。 https://mirrors.aliyun.com/pypi/simple 是阿里云的 PyPI 镜像地址,在国内地区可能会更快。 ``` ![QQ20241019-144614.png](/attachments/74a0cba9-ab03-4980-bbbc-6e42b72430a9)
Author

哦哦好的谢谢老师

哦哦好的谢谢老师
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: HswOAuth/llm_course#233
No description provided.