En utilisant AWS re:Post, vous acceptez les AWS re:Post Conditions d’utilisation

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 réponses
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
INGÉNIEUR EN ASSISTANCE TECHNIQUE
répondu il y a 2 ans
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.

répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions