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

[Python3] #1052 ImportError: cannot import name 'main' #1053

Merged
merged 3 commits into from
Apr 8, 2020
Merged

[Python3] #1052 ImportError: cannot import name 'main' #1053

merged 3 commits into from
Apr 8, 2020

Conversation

Sirfanas
Copy link
Contributor

@Sirfanas Sirfanas commented Apr 8, 2020

Original Issue is: ImportError: cannot import name 'main' #1052

This is the fix I show on this post

@Sirfanas Sirfanas changed the title #1052 ImportError: cannot import name 'main' [Python3] #1052 ImportError: cannot import name 'main' Apr 8, 2020
Dockerfile Outdated
RUN pip3 install --user Cython==0.28.6 ${SRC_DIR}
RUN pip3 install --user wheel Cython==0.28.6 ${SRC_DIR}

RUN python3 -m pip install -U pip virtualenv
Copy link
Member

Choose a reason for hiding this comment

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

Thanks for the PR, and why the inconsistency one time with pip3 install and the other time python3 -m pip install?

Copy link
Contributor Author

@Sirfanas Sirfanas Apr 8, 2020

Choose a reason for hiding this comment

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

Just a reflex I have to use python3 -m pip
I change the line into pip3

@brvier
Copy link

brvier commented Apr 8, 2020

I confirm also the workarround.

Dockerfile Outdated Show resolved Hide resolved
Co-Authored-By: Andre Miras <[email protected]>
Copy link
Member

@AndreMiras AndreMiras left a comment

Choose a reason for hiding this comment

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

LGTM thanks

@AndreMiras AndreMiras merged commit 916dc6b into kivy:master Apr 8, 2020
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.

3 participants