程序员最近都爱上了这个网站  程序员们快来瞅瞅吧!  it98k网:it98k.com

本站消息

站长简介/公众号

  出租广告位,需要合作请联系站长

+关注
已关注

分类  

暂无分类

标签  

暂无标签

日期归档  

暂无数据

How can I solve the overwrite error when downloading exercism.io exercises?

发布于2025-01-05 09:15     阅读(153)     评论(0)     点赞(29)     收藏(2)


I signed up on exercism.io and wanted to download the first exercise into my GitHub repository folder. After installing the Exercism CLI and entering my token, I used the following command to download the exercise into the repository folder:

exercism download --track=python --exercise=hello-world

However, I encountered the following error:

Error: directory 'C:\Users\MJ\Exercism\python\hello-world' already exists, use --force to overwrite

When I added --force to the command, I got another error:

Error: Get "https://api.exercism.org/v1/solutions/latest?exercise_id=hello-world&track_id=python": EOF

How can I successfully download this exercise into my GitHub repository folder?


解决方案


You can easily clone a GitHub repository into the folder where Exercism downloads its exercises. Since Git interactions are managed through the .git folder inside the project, you can safely rename the folder to "exercism." From this point onward, Exercism exercises will be downloaded into this directory.



所属网站分类: 技术文章 > 问答

作者:黑洞官方问答小能手

链接:https://www.pythonheidong.com/blog/article/2046781/1e0aafc812b08f11476c/

来源:python黑洞网

任何形式的转载都请注明出处,如有侵权 一经发现 必将追究其法律责任

29 0
收藏该文
已收藏

评论内容:(最多支持255个字符)