Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
richard_pearce6
Partner - Specialist
Partner - Specialist

Installing Qlik-SDK to EC2 Instance Ubuntu

Hi All,

I'm stuggling to import the qlik-sdk into my AWS EC2 instance Ubuntu. I've tried many, many comands so far:

richard_pearce6_0-1779894310350.png

The simplest sudo apt install python2-qlik-sdk gives me a not found error. I though the URL (https://pypi.org/project/qlik-sdk) wasn't reachable but I don't think that the case from other tests

I've treid a more complex pipx install

richard_pearce6_2-1779894552337.png

From the details log: 

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7e0bcceccaa0>: Failed to establish a new connection: [Errno 101] Network is unreachable')': /simple/qlik-sdk/
 
I apprectate this maybe more of an aws support issue although I though some of the clever technical people on here may have a simple solution for me 🙂
 
Many thanks in advance
 

 

 

 

 

 

 

Labels (1)
  • API

1 Solution

Accepted Solutions
Eduardo_Monteiro
Partner - Creator III
Partner - Creator III

Hi @richard_pearce6 

The following worked for me:

# Install python3-full if not present
sudo apt install python3-full python3-venv -y

# Create a venv (pick a path that makes sense for your use case)
python3 -m venv /home/emm/qlik-env

# Activate it
source /home/emm/qlik-env/bin/activate

# Install inside the venv
pip install qlik-sdk

# Confirm
python3 -c "import qlik_sdk; print(qlik_sdk.__version__)"

Eduardo_Monteiro_0-1779917675015.png

I hope that helps.

BR,

Eduardo Monteiro - Senior Support Engineer @ IPC Global
Follow me on my LinkedIn | Know IPC Global at ipc-global.com

View solution in original post

2 Replies
Eduardo_Monteiro
Partner - Creator III
Partner - Creator III

Hi @richard_pearce6 

The following worked for me:

# Install python3-full if not present
sudo apt install python3-full python3-venv -y

# Create a venv (pick a path that makes sense for your use case)
python3 -m venv /home/emm/qlik-env

# Activate it
source /home/emm/qlik-env/bin/activate

# Install inside the venv
pip install qlik-sdk

# Confirm
python3 -c "import qlik_sdk; print(qlik_sdk.__version__)"

Eduardo_Monteiro_0-1779917675015.png

I hope that helps.

BR,

Eduardo Monteiro - Senior Support Engineer @ IPC Global
Follow me on my LinkedIn | Know IPC Global at ipc-global.com

richard_pearce6
Partner - Specialist
Partner - Specialist
Author

Amazing, thanks! got that installed!

I had to change a couple of commands: 

# Create a venv (pick a path that makes sense for your use case)
sudo python3 -m venv /home/emm/qlik-env

# Activate it
source /home/emm/qlik-env/bin/activate

# Install inside the venv
sudo /home/emm/qlik-env/bin/pip install qlik-sdk

# Confirm
python3 -c "import qlik_sdk; print(qlik_sdk.__version__)"

 

Thanks very much for helping me!