Hello Beremiz Team
Folowin the instalation process on https://beremiz.org/doc, I try to install Beremiz on ubuntu20.04LTS but, the packages that I can not install are:
sudo apt-get install pyro
sudo apt-get install python-nevow
sudo apt-get install python-mathplotlib
sudo apt-get isntall python-zeroconf
sudo apt-get install python-cycler
sudo apt-get install python-autobahn
And, when I ejecute beremiz
beremiz$ python3 ./Beremiz.pyTraceback (most recent call last):
File "./Beremiz.py", line 33, in <module>
import wx
sent an error missing module.
What is the correct installation process for ubuntu 20.04LTS?
_______________________________________________ Beremiz-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/beremiz-devel |
Administrator
|
Beremiz does not support python3 now and python2 is end of life. AFAIK ubuntu 20.0.4LTS has only python3. On Thu, Apr 30, 2020 at 12:10 AM Netza Guadarrama <[hidden email]> wrote:
_______________________________________________ Beremiz-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/beremiz-devel |
Hello, Andrey Skvortsov and enorm Thankyou
When Beremiz will be updated to python3?
And when the motion control library will be set on Beremiz?
My best regards
Netza
From: Andrey Skvortsov <[hidden email]>
Sent: Thursday, April 30, 2020 6:28 AM To: Netza Guadarrama <[hidden email]> Cc: [hidden email] <[hidden email]> Subject: Re: [Beremiz-devel] Installation Process of Beremiz on ubuntu 20.04LS Beremiz does not support python3 now and python2 is end of life. AFAIK ubuntu 20.0.4LTS has only python3.
On Thu, Apr 30, 2020 at 12:10 AM Netza Guadarrama <[hidden email]> wrote:
_______________________________________________ Beremiz-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/beremiz-devel |
Hi all
How to run Beremiz IDE on a brand new Ubuntu 20.04 install : ======== sudo apt install python-wxgtk3.0 python-lxml python-is-python2 python-numpy build-essential python-dev-is-python2 curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py python get-pip.py pip install future matplotlib zeroconf2 enum34 pyro # for runtime only : pip install pyro twisted nevow autobahn ======== Best regards Edouard On 30/04/2020 09:41, Netza Guadarrama wrote: > Hello, Andrey Skvortsov and enorm Thankyou > > When Beremiz will be updated to python3? > And when the motion control library will be set on Beremiz? > > My best regards > > Netza > ------------------------------------------------------------------------ > *From:* Andrey Skvortsov <[hidden email]> > *Sent:* Thursday, April 30, 2020 6:28 AM > *To:* Netza Guadarrama <[hidden email]> > *Cc:* [hidden email] > <[hidden email]> > *Subject:* Re: [Beremiz-devel] Installation Process of Beremiz on > ubuntu 20.04LS > > Beremiz does not support python3 now and python2 is end of life. AFAIK > ubuntu 20.0.4LTS has only python3. > > On Thu, Apr 30, 2020 at 12:10 AM Netza Guadarrama <[hidden email] > <mailto:[hidden email]>> wrote: > > Hello Beremiz Team > > Folowin the instalation process on https://beremiz.org/doc, I try > to install Beremiz on ubuntu20.04LTS but, the packages that I can > not install are: > > > sudo apt-get install pyro > sudo apt-get install python-nevow > sudo apt-get install python-mathplotlib > sudo apt-get isntall python-zeroconf > sudo apt-get install python-cycler > sudo apt-get install python-autobahn > > And, when I ejecute beremiz > beremiz$ python3 ./Beremiz.py > Traceback (most recent call last): > File "./Beremiz.py", line 33, in <module> > import wx > sent an error missing module. > > What is the correct installation process for ubuntu 20.04LTS? > > _______________________________________________ > Beremiz-devel mailing list > [hidden email] > <mailto:[hidden email]> > https://lists.sourceforge.net/lists/listinfo/beremiz-devel > > > > _______________________________________________ > Beremiz-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/beremiz-devel _______________________________________________ Beremiz-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/beremiz-devel |
Hello, Thank you for your time
Following the steps
sudo apt install python-wxgtk3.0 python-lxml python-is-python2
python-numpy build-essential python-dev-is-python2 I can install all this ones without errors.
but
pip install future matplotlib zeroconf2 enum34 pyro send message that pip doesnot exist
~$ pip install future matplotlib zeroconf2 enum34 pyro
Command 'pip' not found, but there are 18 similar ones.
but if I use
~$pip3 install future matplotlib zeroconf2 enum34 pyro
I have an error on pyro
I have needed to use ~/.local/bin$python pip install pyro because the path of Ubuntu can not see pip.
The error when I use pip3 pyro is:
Downloading Pyro-3.16.tar.gz (298 kB)
|████████████████████████████████| 298 kB 27.7 MB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-r2dzashq/pyro/setup.py'"'"'; __file__='"'"'/tmp/pip-install-r2dzashq/pyro/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-r2dzashq/pyro/pip-egg-info
cwd: /tmp/pip-install-r2dzashq/pyro/
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-r2dzashq/pyro/setup.py", line 23
exec code in constants
^
SyntaxError: Missing parentheses in call to 'exec'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
After the instalations I install
~$sudo apt-get install bison flex autoconf without error
~$sudo apt-get install mercurial this said that is installed
mercurial is already the newest version (5.3.1-1ubuntu1).
~$sudo apt-get install python-nevow is not foudend
E: Unable to locate package python-nevow
~$ sudo apt-get install python3-nevow is not founded too
E: Unable to locate package python3-nevow
~$ sudo apt-get install python-cycler is not founded
E: Unable to locate package python-cycler
~$sudo apt-get install python3-cycler is founded and installed
~$sudo apt-get install python-autobahn is not founded
E: Unable to locate package python-autobahn
~$ sudo apt-get install python3-autobahn is founded and installed
~$ sudo apt-get install python-u-msgpack is founded and installed
The only package not installed is pyhotn-nevow becouse is not founded.
If I tray tu execute beremiz
~/Beremiz/beremiz$ python Beremiz.py Traceback (most recent call last):
File "Beremiz.py", line 31, in <module>
from past.builtins import execfile
ImportError: No module named past.builtins using python can not run.
if I tray to execute beremiz in python3
~/Beremiz/beremiz$ python3 Beremiz.py
Traceback (most recent call last):
File "Beremiz.py", line 33, in <module>
import wx
ModuleNotFoundError: No module named 'wx'I can not see what are my wrong step.
Please do you can help me
Thank you
My best regards
Netza
From: Edouard Tisserant <[hidden email]>
Sent: Monday, May 4, 2020 7:45 PM To: [hidden email] <[hidden email]> Subject: Re: [Beremiz-devel] Installation Process of Beremiz on ubuntu 20.04LS Hi all
How to run Beremiz IDE on a brand new Ubuntu 20.04 install : ======== sudo apt install python-wxgtk3.0 python-lxml python-is-python2 python-numpy build-essential python-dev-is-python2 curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py python get-pip.py pip install future matplotlib zeroconf2 enum34 pyro # for runtime only : pip install pyro twisted nevow autobahn ======== Best regards Edouard On 30/04/2020 09:41, Netza Guadarrama wrote: > Hello, Andrey Skvortsov and enorm Thankyou > > When Beremiz will be updated to python3? > And when the motion control library will be set on Beremiz? > > My best regards > > Netza > ------------------------------------------------------------------------ > *From:* Andrey Skvortsov <[hidden email]> > *Sent:* Thursday, April 30, 2020 6:28 AM > *To:* Netza Guadarrama <[hidden email]> > *Cc:* [hidden email] > <[hidden email]> > *Subject:* Re: [Beremiz-devel] Installation Process of Beremiz on > ubuntu 20.04LS > > Beremiz does not support python3 now and python2 is end of life. AFAIK > ubuntu 20.0.4LTS has only python3. > > On Thu, Apr 30, 2020 at 12:10 AM Netza Guadarrama <[hidden email] > <[hidden email]>> wrote: > > Hello Beremiz Team > > Folowin the instalation process on https://beremiz.org/doc, I try > to install Beremiz on ubuntu20.04LTS but, the packages that I can > not install are: > > > sudo apt-get install pyro > sudo apt-get install python-nevow > sudo apt-get install python-mathplotlib > sudo apt-get isntall python-zeroconf > sudo apt-get install python-cycler > sudo apt-get install python-autobahn > > And, when I ejecute beremiz > beremiz$ python3 ./Beremiz.py > Traceback (most recent call last): > File "./Beremiz.py", line 33, in <module> > import wx > sent an error missing module. > > What is the correct installation process for ubuntu 20.04LTS? > > _______________________________________________ > Beremiz-devel mailing list > [hidden email] > <[hidden email]> > https://lists.sourceforge.net/lists/listinfo/beremiz-devel > > > > _______________________________________________ > Beremiz-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/beremiz-devel _______________________________________________ Beremiz-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/beremiz-devel _______________________________________________ Beremiz-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/beremiz-devel |
Bash profile needs to be reloaded to find pip. Logout and login again
after invoking get_pip.py if you where not already using ~/local/bin before. On 06/05/2020 08:07, Netza Guadarrama wrote: > Hello, Thank you for your time > > Following the steps > > sudo apt install python-wxgtk3.0 python-lxml python-is-python2 > python-numpy build-essential python-dev-is-python2 I can install all > this ones without errors. > > but > > pip install future matplotlib zeroconf2 enum34 pyro send message that > pip doesnot exist > > ~$ pip install future matplotlib zeroconf2 enum34 pyro > > Command 'pip' not found, but there are 18 similar ones. > > but if I use > > ~$pip3 install future matplotlib zeroconf2 enum34 pyro > > I have an error on pyro > > I have needed to use ~/.local/bin$python pip install pyro because the > path of Ubuntu can not see pip. > > The error when I use pip3 pyro is: > Downloading Pyro-3.16.tar.gz (298 kB) > |████████████████████████████████| 298 kB 27.7 MB/s > ERROR: Command errored out with exit status 1: > command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; > sys.argv[0] = '"'"'/tmp/pip-install-r2dzashq/pyro/setup.py'"'"'; > __file__='"'"'/tmp/pip-install-r2dzashq/pyro/setup.py'"'"';f=getattr(tokenize, > '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', > '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' > egg_info --egg-base /tmp/pip-install-r2dzashq/pyro/pip-egg-info > cwd: /tmp/pip-install-r2dzashq/pyro/ > Complete output (6 lines): > Traceback (most recent call last): > File "<string>", line 1, in <module> > File "/tmp/pip-install-r2dzashq/pyro/setup.py", line 23 > exec code in constants > ^ > SyntaxError: Missing parentheses in call to 'exec' > ---------------------------------------- > ERROR: Command errored out with exit status 1: python setup.py > egg_info Check the logs for full command output. > > After the instalations I install > > ~$sudo apt-get install bison flex autoconf without error > > ~$sudo apt-get install mercurial this said that is installed > mercurial is already the newest version (5.3.1-1ubuntu1). > > ~$sudo apt-get install python-nevow is not foudend > E: Unable to locate package python-nevow > > ~$ sudo apt-get install python3-nevow is not founded too > E: Unable to locate package python3-nevow > > ~$ sudo apt-get install python-cycler is not founded > E: Unable to locate package python-cycler > ~$sudo apt-get install python3-cycler is founded and installed > > ~$sudo apt-get install python-autobahn is not founded > E: Unable to locate package python-autobahn > ~$ sudo apt-get install python3-autobahn is founded and installed > > ~$ sudo apt-get install python-u-msgpack is founded and installed > > The only package not installed is pyhotn-nevow becouse is not founded. > > If I tray tu execute beremiz > ~/Beremiz/beremiz$ python Beremiz.py > Traceback (most recent call last): > File "Beremiz.py", line 31, in <module> > from past.builtins import execfile > ImportError: No module named past.builtins using python can not run. > > if I tray to execute beremiz in python3 > ~/Beremiz/beremiz$ python3 Beremiz.py > Traceback (most recent call last): > File "Beremiz.py", line 33, in <module> > import wx > ModuleNotFoundError: No module named 'wx' > > I can not see what are my wrong step. > > Please do you can help me > > Thank you > > My best regards > > Netza > > ------------------------------------------------------------------------ > *From:* Edouard Tisserant <[hidden email]> > *Sent:* Monday, May 4, 2020 7:45 PM > *To:* [hidden email] > <[hidden email]> > *Subject:* Re: [Beremiz-devel] Installation Process of Beremiz on > ubuntu 20.04LS > > Hi all > > > How to run Beremiz IDE on a brand new Ubuntu 20.04 install : > > ======== > > sudo apt install python-wxgtk3.0 python-lxml python-is-python2 > python-numpy build-essential python-dev-is-python2 > > curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py > python get-pip.py > > pip install future matplotlib zeroconf2 enum34 pyro > > # for runtime only : > pip install pyro twisted nevow autobahn > > ======== > > Best regards > > Edouard > > On 30/04/2020 09:41, Netza Guadarrama wrote: > > Hello, Andrey Skvortsov and enorm Thankyou > > > > When Beremiz will be updated to python3? > > And when the motion control library will be set on Beremiz? > > > > My best regards > > > > Netza > > ------------------------------------------------------------------------ > > *From:* Andrey Skvortsov <[hidden email]> > > *Sent:* Thursday, April 30, 2020 6:28 AM > > *To:* Netza Guadarrama <[hidden email]> > > *Cc:* [hidden email] > > <[hidden email]> > > *Subject:* Re: [Beremiz-devel] Installation Process of Beremiz on > > ubuntu 20.04LS > > > > Beremiz does not support python3 now and python2 is end of life. AFAIK > > ubuntu 20.0.4LTS has only python3. > > > > On Thu, Apr 30, 2020 at 12:10 AM Netza Guadarrama <[hidden email] > > <mailto:[hidden email]>> wrote: > > > > Hello Beremiz Team > > > > Folowin the instalation process on https://beremiz.org/doc, I try > > to install Beremiz on ubuntu20.04LTS but, the packages that I can > > not install are: > > > > > > sudo apt-get install pyro > > sudo apt-get install python-nevow > > sudo apt-get install python-mathplotlib > > sudo apt-get isntall python-zeroconf > > sudo apt-get install python-cycler > > sudo apt-get install python-autobahn > > > > And, when I ejecute beremiz > > beremiz$ python3 ./Beremiz.py > > Traceback (most recent call last): > > File "./Beremiz.py", line 33, in <module> > > import wx > > sent an error missing module. > > > > What is the correct installation process for ubuntu 20.04LTS? > > > > _______________________________________________ > > Beremiz-devel mailing list > > [hidden email] > > <mailto:[hidden email]> > > https://lists.sourceforge.net/lists/listinfo/beremiz-devel > > > > > > > > _______________________________________________ > > Beremiz-devel mailing list > > [hidden email] > > https://lists.sourceforge.net/lists/listinfo/beremiz-devel > > > _______________________________________________ > Beremiz-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/beremiz-devel _______________________________________________ Beremiz-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/beremiz-devel |
Just follow OpenPLC Editor installation recipe. It works on Ubuntu 20.04 LTS:
https://github.com/thiagoralves/OpenPLC_Editor/blob/master/install.sh Since OpenPLC Editor is based on Beremiz, it also has the same requirements. So once you have installed OpenPLC Editor, you will also be able to run Beremiz just fine. -- Sent from: http://beremiz-devel.2374573.n4.nabble.com/ _______________________________________________ Beremiz-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/beremiz-devel |
In reply to this post by Edouard Tisserant
Hello Edouard Tisserant team developers
Thank you for your time, I use the recommended steps and make the log-out and log-in
and is now possible to use the command ~$ pip install future matplotlib zeroconf2 enum34 pyro without errors
and pip install future matplotlib zeroconf2 enum34 pyro installed without errors
and pip install pyro twisted nevow autobahn can be installed but show the next message on yellow:
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details
about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
following the installation files of
sudo apt-get install bison flex autoconf mercurial python-u-msgpack can be installed without errors
Just in sudo apt-get install python-cycler can not be founded
Then I use sudo apt-get install python3-cycler and is founded and installed
when I excecute python Beremiz.py there are not errors on the terminal of ubuntu and is possible to open the program Beremiz
if I make the compilation of the example trafic-lights on the tests folder all is successfully built
When I push the Connect to the target PLC button then
in the terminal of ubuntu sent he next message:
:~/Beremiz/beremiz$ python Beremiz.py
No module named sslpsk
and Beremiz show the next message:
Start build in /home/netza/Beremiz/beremiz/tests/traffic_lights/build
Generating SoftPLC IEC-61131 ST/IL/SFC code...
Compiling IEC Program into C code...
Extracting Located Variables...
C code generated successfully.
PLC :
[CC] plc_main.c -> plc_main.o
[CC] plc_debugger.c -> plc_debugger.o
py_ext :
[CC] py_ext.c -> py_ext.o
PLC :
[CC] config.c -> config.o
[CC] resource1.c -> resource1.o
Linking :
[CC] plc_main.o plc_debugger.o py_ext.o config.o resource1.o -> traffic_lights.so
Successfully built.
Traceback (most recent call last):
File "/home/netza/Beremiz/beremiz/Beremiz_service.py", line 489, in <module>
import runtime.WampClient as WC # pylint: disable=ungrouped-imports
File "/home/netza/Beremiz/beremiz/runtime/WampClient.py", line 35, in <module>
from autobahn.wamp.serializer import MsgPackSerializer
ImportError: cannot import name MsgPackSerializer
Beremiz_service: 1.2-b98d9e08231f
WAMP import failed :
HTTP interface port : 8009
Pyro port : 61404
Current working directory :/tmp/tmpBdp4Cy
PYRO connecting to URI : PYROLOC://127.0.0.1:61404
PLC did not provide identity and security information.
Latest build does not match with connected target.after it I select accidentally the selection of ether-cab, and reloaded the example trafic-lights but now then Beremiz can not open the project.
I don't know if the problem is my installation process, please do you can check or why I can not run the example trafic-lights?
Thank you again
and
My best regards
Netza
From: Edouard Tisserant <[hidden email]>
Sent: Wednesday, May 6, 2020 8:27 AM To: Netza Guadarrama <[hidden email]>; [hidden email] <[hidden email]> Subject: Re: [Beremiz-devel] Installation Process of Beremiz on ubuntu 20.04LS Bash profile needs to be reloaded to find pip. Logout and login again
after invoking get_pip.py if you where not already using ~/local/bin before. On 06/05/2020 08:07, Netza Guadarrama wrote: > Hello, Thank you for your time > > Following the steps > > sudo apt install python-wxgtk3.0 python-lxml python-is-python2 > python-numpy build-essential python-dev-is-python2 I can install all > this ones without errors. > > but > > pip install future matplotlib zeroconf2 enum34 pyro send message that > pip doesnot exist > > ~$ pip install future matplotlib zeroconf2 enum34 pyro > > Command 'pip' not found, but there are 18 similar ones. > > but if I use > > ~$pip3 install future matplotlib zeroconf2 enum34 pyro > > I have an error on pyro > > I have needed to use ~/.local/bin$python pip install pyro because the > path of Ubuntu can not see pip. > > The error when I use pip3 pyro is: > Downloading Pyro-3.16.tar.gz (298 kB) > |████████████████████████████████| 298 kB 27.7 MB/s > ERROR: Command errored out with exit status 1: > command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; > sys.argv[0] = '"'"'/tmp/pip-install-r2dzashq/pyro/setup.py'"'"'; > __file__='"'"'/tmp/pip-install-r2dzashq/pyro/setup.py'"'"';f=getattr(tokenize, > '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', > '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' > egg_info --egg-base /tmp/pip-install-r2dzashq/pyro/pip-egg-info > cwd: /tmp/pip-install-r2dzashq/pyro/ > Complete output (6 lines): > Traceback (most recent call last): > File "<string>", line 1, in <module> > File "/tmp/pip-install-r2dzashq/pyro/setup.py", line 23 > exec code in constants > ^ > SyntaxError: Missing parentheses in call to 'exec' > ---------------------------------------- > ERROR: Command errored out with exit status 1: python setup.py > egg_info Check the logs for full command output. > > After the instalations I install > > ~$sudo apt-get install bison flex autoconf without error > > ~$sudo apt-get install mercurial this said that is installed > mercurial is already the newest version (5.3.1-1ubuntu1). > > ~$sudo apt-get install python-nevow is not foudend > E: Unable to locate package python-nevow > > ~$ sudo apt-get install python3-nevow is not founded too > E: Unable to locate package python3-nevow > > ~$ sudo apt-get install python-cycler is not founded > E: Unable to locate package python-cycler > ~$sudo apt-get install python3-cycler is founded and installed > > ~$sudo apt-get install python-autobahn is not founded > E: Unable to locate package python-autobahn > ~$ sudo apt-get install python3-autobahn is founded and installed > > ~$ sudo apt-get install python-u-msgpack is founded and installed > > The only package not installed is pyhotn-nevow becouse is not founded. > > If I tray tu execute beremiz > ~/Beremiz/beremiz$ python Beremiz.py > Traceback (most recent call last): > File "Beremiz.py", line 31, in <module> > from past.builtins import execfile > ImportError: No module named past.builtins using python can not run. > > if I tray to execute beremiz in python3 > ~/Beremiz/beremiz$ python3 Beremiz.py > Traceback (most recent call last): > File "Beremiz.py", line 33, in <module> > import wx > ModuleNotFoundError: No module named 'wx' > > I can not see what are my wrong step. > > Please do you can help me > > Thank you > > My best regards > > Netza > > ------------------------------------------------------------------------ > *From:* Edouard Tisserant <[hidden email]> > *Sent:* Monday, May 4, 2020 7:45 PM > *To:* [hidden email] > <[hidden email]> > *Subject:* Re: [Beremiz-devel] Installation Process of Beremiz on > ubuntu 20.04LS > > Hi all > > > How to run Beremiz IDE on a brand new Ubuntu 20.04 install : > > ======== > > sudo apt install python-wxgtk3.0 python-lxml python-is-python2 > python-numpy build-essential python-dev-is-python2 > > curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py > python get-pip.py > > pip install future matplotlib zeroconf2 enum34 pyro > > # for runtime only : > pip install pyro twisted nevow autobahn > > ======== > > Best regards > > Edouard > > On 30/04/2020 09:41, Netza Guadarrama wrote: > > Hello, Andrey Skvortsov and enorm Thankyou > > > > When Beremiz will be updated to python3? > > And when the motion control library will be set on Beremiz? > > > > My best regards > > > > Netza > > ------------------------------------------------------------------------ > > *From:* Andrey Skvortsov <[hidden email]> > > *Sent:* Thursday, April 30, 2020 6:28 AM > > *To:* Netza Guadarrama <[hidden email]> > > *Cc:* [hidden email] > > <[hidden email]> > > *Subject:* Re: [Beremiz-devel] Installation Process of Beremiz on > > ubuntu 20.04LS > > > > Beremiz does not support python3 now and python2 is end of life. AFAIK > > ubuntu 20.0.4LTS has only python3. > > > > On Thu, Apr 30, 2020 at 12:10 AM Netza Guadarrama <[hidden email] > > <[hidden email]>> wrote: > > > > Hello Beremiz Team > > > > Folowin the instalation process on https://beremiz.org/doc, I try > > to install Beremiz on ubuntu20.04LTS but, the packages that I can > > not install are: > > > > > > sudo apt-get install pyro > > sudo apt-get install python-nevow > > sudo apt-get install python-mathplotlib > > sudo apt-get isntall python-zeroconf > > sudo apt-get install python-cycler > > sudo apt-get install python-autobahn > > > > And, when I ejecute beremiz > > beremiz$ python3 ./Beremiz.py > > Traceback (most recent call last): > > File "./Beremiz.py", line 33, in <module> > > import wx > > sent an error missing module. > > > > What is the correct installation process for ubuntu 20.04LTS? > > > > _______________________________________________ > > Beremiz-devel mailing list > > [hidden email] > > <[hidden email]> > > https://lists.sourceforge.net/lists/listinfo/beremiz-devel > > > > > > > > _______________________________________________ > > Beremiz-devel mailing list > > [hidden email] > > https://lists.sourceforge.net/lists/listinfo/beremiz-devel > > > _______________________________________________ > Beremiz-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/beremiz-devel _______________________________________________ Beremiz-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/beremiz-devel |
Hello Edouard Tisserant team developers
I reinstall all again and adding the command
pip install simplejson
and now I can run the trafic-light example.
Thank you
My best regards
Netza
From: Netza Guadarrama <[hidden email]>
Sent: Friday, May 8, 2020 6:55 PM To: Edouard Tisserant <[hidden email]>; [hidden email] <[hidden email]> Subject: Re: [Beremiz-devel] Installation Process of Beremiz on ubuntu 20.04LS
Hello Edouard Tisserant team developers
Thank you for your time, I use the recommended steps and make the log-out and log-in
and is now possible to use the command ~$ pip install future matplotlib zeroconf2 enum34 pyro without errors
and pip install future matplotlib zeroconf2 enum34 pyro installed without errors
and pip install pyro twisted nevow autobahn can be installed but show the next message on yellow:
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details
about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
following the installation files of
sudo apt-get install bison flex autoconf mercurial python-u-msgpack can be installed without errors
Just in sudo apt-get install python-cycler can not be founded
Then I use sudo apt-get install python3-cycler and is founded and installed
when I excecute python Beremiz.py there are not errors on the terminal of ubuntu and is possible to open the program Beremiz
if I make the compilation of the example trafic-lights on the tests folder all is successfully built
When I push the Connect to the target PLC button then
in the terminal of ubuntu sent he next message:
:~/Beremiz/beremiz$ python Beremiz.py
No module named sslpsk
and Beremiz show the next message:
Start build in /home/netza/Beremiz/beremiz/tests/traffic_lights/build
Generating SoftPLC IEC-61131 ST/IL/SFC code...
Compiling IEC Program into C code...
Extracting Located Variables...
C code generated successfully.
PLC :
[CC] plc_main.c -> plc_main.o
[CC] plc_debugger.c -> plc_debugger.o
py_ext :
[CC] py_ext.c -> py_ext.o
PLC :
[CC] config.c -> config.o
[CC] resource1.c -> resource1.o
Linking :
[CC] plc_main.o plc_debugger.o py_ext.o config.o resource1.o -> traffic_lights.so
Successfully built.
Traceback (most recent call last):
File "/home/netza/Beremiz/beremiz/Beremiz_service.py", line 489, in <module>
import runtime.WampClient as WC # pylint: disable=ungrouped-imports
File "/home/netza/Beremiz/beremiz/runtime/WampClient.py", line 35, in <module>
from autobahn.wamp.serializer import MsgPackSerializer
ImportError: cannot import name MsgPackSerializer
Beremiz_service: 1.2-b98d9e08231f
WAMP import failed :
HTTP interface port : 8009
Pyro port : 61404
Current working directory :/tmp/tmpBdp4Cy
PYRO connecting to URI : PYROLOC://127.0.0.1:61404
PLC did not provide identity and security information.
Latest build does not match with connected target.after it I select accidentally the selection of ether-cab, and reloaded the example trafic-lights but now then Beremiz can not open the project.
I don't know if the problem is my installation process, please do you can check or why I can not run the example trafic-lights?
Thank you again
and
My best regards
Netza
From: Edouard Tisserant <[hidden email]>
Sent: Wednesday, May 6, 2020 8:27 AM To: Netza Guadarrama <[hidden email]>; [hidden email] <[hidden email]> Subject: Re: [Beremiz-devel] Installation Process of Beremiz on ubuntu 20.04LS Bash profile needs to be reloaded to find pip. Logout and login again
after invoking get_pip.py if you where not already using ~/local/bin before. On 06/05/2020 08:07, Netza Guadarrama wrote: > Hello, Thank you for your time > > Following the steps > > sudo apt install python-wxgtk3.0 python-lxml python-is-python2 > python-numpy build-essential python-dev-is-python2 I can install all > this ones without errors. > > but > > pip install future matplotlib zeroconf2 enum34 pyro send message that > pip doesnot exist > > ~$ pip install future matplotlib zeroconf2 enum34 pyro > > Command 'pip' not found, but there are 18 similar ones. > > but if I use > > ~$pip3 install future matplotlib zeroconf2 enum34 pyro > > I have an error on pyro > > I have needed to use ~/.local/bin$python pip install pyro because the > path of Ubuntu can not see pip. > > The error when I use pip3 pyro is: > Downloading Pyro-3.16.tar.gz (298 kB) > |████████████████████████████████| 298 kB 27.7 MB/s > ERROR: Command errored out with exit status 1: > command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; > sys.argv[0] = '"'"'/tmp/pip-install-r2dzashq/pyro/setup.py'"'"'; > __file__='"'"'/tmp/pip-install-r2dzashq/pyro/setup.py'"'"';f=getattr(tokenize, > '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', > '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' > egg_info --egg-base /tmp/pip-install-r2dzashq/pyro/pip-egg-info > cwd: /tmp/pip-install-r2dzashq/pyro/ > Complete output (6 lines): > Traceback (most recent call last): > File "<string>", line 1, in <module> > File "/tmp/pip-install-r2dzashq/pyro/setup.py", line 23 > exec code in constants > ^ > SyntaxError: Missing parentheses in call to 'exec' > ---------------------------------------- > ERROR: Command errored out with exit status 1: python setup.py > egg_info Check the logs for full command output. > > After the instalations I install > > ~$sudo apt-get install bison flex autoconf without error > > ~$sudo apt-get install mercurial this said that is installed > mercurial is already the newest version (5.3.1-1ubuntu1). > > ~$sudo apt-get install python-nevow is not foudend > E: Unable to locate package python-nevow > > ~$ sudo apt-get install python3-nevow is not founded too > E: Unable to locate package python3-nevow > > ~$ sudo apt-get install python-cycler is not founded > E: Unable to locate package python-cycler > ~$sudo apt-get install python3-cycler is founded and installed > > ~$sudo apt-get install python-autobahn is not founded > E: Unable to locate package python-autobahn > ~$ sudo apt-get install python3-autobahn is founded and installed > > ~$ sudo apt-get install python-u-msgpack is founded and installed > > The only package not installed is pyhotn-nevow becouse is not founded. > > If I tray tu execute beremiz > ~/Beremiz/beremiz$ python Beremiz.py > Traceback (most recent call last): > File "Beremiz.py", line 31, in <module> > from past.builtins import execfile > ImportError: No module named past.builtins using python can not run. > > if I tray to execute beremiz in python3 > ~/Beremiz/beremiz$ python3 Beremiz.py > Traceback (most recent call last): > File "Beremiz.py", line 33, in <module> > import wx > ModuleNotFoundError: No module named 'wx' > > I can not see what are my wrong step. > > Please do you can help me > > Thank you > > My best regards > > Netza > > ------------------------------------------------------------------------ > *From:* Edouard Tisserant <[hidden email]> > *Sent:* Monday, May 4, 2020 7:45 PM > *To:* [hidden email] > <[hidden email]> > *Subject:* Re: [Beremiz-devel] Installation Process of Beremiz on > ubuntu 20.04LS > > Hi all > > > How to run Beremiz IDE on a brand new Ubuntu 20.04 install : > > ======== > > sudo apt install python-wxgtk3.0 python-lxml python-is-python2 > python-numpy build-essential python-dev-is-python2 > > curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py > python get-pip.py > > pip install future matplotlib zeroconf2 enum34 pyro > > # for runtime only : > pip install pyro twisted nevow autobahn > > ======== > > Best regards > > Edouard > > On 30/04/2020 09:41, Netza Guadarrama wrote: > > Hello, Andrey Skvortsov and enorm Thankyou > > > > When Beremiz will be updated to python3? > > And when the motion control library will be set on Beremiz? > > > > My best regards > > > > Netza > > ------------------------------------------------------------------------ > > *From:* Andrey Skvortsov <[hidden email]> > > *Sent:* Thursday, April 30, 2020 6:28 AM > > *To:* Netza Guadarrama <[hidden email]> > > *Cc:* [hidden email] > > <[hidden email]> > > *Subject:* Re: [Beremiz-devel] Installation Process of Beremiz on > > ubuntu 20.04LS > > > > Beremiz does not support python3 now and python2 is end of life. AFAIK > > ubuntu 20.0.4LTS has only python3. > > > > On Thu, Apr 30, 2020 at 12:10 AM Netza Guadarrama <[hidden email] > > <[hidden email]>> wrote: > > > > Hello Beremiz Team > > > > Folowin the instalation process on https://beremiz.org/doc, I try > > to install Beremiz on ubuntu20.04LTS but, the packages that I can > > not install are: > > > > > > sudo apt-get install pyro > > sudo apt-get install python-nevow > > sudo apt-get install python-mathplotlib > > sudo apt-get isntall python-zeroconf > > sudo apt-get install python-cycler > > sudo apt-get install python-autobahn > > > > And, when I ejecute beremiz > > beremiz$ python3 ./Beremiz.py > > Traceback (most recent call last): > > File "./Beremiz.py", line 33, in <module> > > import wx > > sent an error missing module. > > > > What is the correct installation process for ubuntu 20.04LTS? > > > > _______________________________________________ > > Beremiz-devel mailing list > > [hidden email] > > <[hidden email]> > > https://lists.sourceforge.net/lists/listinfo/beremiz-devel > > > > > > > > _______________________________________________ > > Beremiz-devel mailing list > > [hidden email] > > https://lists.sourceforge.net/lists/listinfo/beremiz-devel > > > _______________________________________________ > Beremiz-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/beremiz-devel _______________________________________________ Beremiz-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/beremiz-devel |
Thanks Netza for the missing dependency !
Le mer. 13 mai 2020 à 07:47, Netza Guadarrama <[hidden email]> a écrit : > > Hello Edouard Tisserant team developers > > I reinstall all again and adding the command > > pip install simplejson > > and now I can run the trafic-light example. > > Thank you > > My best regards > > Netza > ________________________________ > From: Netza Guadarrama <[hidden email]> > Sent: Friday, May 8, 2020 6:55 PM > To: Edouard Tisserant <[hidden email]>; [hidden email] <[hidden email]> > Subject: Re: [Beremiz-devel] Installation Process of Beremiz on ubuntu 20.04LS > > Hello Edouard Tisserant team developers > > Thank you for your time, I use the recommended steps and make the log-out and log-in > > and is now possible to use the command ~$ pip install future matplotlib zeroconf2 enum34 pyro without errors > > and pip install future matplotlib zeroconf2 enum34 pyro installed without errors > and pip install pyro twisted nevow autobahn can be installed but show the next message on yellow: > > > DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support > > > > following the installation files of > sudo apt-get install bison flex autoconf mercurial python-u-msgpack can be installed without errors > > Just in sudo apt-get install python-cycler can not be founded > > Then I use sudo apt-get install python3-cycler and is founded and installed > > when I excecute python Beremiz.py there are not errors on the terminal of ubuntu and is possible to open the program Beremiz > > if I make the compilation of the example trafic-lights on the tests folder all is successfully built > > When I push the Connect to the target PLC button then > > in the terminal of ubuntu sent he next message: > :~/Beremiz/beremiz$ python Beremiz.py > No module named sslpsk > > and Beremiz show the next message: > > Start build in /home/netza/Beremiz/beremiz/tests/traffic_lights/build > Generating SoftPLC IEC-61131 ST/IL/SFC code... > Compiling IEC Program into C code... > Extracting Located Variables... > C code generated successfully. > PLC : > [CC] plc_main.c -> plc_main.o > [CC] plc_debugger.c -> plc_debugger.o > py_ext : > [CC] py_ext.c -> py_ext.o > PLC : > [CC] config.c -> config.o > [CC] resource1.c -> resource1.o > Linking : > [CC] plc_main.o plc_debugger.o py_ext.o config.o resource1.o -> traffic_lights.so > Successfully built. > Traceback (most recent call last): > File "/home/netza/Beremiz/beremiz/Beremiz_service.py", line 489, in <module> > import runtime.WampClient as WC # pylint: disable=ungrouped-imports > File "/home/netza/Beremiz/beremiz/runtime/WampClient.py", line 35, in <module> > from autobahn.wamp.serializer import MsgPackSerializer > ImportError: cannot import name MsgPackSerializer > Beremiz_service: 1.2-b98d9e08231f > WAMP import failed : > HTTP interface port : 8009 > Pyro port : 61404 > Current working directory :/tmp/tmpBdp4Cy > PYRO connecting to URI : PYROLOC://127.0.0.1:61404 > PLC did not provide identity and security information. > Latest build does not match with connected target. > > > after it I select accidentally the selection of ether-cab, and reloaded the example trafic-lights but now then Beremiz can not open the project. > > I don't know if the problem is my installation process, please do you can check or why I can not run the example trafic-lights? > > Thank you again > > and > > My best regards > > Netza > > > > > > > > ________________________________ > From: Edouard Tisserant <[hidden email]> > Sent: Wednesday, May 6, 2020 8:27 AM > To: Netza Guadarrama <[hidden email]>; [hidden email] <[hidden email]> > Subject: Re: [Beremiz-devel] Installation Process of Beremiz on ubuntu 20.04LS > > Bash profile needs to be reloaded to find pip. Logout and login again > after invoking get_pip.py if you where not already using ~/local/bin before. > > > On 06/05/2020 08:07, Netza Guadarrama wrote: > > Hello, Thank you for your time > > > > Following the steps > > > > sudo apt install python-wxgtk3.0 python-lxml python-is-python2 > > python-numpy build-essential python-dev-is-python2 I can install all > > this ones without errors. > > > > but > > > > pip install future matplotlib zeroconf2 enum34 pyro send message that > > pip doesnot exist > > > > ~$ pip install future matplotlib zeroconf2 enum34 pyro > > > > Command 'pip' not found, but there are 18 similar ones. > > > > but if I use > > > > ~$pip3 install future matplotlib zeroconf2 enum34 pyro > > > > I have an error on pyro > > > > I have needed to use ~/.local/bin$python pip install pyro because the > > path of Ubuntu can not see pip. > > > > The error when I use pip3 pyro is: > > Downloading Pyro-3.16.tar.gz (298 kB) > > |████████████████████████████████| 298 kB 27.7 MB/s > > ERROR: Command errored out with exit status 1: > > command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; > > sys.argv[0] = '"'"'/tmp/pip-install-r2dzashq/pyro/setup.py'"'"'; > > __file__='"'"'/tmp/pip-install-r2dzashq/pyro/setup.py'"'"';f=getattr(tokenize, > > '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', > > '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' > > egg_info --egg-base /tmp/pip-install-r2dzashq/pyro/pip-egg-info > > cwd: /tmp/pip-install-r2dzashq/pyro/ > > Complete output (6 lines): > > Traceback (most recent call last): > > File "<string>", line 1, in <module> > > File "/tmp/pip-install-r2dzashq/pyro/setup.py", line 23 > > exec code in constants > > ^ > > SyntaxError: Missing parentheses in call to 'exec' > > ---------------------------------------- > > ERROR: Command errored out with exit status 1: python setup.py > > egg_info Check the logs for full command output. > > > > After the instalations I install > > > > ~$sudo apt-get install bison flex autoconf without error > > > > ~$sudo apt-get install mercurial this said that is installed > > mercurial is already the newest version (5.3.1-1ubuntu1). > > > > ~$sudo apt-get install python-nevow is not foudend > > E: Unable to locate package python-nevow > > > > ~$ sudo apt-get install python3-nevow is not founded too > > E: Unable to locate package python3-nevow > > > > ~$ sudo apt-get install python-cycler is not founded > > E: Unable to locate package python-cycler > > ~$sudo apt-get install python3-cycler is founded and installed > > > > ~$sudo apt-get install python-autobahn is not founded > > E: Unable to locate package python-autobahn > > ~$ sudo apt-get install python3-autobahn is founded and installed > > > > ~$ sudo apt-get install python-u-msgpack is founded and installed > > > > The only package not installed is pyhotn-nevow becouse is not founded. > > > > If I tray tu execute beremiz > > ~/Beremiz/beremiz$ python Beremiz.py > > Traceback (most recent call last): > > File "Beremiz.py", line 31, in <module> > > from past.builtins import execfile > > ImportError: No module named past.builtins using python can not run. > > > > if I tray to execute beremiz in python3 > > ~/Beremiz/beremiz$ python3 Beremiz.py > > Traceback (most recent call last): > > File "Beremiz.py", line 33, in <module> > > import wx > > ModuleNotFoundError: No module named 'wx' > > > > I can not see what are my wrong step. > > > > Please do you can help me > > > > Thank you > > > > My best regards > > > > Netza > > > > ------------------------------------------------------------------------ > > *From:* Edouard Tisserant <[hidden email]> > > *Sent:* Monday, May 4, 2020 7:45 PM > > *To:* [hidden email] > > <[hidden email]> > > *Subject:* Re: [Beremiz-devel] Installation Process of Beremiz on > > ubuntu 20.04LS > > > > Hi all > > > > > > How to run Beremiz IDE on a brand new Ubuntu 20.04 install : > > > > ======== > > > > sudo apt install python-wxgtk3.0 python-lxml python-is-python2 > > python-numpy build-essential python-dev-is-python2 > > > > curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py > > python get-pip.py > > > > pip install future matplotlib zeroconf2 enum34 pyro > > > > # for runtime only : > > pip install pyro twisted nevow autobahn > > > > ======== > > > > Best regards > > > > Edouard > > > > On 30/04/2020 09:41, Netza Guadarrama wrote: > > > Hello, Andrey Skvortsov and enorm Thankyou > > > > > > When Beremiz will be updated to python3? > > > And when the motion control library will be set on Beremiz? > > > > > > My best regards > > > > > > Netza > > > ------------------------------------------------------------------------ > > > *From:* Andrey Skvortsov <[hidden email]> > > > *Sent:* Thursday, April 30, 2020 6:28 AM > > > *To:* Netza Guadarrama <[hidden email]> > > > *Cc:* [hidden email] > > > <[hidden email]> > > > *Subject:* Re: [Beremiz-devel] Installation Process of Beremiz on > > > ubuntu 20.04LS > > > > > > Beremiz does not support python3 now and python2 is end of life. AFAIK > > > ubuntu 20.0.4LTS has only python3. > > > > > > On Thu, Apr 30, 2020 at 12:10 AM Netza Guadarrama <[hidden email] > > > <mailto:[hidden email]>> wrote: > > > > > > Hello Beremiz Team > > > > > > Folowin the instalation process on https://beremiz.org/doc, I try > > > to install Beremiz on ubuntu20.04LTS but, the packages that I can > > > not install are: > > > > > > > > > sudo apt-get install pyro > > > sudo apt-get install python-nevow > > > sudo apt-get install python-mathplotlib > > > sudo apt-get isntall python-zeroconf > > > sudo apt-get install python-cycler > > > sudo apt-get install python-autobahn > > > > > > And, when I ejecute beremiz > > > beremiz$ python3 ./Beremiz.py > > > Traceback (most recent call last): > > > File "./Beremiz.py", line 33, in <module> > > > import wx > > > sent an error missing module. > > > > > > What is the correct installation process for ubuntu 20.04LTS? > > > > > > _______________________________________________ > > > Beremiz-devel mailing list > > > [hidden email] > > > <mailto:[hidden email]> > > > https://lists.sourceforge.net/lists/listinfo/beremiz-devel > > > > > > > > > > > > _______________________________________________ > > > Beremiz-devel mailing list > > > [hidden email] > > > https://lists.sourceforge.net/lists/listinfo/beremiz-devel > > > > > > _______________________________________________ > > Beremiz-devel mailing list > > [hidden email] > > https://lists.sourceforge.net/lists/listinfo/beremiz-devel _______________________________________________ Beremiz-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/beremiz-devel |
Free forum by Nabble | Edit this page |