The version of SageMath I use was recently updated to 8.3.
I use %attach.
When I update my source code I got the following error (I got no problem with my previous version).
How to solve this problem?
sage: 1 [main] python2.7 1512 child_info_fork::abort: unable to map C:\Users\Sébastien Palcoux\.sage\temp\LAPTOP-7O5https://mathoverflow.net/users/34538/sebastien-palcouxQV19T\14432\spyx\_home_sage_SAGE_3by3_spyx\_home_sage_SAGE_3by3_spyx_0.dll, Win32 error 126
### reloading attached file 3by3.spyx modified at 19:15:58 ###
Compiling /home/sage/SAGE/3by3.spyx...
---------------------------------------------------------------------------
EnvironmentError Traceback (most recent call last)
<ipython-input-4-5e6cb74ebb82> in <module>()
----> 1 sage.repl.load.load(sage.repl.load.base64.b64decode("L2hvbWUvc2FnZS9TQUdFLzNieTMuc3B5eA=="),globals(),True)
/opt/sagemath-8.3/local/lib/python2.7/site-packages/sage/repl/load.pyc in load(filename, globals, attach)
265 if attach:
266 add_attached_file(fpath)
--> 267 exec(load_cython(fpath), globals)
268 elif ext == '.f' or ext == '.f90':
269 from sage.misc.inline_fortran import fortran
/opt/sagemath-8.3/local/lib/python2.7/site-packages/sage/repl/load.pyc in load_cython(name)
65 """
66 from sage.misc.cython import cython
---> 67 mod, dir = cython(name, compile_message=True, use_cache=True)
68 import sys
69 sys.path.append(dir)
/opt/sagemath-8.3/local/lib/python2.7/site-packages/sage/misc/cython.pyc in cython(filename, verbose, compile_message, use_cache, create_local_c_file, annotate, sage_namespace, create_local_so_file)
612 try:
613 ext, = cythonize([ext],
--> 614 aliases=cython_aliases(),
615 include_path=includes,
616 quiet=(verbose <= 0),
/opt/sagemath-8.3/local/lib/python2.7/site-packages/sage/env.pyc in cython_aliases()
308 for lib in ['fflas-ffpack', 'givaro', 'gsl', 'linbox', 'Singular']:
309 var = lib.upper().replace("-", "") + "_"
--> 310 aliases[var + "CFLAGS"] = pkgconfig.cflags(lib).split()
311 pc = pkgconfig.parse(lib)
312 # INCDIR should be redundant because the -I options are also
/opt/sagemath-8.3/local/lib/python2.7/site-packages/pkgconfig/pkgconfig.pyc in cflags(package)
103 If ``pkg-config`` not on path, raises ``EnvironmentError``.
104 """
--> 105 return _query(package, '--cflags')
106
107
/opt/sagemath-8.3/local/lib/python2.7/site-packages/pkgconfig/pkgconfig.pyc in _wrapper(*args, **kwargs)
59 return func(*args, **kwargs)
60 except OSError:
---> 61 raise EnvironmentError("pkg-config is not installed")
62
63 return _wrapper
EnvironmentError: pkg-config is not installed