cannot create system image
- Dominant language
- Python
- Stars
- 893
- Forks
- 101
- PR merge metrics
- No merged PRs in 30d
Description
To counter the problem of statically linked Python, I tried to compile the custom system image, however, got this just now
```
Fatal Python error: initsite: Failed to import the site module
Traceback (most recent call last):
File "/home/redbq/Software/Anaconda/lib/python3.7/site.py", line 168, in addpackage
exec(line)
File "", line 1, in
File "/home/redbq/Software/Anaconda/lib/python3.7/importlib/util.py", line 14, in
from contextlib import contextmanager
File "/home/redbq/Software/Anaconda/lib/python3.7/contextlib.py", line 5, in
from collections import deque
File "/home/redbq/Software/Anaconda/lib/python3.7/collections/__init__.py", line 24, in
import heapq as _heapq
File "/home/redbq/Software/Anaconda/lib/python3.7/heapq.py", line 587, in
from _heapq import *
SystemError: initialization of _heapq did not return an extension module
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/redbq/Software/Anaconda/lib/python3.7/site.py", line 586, in
main()
File "/home/redbq/Software/Anaconda/lib/python3.7/site.py", line 573, in main
known_paths = addsitepackages(known_paths)
File "/home/redbq/Software/Anaconda/lib/python3.7/site.py", line 349, in addsitepackages
addsitedir(sitedir, known_paths)
File "/home/redbq/Software/Anaconda/lib/python3.7/site.py", line 207, in addsitedir
addpackage(sitedir, name, known_paths)
File "/home/redbq/Software/Anaconda/lib/python3.7/site.py", line 178, in addpackage
import traceback
File "/home/redbq/Software/Anaconda/lib/python3.7/traceback.py", line 3, in
import collections
File "/home/redbq/Software/Anaconda/lib/python3.7/collections/__init__.py", line 24, in
import heapq as _heapq
File "/home/redbq/Software/Anaconda/lib/python3.7/heapq.py", line 587, in
from _heapq import *
SystemError: initialization of _heapq did not return an extension module
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.