Skip to content

Conversation

@JiayiFeng
Copy link
Collaborator

close #9330

@JiayiFeng JiayiFeng requested a review from shanyi15 March 29, 2018 08:08
9. 在Mac上无法安装numpy等Python包,权限错误
------------------

Mac上对自带的Python和包有严格的权限保护,最好不要在自带的Python上安装。建议用virtualenv建立一个新的Python环境来操作。
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

感谢佳宜的这个PR。说的非常清楚。

我有一个担心:目前这个阶段,人力并不足的时候,是不是应该简化为提示用户使用Docker呢?等到秋天的时候,再来支持Docker之外的应用?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

王叔说得很对,用docker确实是一种统一的解决手段。

针对这个PR,我看到用户群里经常有用户在问Mac上numpy包安装或者其他类似的很简单问题,它们的解决方案很简单,几句话就可以说完。如果向他们推荐docker的话,因为提出这些问题的经常是初级用户,甚至对pip都不太熟悉,帮助他们理解和使用docker很可能会花费我们更多的时间。所以有时候我们还是会选择直接给出解决方案。

当然,对于稍微复杂一些的问题,解决它们的成本很可能就超过了教用户docker的成本,这时候选择docker是毫无疑问的。

shanyi15
shanyi15 previously approved these changes Mar 30, 2018
Copy link
Collaborator

@shanyi15 shanyi15 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Collaborator

@shanyi15 shanyi15 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

执行后会发现命令提示符前面增加了(paddle)字样,说明已经成功启动了名为‘paddle’的Python环境。执行which python,可以发现使用的已经是刚刚创建的paddle目录下的Python。

在这个环境中,我们可以可以自由地进行Paddle的安装、使用和开发工作,无需担心对系统自带Python的影响。
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里有两个“可以”

@shanyi15 shanyi15 merged commit 5a8b05f into PaddlePaddle:develop Mar 30, 2018
@JiayiFeng JiayiFeng deleted the update_faq branch March 30, 2018 06:16
mikeseven added a commit to mikeseven/Paddle that referenced this pull request Mar 30, 2018
* commit '33b8b3d22034423455a493712955e419aac7b19b': (251 commits)
  Remove redundant commands in build.sh and build_doc.sh
  Add dependencies
  Move v2/api/fluid to fluid/api and Adjust doc build commands
  Plain LRN op throws an exception when is_test is set in backward pass
  fix compiler error of profiler_test in ONLY_CPU mode
  fix server shutdown
  Translation for Model Configuration (PaddlePaddle#9513)
  Fix data transform when inplace (PaddlePaddle#9450)
  refine parallel
  add FAQ (PaddlePaddle#9494)
  Fix dist error with lr decay layer (PaddlePaddle#9489)
  add prefetch_op (PaddlePaddle#9495)
  Fix some errors (PaddlePaddle#9403)
  hookup WITH_FLUID_ONLY in TeamCity build.sh (PaddlePaddle#9509)
  Fix the order of reads and write from buffered channel  (PaddlePaddle#9423)
  change WITH_FLUID to WITH_FLUID_ONLY (PaddlePaddle#9427)
  fix block num
  Revert "make append activation in place by default (PaddlePaddle#9417)"
  Speed/sequence op1 (PaddlePaddle#9217)
  fix a compile error
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update FAQ-编译安装与单元测试

3 participants