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

email cannot be imported #45973

Closed
Wubbulous mannequin opened this issue Dec 15, 2007 · 6 comments
Closed

email cannot be imported #45973

Wubbulous mannequin opened this issue Dec 15, 2007 · 6 comments
Labels
stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@Wubbulous
Copy link
Mannequin

Wubbulous mannequin commented Dec 15, 2007

BPO 1632
Nosy @gvanrossum, @brettcannon, @amauryfa

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2007-12-18.19:31:34.824>
created_at = <Date 2007-12-15.03:55:52.698>
labels = ['invalid', 'type-bug', 'library']
title = 'email cannot be imported'
updated_at = <Date 2007-12-18.19:31:34.822>
user = 'https://bugs.python.org/Wubbulous'

bugs.python.org fields:

activity = <Date 2007-12-18.19:31:34.822>
actor = 'gvanrossum'
assignee = 'none'
closed = True
closed_date = <Date 2007-12-18.19:31:34.824>
closer = 'gvanrossum'
components = ['Library (Lib)']
creation = <Date 2007-12-15.03:55:52.698>
creator = 'Wubbulous'
dependencies = []
files = []
hgrepos = []
issue_num = 1632
keywords = []
message_count = 6.0
messages = ['58652', '58657', '58679', '58681', '58686', '58757']
nosy_count = 4.0
nosy_names = ['gvanrossum', 'brett.cannon', 'amaury.forgeotdarc', 'Wubbulous']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = None
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue1632'
versions = ['Python 2.5']

@Wubbulous
Copy link
Mannequin Author

Wubbulous mannequin commented Dec 15, 2007

Python will not load the email module or any of its child modules.

@Wubbulous Wubbulous mannequin added stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error labels Dec 15, 2007
@brettcannon
Copy link
Member

More detail is needed than this in order to try to fix this. What error
message are you getting? What OS? What exact version of Python? Is
this a binary distro or a source one?

Since all releases are thoroughly tested and never had any import issues
with the email code chances are there is a problem with your environment
and not Python.

@brettcannon brettcannon changed the title email email cannot be imported Dec 15, 2007
@Wubbulous
Copy link
Mannequin Author

Wubbulous mannequin commented Dec 16, 2007

I have attempted the following separately: import email import
email.Utils import email.utils

they each return the error:
Traceback (most recent call last):

File "C:\Panda3D-1.4.2\python\lib\smtplib.py", line 49, in ?
from email.base64MIME import encode as encode_base64
ImportError: No module named base64MIME

@brettcannon
Copy link
Member

I just noticed that the directory you are executing from is Panda3D.
Did you not download Python directly but are using the one from Panda3D?

@amauryfa
Copy link
Member

But the email package does not import smtplib (the dependency is the
other way). Can you please try with the command:
import email
and paste the whole traceback?

@gvanrossum
Copy link
Member

Let's not waste time in the bug tracker debugging some user's broken
setup. Let him contact Panda3D's customer support.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

4 participants