jbeobide
Hello,

I have the following error when installing OpenPLC Editor in Ubuntu 18.04:

Traceback (most recent call last):
File "/usr/bin/pip2", line 9, in <module>
from pip import main
ImportError: cannot import name main

As a result, I cannot run OpenPLC Editor, even if I have updated pip2 to pip-20.0.2.

Thanks in advance,


Josu
Quote 0 0
thiagoralves
https://lmgtfy.com/?q=from+pip+import+main+ImportError%3A+cannot+import+name+main&iie=1

More specifically: https://github.com/pypa/pip/issues/5599
Quote 0 0
thiagoralves
edit: ok, the lmgtfy might be a bit rude, but I loved the joke anyway. 😂 Feel free to keep asking questions if you get stuck. But still, most of the times Google can get you the right answer if the question is not too specific.
Quote 0 0
jbeobide
Thank you Thiago. I have managed to fix it by installing from another user account.

I am also interested in learning Structured Text programming. Is there any resource that you recommend ?

Kind regards,

Josu
Quote 0 0
thiagoralves
I'm glad it is working now. PLC Academy is always a good place to find information about PLC programming. Here is a tutorial they have specifically about Structured Text: https://www.plcacademy.com/structured-text-tutorial/
Quote 0 0