-
Notifications
You must be signed in to change notification settings - Fork 5.9k
add FAQ #9494
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add FAQ #9494
Conversation
| 9. 在Mac上无法安装numpy等Python包,权限错误 | ||
| ------------------ | ||
|
|
||
| Mac上对自带的Python和包有严格的权限保护,最好不要在自带的Python上安装。建议用virtualenv建立一个新的Python环境来操作。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
感谢佳宜的这个PR。说的非常清楚。
我有一个担心:目前这个阶段,人力并不足的时候,是不是应该简化为提示用户使用Docker呢?等到秋天的时候,再来支持Docker之外的应用?
There was a problem hiding this comment.
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
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
shanyi15
left a comment
There was a problem hiding this 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的影响。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里有两个“可以”
* 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 ...
close #9330