cannot create system image
See original GitHub issueTo 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 "<string>", line 1, in <module>
File "/home/redbq/Software/Anaconda/lib/python3.7/importlib/util.py", line 14, in <module>
from contextlib import contextmanager
File "/home/redbq/Software/Anaconda/lib/python3.7/contextlib.py", line 5, in <module>
from collections import deque
File "/home/redbq/Software/Anaconda/lib/python3.7/collections/__init__.py", line 24, in <module>
import heapq as _heapq
File "/home/redbq/Software/Anaconda/lib/python3.7/heapq.py", line 587, in <module>
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 <module>
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 <module>
import collections
File "/home/redbq/Software/Anaconda/lib/python3.7/collections/__init__.py", line 24, in <module>
import heapq as _heapq
File "/home/redbq/Software/Anaconda/lib/python3.7/heapq.py", line 587, in <module>
from _heapq import *
SystemError: initialization of _heapq did not return an extension module
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Can't create system image backup in Windows 10 - Internal error
Right click This PC, click on Manage · Then click on Services and Applications and go to Services: · Find Windows Backup and...
Read more >[5 Ways] Fix System Image Backup Failed in Windows 11/10 ...
Press Windows + X key to open a command prompt. Then type “SFC /SCANNOW” (without quotes) and press Enter. This will fix this...
Read more >Windows 10: Cannot create system image backup
Cannot create system image backup · Press Windows + R keys, type services. · In the services window, locate the services. File history...
Read more >[FIXED] How To Resolve System Backup Failed on Windows ...
Sometimes, you cannot create system backup due to the previous backup files present on your computer. So, in order to fix the system...
Read more >Windows 10 backup not working/ system image fails [FIXED]
Delete the WindowsImageBackup folder ; Format your external hard drive; Use a third-party backup tool; Delete EFI System Partition and Recovery ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I am having exactly the same problem. Removed the precompilation files as suggested above, but this did not help. Also removed the whole ~/.julia and started from scratch, but got the same error.
Works now for me in version 0.5.0, problem was in former version.