Skip to content

How did you install a dependency KIVY == 1.10.1? #15

Open
@ZergOfSwarm

Description

@ZergOfSwarm

I have Debian 11 and cant to install a dependency KIVY == 1.10.1! Could you tell me how do you do it?

Activity

dhoomakethu

dhoomakethu commented on Jan 13, 2022

@dhoomakethu
Collaborator

The project is very old and probably requires an update. I believe there are some changes in the latest Kivy which breaks things.

ZergOfSwarm

ZergOfSwarm commented on Jan 13, 2022

@ZergOfSwarm
Author

I tried to install python2/python3 environment... But all times get some errors. Probably I do something wrong! :(

modisnuqa

modisnuqa commented on Jun 3, 2022

@modisnuqa
  • 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

    • install pip requirements

      pip install -r requirements

    • 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

dhoomakethu

dhoomakethu commented on Jun 4, 2022

@dhoomakethu
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @dhoomakethu@ZergOfSwarm@modisnuqa

        Issue actions

          How did you install a dependency KIVY == 1.10.1? · Issue #15 · pymodbus-dev/modbus-simulator