[Bug 1799120] [NEW] error in python3.7
Mr. Please
1799120 at bugs.launchpad.net
Mon Oct 22 05:30:34 UTC 2018
Public bug reported:
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 12, in <module>
import subprocess, tempfile, os.path, re, pwd, grp, os, time
File "/usr/lib/python3.7/tempfile.py", line 184, in <module>
from random import Random as _Random
File "/home/please/Desktop/random.py", line 1, in <module>
from random import randint
ImportError: cannot import name 'randint' from 'random' (/home/please/Desktop/random.py)
** Affects: python3.6 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python3.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1799120
Title:
error in python3.7
Status in python3.6 package in Ubuntu:
New
Bug description:
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 12, in <module>
import subprocess, tempfile, os.path, re, pwd, grp, os, time
File "/usr/lib/python3.7/tempfile.py", line 184, in <module>
from random import Random as _Random
File "/home/please/Desktop/random.py", line 1, in <module>
from random import randint
ImportError: cannot import name 'randint' from 'random' (/home/please/Desktop/random.py)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.6/+bug/1799120/+subscriptions
More information about the foundations-bugs
mailing list