Open ZergOfSwarm opened 2 years ago
The project is very old and probably requires an update. I believe there are some changes in the latest Kivy which breaks things.
I tried to install python2/python3 environment... But all times get some errors. Probably I do something wrong! :(
I have tried with pipenv with different versionss of python to install modbus-simulator with no success. Had installation errors with kivy, and couple of version conflicts with pip packages. Below instruction may help for workaround:
system: Ubuntu 20.04
pip3 version on host system: 22.1.2
install virtualenv and activate(check for more kivy installation)
pip3 install virtualenv==20.0.23 virtualenv -p /usr/bin/python2.7 modbus-sim . modbus-sim/bin/activate
pip install -r requirements
Click==7.0 Cython==0.29.2 docutils==0.13.1 Kivy==1.10.1 Kivy-Garden==0.1.4 pygame==1.9.4 pyglet==1.2.4 Pygments==2.1.3 pymodbus==2.1.0 pyserial==3.4 requests==2.12.4 six==1.11.0
The dependencies are very old, the project has not been updated with the latest package upgrades and upgraded kivy version. You can install cython
first and try installing the other requirements if you are still using python2.7.
I have Debian 11 and cant to install a dependency KIVY == 1.10.1! Could you tell me how do you do it?