Ask Your Question
1

Error installing Jupyterlab in macOS

asked 4 years ago

Juanjo gravatar image

updated 4 years ago

FrédéricC gravatar image

On macOS, with SageMath 9.2 installed via Conda, I tried to install Jupyterlab as follows:

(sage) $ sage -i jupyterlab_widgets

However, I get the following error message:

make: *** No rule to make target 'all-toolchain'.  Stop.

The same error appears if I only try

(sage) $ sage -i jupyterlab

How can I avoid this error and complete the install?

Additional information. I am using a MacBook Pro with macOS 10.13.6, and SageMath 9.2 was installed using conda as follows:

$ conda config --add channels conda-forge
$ conda config --set channel_priority strict
$ conda create -n sage sage python=3.8

I can launch SageMath in the Jupyter notebook with no problems using the commands:

$ conda activate sage
(sage) $ sage -n jupyter

Many thanks.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 4 years ago

Juanjo gravatar image

I answer myself. I found that I could directly use pip. The command

sage -pip install jupyterlab_widgets

did the trick.

Preview: (hide)
link

Comments

Congratulations! You can accept your own answer to mark your question as solved.

slelievre gravatar imageslelievre ( 4 years ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 4 years ago

Seen: 526 times

Last updated: Dec 05 '20