This repository was archived by the owner on Oct 29, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 46
SageMath kernel folder not found while installing it to Jupyter environment #63
Copy link
Copy link
Open
Description
I was recently trying to install SageMath kernel into the global version of Jupyter using this command,
jupyter kernelspec install $SAGE_ROOT\local\share\jupyter\kernels\sagemath
Where $SAGE_ROOT is the default installation prefix of Sage. However, the above gave the error:
Traceback (most recent call last):
File "c:\users\booodaness\appdata\local\programs\python\python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\booodaness\appdata\local\programs\python\python39\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\Booodaness\AppData\Local\Programs\Python\Python39\Scripts\jupyter-kernelspec.EXE\__main__.py", line 7, in <module>
File "c:\users\booodaness\appdata\local\programs\python\python39\lib\site-packages\traitlets\config\application.py", line 845, in launch_instance
app.start()
File "c:\users\booodaness\appdata\local\programs\python\python39\lib\site-packages\jupyter_client\kernelspecapp.py", line 266, in start
return self.subapp.start()
File "c:\users\booodaness\appdata\local\programs\python\python39\lib\site-packages\jupyter_client\kernelspecapp.py", line 132, in start
self.kernel_spec_manager.install_kernel_spec(self.sourcedir,
File "c:\users\booodaness\appdata\local\programs\python\python39\lib\site-packages\jupyter_client\kernelspec.py", line 340, in install_kernel_spec
shutil.copytree(source_dir, destination)
File "c:\users\booodaness\appdata\local\programs\python\python39\lib\shutil.py", line 555, in copytree
with os.scandir(src) as itr:
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Program'
Jupyter and SageMath are installed properly on my system (Windows 10). Just in case this helps, the version of Sage installed on my system is 9.1. There were some plotting issues in more recent versions, so this was the best I could do for now, as an amateur.
How do I fix this error?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels