Code Monkey home page Code Monkey logo

Comments (5)

xiaoweiChen avatar xiaoweiChen commented on July 27, 2024

并不是,这本书我是花钱在亚马逊上买了电子版的。
我这有很多免费版本,或多或少的都有内容遗漏。
环境配置并不是本书重点,有了cmake的环境能将后续章节的东西运行起来就可以了。

from cmake-cookbook.

ichdream avatar ichdream commented on July 27, 2024

并不是,这本书我是花钱在亚马逊上买了电子版的。
我这有很多免费版本,或多或少的都有内容遗漏。
环境配置并不是本书重点,有了cmake的环境能将后续章节的东西运行起来就可以了。

了解,在第0章0.2 Docker镜像里面,有个命令“pipenv install --three” 这个是什么意思?
我尝试着运行,发现有错误,我猜测是要创建个单独的虚拟python 3环境吧,那是不是应该是“pipenv --three”
原谅我pipenv不是很熟悉,一般用conda pip 或者 自己改路径。

另外,我建议关于docker环境就不要用pienv管理了,感觉pipenv不是很方便,毕竟docker已经实现了环境隔离,可以一个docker一个python环境版本,这里直接用pip就好了。

最后,想表达下环境也很重要,环境配置好是地基,以免到后期做实验时出现错误,不好统一定位问题。

thanks。

from cmake-cookbook.

xiaoweiChen avatar xiaoweiChen commented on July 27, 2024

哈哈,理解你的困惑。这里没必要一定要使用pipenv进行操作,可以使用你更习惯的pip或conda install就好。也可以基于做的做好的docker,或自己做一个适合自己使用的docker。
因为这段的确是原书的内容,所以我也没想去修改,就直接粘出来,给大家看了。
原书中没有第0章,而是给了一些准备工作的介绍。我翻译的时候,为了方便整理,就将这些内容整合到了一个章节当中,命名为第0章。

from cmake-cookbook.

xiaoweiChen avatar xiaoweiChen commented on July 27, 2024

嗯,不同的人也有不同习惯,也许作者有很多Python环境,他用pipenv进行隔离管理。
你对pipenv不熟悉,也许别人有熟悉的,对吧。看该书的人应该不止你一人。
环境固然重要啦,但更重要的是对一些用法的理解。这样才能做到不管环境怎么变,你都能如何去做想做的事,并且出问题了,也知道问题在哪,对吧。

from cmake-cookbook.

ichdream avatar ichdream commented on July 27, 2024

哈哈,理解你的困惑。这里没必要一定要使用pipenv进行操作,可以使用你更习惯的pip或conda install就好。也可以基于做的做好的docker,或自己做一个适合自己使用的docker。
因为这段的确是原书的内容,所以我也没想去修改,就直接粘出来,给大家看了。
原书中没有第0章,而是给了一些准备工作的介绍。我翻译的时候,为了方便整理,就将这些内容整合到了一个章节当中,命名为第0章。

原来如此,感谢分享,赞一个👍

from cmake-cookbook.

Related Issues (8)

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.