Giter Site home page Giter Site logo

Comments (7)

DeaglePC avatar DeaglePC commented on September 26, 2024

进入项目根目录执行:

alias python=python3

或者

sed -i "s/python/python3/" cc_auto_check_in.sh

from cordcloud-check-in.

qoli avatar qoli commented on September 26, 2024

我已經把 SH 修改成 py3 的。
後來把 py 3.5 更新到 3.7.3 後無語法錯誤了。

from cordcloud-check-in.

DeaglePC avatar DeaglePC commented on September 26, 2024

这是3.6的语法,如果是3.7不可能报错的

from cordcloud-check-in.

DeaglePC avatar DeaglePC commented on September 26, 2024

或者把

    self._server_url = f"https://sc.ftqq.com/{key}.send"

换成

    self._server_url = f"https://sc.ftqq.com/{}.send".format(key)

from cordcloud-check-in.

qoli avatar qoli commented on September 26, 2024

所以你考慮更新源碼,支持 3.5 嗎?
debian 的 apt install py 是 3.5 的。
3.7.x 需要編譯安裝。

from cordcloud-check-in.

DeaglePC avatar DeaglePC commented on September 26, 2024

所以你考慮更新源碼,支持 3.5 嗎?
debian 的 apt install py 是 3.5 的。
3.7.x 需要編譯安裝。

sudo apt-get install python3.7 这样也可以的

from cordcloud-check-in.

qoli avatar qoli commented on September 26, 2024

真的嗎?沒發現呢。謝謝喔。

from cordcloud-check-in.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.