error in python3.7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python3.6 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/
from apport.report import Report
File "/usr/lib/
import subprocess, tempfile, os.path, re, pwd, grp, os, time
File "/usr/lib/
from random import Random as _Random
File "/home/
from random import randint
ImportError: cannot import name 'randint' from 'random' (/home/
Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately, we cannot work on this bug because your description didn't include enough information. You may find it helpful to read "How to report bugs effectively" http:// www.chiark. greenend. org.uk/ ~sgtatham/ bugs.html. We'd be grateful if you would then provide a more complete description of the problem.
We have instructions on debugging some types of problems at http:// wiki.ubuntu. com/DebuggingPr ocedures.
At a minimum, we need:
1. The specific steps or actions you took that caused you to encounter the problem.
2. The behavior you expected.
3. The behavior you actually encountered (in as much detail as possible).
Thanks!
In any case, /home/please/ Desktop/ random. py seems to be causing interference with apport. Maybe you could rename that file to something else?