0

I have deployed a Ubuntu Server 18.04 LTS (HVM), SSD Volume Type on aws and using it to run Python script using Jupyter notebook.

I have used the following tutorial for this https://www.codingforentrepreneurs.com/blog/jupyter-notebook-server-aws-ec2-aws-vpc

I run the following bootstrap script when I create the instance to install a number of requirements.


sudo apt-get update -y

sudo apt-get install build-essential libssl-dev libpq-dev libcurl4-gnutls-dev libexpat1-dev gettext unzip -y

sudo apt-get install supervisor -y 

sudo apt-get install python3-pip python3-dev python3-venv -y

sudo apt-get install nano -y

sudo apt-get install git -y 

sudo apt-get install nginx curl -y

sudo apt-get install ufw -y

sudo ufw allow 'Nginx Full'

sudo ufw allow ssh

sudo python3 -m pip install jupyter

sudo service supervisor start

sudo apt autoremove -y   

I can install pacakges fine like this %pip install numpy directly in the cell.

I need to do the following import client

Though I get the following error when I %pip install client

Collecting client
  Could not find a version that satisfies the requirement client (from versions: )
No matching distribution found for client
Note: you may need to restart the kernel to use updated packages. 

I have looked at a number of answers and it seems it is maybe something already within Python How to import a module given the full path?. Though I am not exactly sure.

I have installed the linux version of anaconda as I thought that it may be already here. Though this did not help either.

Does anyone know how to import client on aws Ubuntu Server 18.04 LTS (HVM), SSD Volume Type?

sandy caskie
  • 357
  • 2
  • 11

0 Answers0