Makers Blog Archive

Automation Maker #004: Python, PIP and PLCnext Control

Martin PLCnext Team 21 January 2019 min. read
249 views 0 comments
https://youtube.com/watch?v=GJ6Ata71jTs

Python is a powerful language with plenty of applications for Industrie 4.0, including Machine Learning and Cloud connectivity, so it’s a natural fit for applications that use PLCnext Technology.

In this episode of Automation Maker, we look at how to install Python and PIP on a PLCnext Control.

Helpful links:

just click the “Read more…” link below the video.

To install Python 3 using ipkg:

/opt/bin/ipkg install python3

To install PIP using ipkg:

/opt/bin/ipkg install py3-pip

To upgrade PIP:

/opt/bin/pip3 install --upgrade pip

Examples of installing python packages using PIP:

/opt/local/bin/pip install setuptools

/opt/local/bin/pip install AWSIoTPythonSDK

Note: Be sure to run the version of python installed in /opt/bin

More information:

Note:

The Makers Blog shows applications and user stories of community members that are not tested or reviewed by Phoenix Contact. Use them at your own risk.

Discussion

Please login/register to comment

Login/Register

Leave a Reply

Newsletter
Never miss a new article
Sign up for the newsletter
Never miss news about PLCnext Technology
Get interesting content via newsletter four times a year
Receive exclusive information before all other users