Usando AWS re:Post, accetti AWS re:Post Termini di utilizzo

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 Risposte
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
TECNICO DI SUPPORTO
con risposta 2 anni fa
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.

con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande