Skip to content
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

fix docker build #1234

Merged
merged 1 commit into from
Jan 27, 2017
Merged

fix docker build #1234

merged 1 commit into from
Jan 27, 2017

Conversation

helinwang
Copy link
Contributor

@helinwang helinwang commented Jan 26, 2017

I am getting following error without this commit when doing docker build -t paddle -f paddle/scripts/docker/Dockerfile .

File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/setuptools/init.py", line 12, in
import setuptools.version
File "/usr/local/lib/python2.7/dist-packages/setuptools/version.py", line 1, in
import pkg_resources
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 70, in
import packaging.version
ImportError: No module named packaging.version

No idea why this change fix the problem, but it does fix.

I am getting following error without this commit when doing docker build.

  File "<string>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/setuptools/__init__.py", line 12, in <module>
    import setuptools.version
  File "/usr/local/lib/python2.7/dist-packages/setuptools/version.py", line 1, in <module>
    import pkg_resources
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 70, in <module>
    import packaging.version
ImportError: No module named packaging.version

No idea why this change fix the problem, but it does fix.
Copy link
Collaborator

@wangkuiyi wangkuiyi left a comment

Choose a reason for hiding this comment

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

LGTM

@helinwang helinwang merged commit fa9c623 into PaddlePaddle:develop Jan 27, 2017
@helinwang helinwang deleted the fix_docker branch January 27, 2017 02:19
zhhsplendid pushed a commit to zhhsplendid/Paddle that referenced this pull request Sep 25, 2019
* Update chinese doc of layers.sums.
test=develop
test=document_preview

* Add more examples and more detail imformation of output.
test=develop
test=document_preview

* Refine the format.
test=develop
test=document_preview

* Refine the comment in example codes.
test=develop
test=document_preview

* Refine the introduce of out.
test=develop
test=document_preview

* Refine the introduction of out.
test=develop
test=document_preview
wangxicoding pushed a commit to wangxicoding/Paddle that referenced this pull request Dec 9, 2021
Co-authored-by: Zeyu Chen <chenzeyu01@baidu.com>
lizexu123 pushed a commit to lizexu123/Paddle that referenced this pull request Feb 23, 2024
* Update HuggingFace Demo / BS=40Speed

* Update HuggingFace Demo / BS=40Speed

* Update HuggingFace Demo / BS=40Speed

* Update HuggingFace Demo / BS=40Speed

* Update HuggingFace Demo / BS=40Speed
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.

None yet

2 participants