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개 답변
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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인