ianchen-tw / invisible-hand Goto Github PK
View Code? Open in Web Editor NEWManage your Github Classroom 👊
Home Page: https://ianchen-tw.github.io/invisible-hand/
License: MIT License
Manage your Github Classroom 👊
Home Page: https://ianchen-tw.github.io/invisible-hand/
License: MIT License
因為有些腳本會反覆從 Github
上面 clone repo
在沒有儲存 git 密碼的情況下系統會多次要求使用者輸入 git 密碼
所以請使用:
git config --global credential.helper cache
儲存自己的 git 密碼後再執行腳本。
有關更多的選項,可以查閱 Git Credential Storage 來自行調整。
Why
Why you want to have this request
What
What do you want to achieve
Some imagined schemes to use this feature
<some imagined scripts to run>
Steps to implement this feature
yyzhong@ubuntu:~/invisible-hand$ poetry install
The lock file might not be compatible with the current version of Poetry.
Upgrade Poetry to ensure the lock file is read properly or, alternatively, regenerate the lock file with the `poetry lock` command.
Installing dependencies from lock file
[SolverProblemError]
The current project's Python requirement (3.8.2) is not compatible with some of the required packages Python requirement:
- dataclasses requires Python >=3.6, <3.7
Because no versions of pydantic match >1.7,<2.0
and pydantic (1.7) depends on dataclasses (>=0.6), pydantic (>=1.7,<2.0) requires dataclasses (>=0.6).
Because dataclasses (0.7) requires Python >=3.6, <3.7
and no versions of dataclasses match >=0.6,<0.7 || >0.7, dataclasses is forbidden.
Thus, pydantic is forbidden.
So, because invisible-hand depends on pydantic (^1.7), version solving failed.
example path: ~/.config/invisible-hand
使用hand patch-project時卡在(1/1) tmpl-hw0 cloning repo..
原因
是因為他正在讀你的 github 密碼,他要你輸入密碼,結果這個 prompt 被輸出蓋掉,然而 mac 會自動幫忙儲存密碼,導致 mac 以外的系統都會卡住
解決方法
試試看這個
or
操作前先下
$ git config --global credential.helper
跑這個指令的時候他就會在第一次輸入密碼後儲存你的密碼,之後 clone 其他 repo 時候就不會出現要問你密碼但卻卡死的問題了
client_secret.json
create config.toml
Why
Why you want to have this request
What
What do you want to achieve
Some imagined schemes to use this feature
<some imagined scripts to run>
Steps to implement this feature
In this exception, we should tell the user how to fix it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.