Installation of jupyter notebook on Deep Learning AMI GPU TensorFlow 2.9.1 (Amazon Linux 2)

0

I've been unable to install jupyter notebook seemingly regardless of the virtual environment I have set on Deep Learning AMI GPU TensorFlow 2.9.1 (Amazon Linux 2). Has anyone successfully managed this? The error is the oft occurring: ModuleNotFoundError: No module named 'pysqlite2' But as most of the solutions involved rebuilding python, I don't want to do that given this is a distribution for which jupyter is typically the go to tool for such an AMI.

質問済み 2年前476ビュー
2回答
0

The DLAMI is a great choice for learning or teaching machine learning and deep learning frameworks. I understood that you are getting 'ModuleNotFoundError' error while installing the Jupyter Notebook server. As per the AWS documentation for Deep Learning AMI, certain Python modules may not be set up on the DLAMI used. So if you get an error like "xyz module not found", then you have to install the necessary modules to proceed.

I tried the installation using the DLAMI with different OS. The installation of Jupyter Notebook on DLAMI Ubuntu 20.04 was successful as it has required packages to run ‘Jupyter notebook’. However, DLAMI Amazon Linux required additional module installation as it was not set up on it.

So here you need to activate the required Python modules to proceed with the installations.

Reference : https://docs.aws.amazon.com/dlami/latest/devguide/tutorial-jupyter.html

AWS
サポートエンジニア
Naina_S
回答済み 2年前
0

Thanks for the response. But as a result of "xyz module not found" occurring, I followed up with: pip install xyz. But no sqlite option was available, and in googling around this the only offered solutions were rather involved, and included rebuilding python. Shame that this distribution doesn't out of the box support jupyter, however, as there doesn't seem to be a simple way to get it going. I opted for a different AMI.

回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン