Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed install #36

Open
worikgh opened this issue Dec 10, 2023 · 2 comments
Open

Failed install #36

worikgh opened this issue Dec 10, 2023 · 2 comments

Comments

@worikgh
Copy link

worikgh commented Dec 10, 2023

Following the instructions from the README.rst

Start by cloning the repository::

    $ git clone git://github.com/moddevices/mod-ui
    $ cd mod-ui

Create a python virtualenv::

    $ virtualenv modui-env
    $ source modui-env/bin/activate

Install python requirements::

    $ pip3 install -r requirements.txt

Compile libmod_utils::

    $ make -C utils

At the pip3 install -r requirements.txt step....

Installing collected packages: tornado, pyserial, pycrypto, Pillow, aggdraw
  Running setup.py install for pycrypto ... error
  error: subprocess-exited-with-error
  
  × Running setup.py install for pycrypto did not run successfully.
  │ exit code: 1
  ╰─> [7 lines of output]
      /home/puppy/mod-ui/modui-env/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        warnings.warn(
      src/_fastmath.c:32:10: fatal error: longintrepr.h: No such file or directory
         32 | #include <longintrepr.h>                                /* for conversions */
            |          ^~~~~~~~~~~~~~~
      compilation terminated.
      error: command '/usr/bin/gcc' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> pycrypto

note: This is an issue with the package mentioned above, not pip.
@worikgh
Copy link
Author

worikgh commented Dec 10, 2023

Wrong repository, sorry

@worikgh
Copy link
Author

worikgh commented Dec 10, 2023

Closing here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant