Skip to content

Error while installing from pip #6

Open

Description

@Kaushal28

When I do pip install lanms==1.0.2 in linux, I sometimes get the following error: Python version mismatch: module was compiled for version 3.6, while the interpreter is running version 3.7.

What should I change? When I make it locally using make -C lanms it works. My requirement is to add it as a requirement/dependency instead of adding entire source in my repository.

Activity

  1. mristin commented on Feb 24, 2021

    @mristin

    Hi @Kaushal28 ,
    We provided wheels only for Python 3.6 as that was the version we were targeting in our experiments.

    Python 3.7 could be easily added, but unfortunately I don't have time for it at the moment. If you'd like to have a try, feel free to submit a pull request and I'll upload the additional wheels to PyPI.

  2. Kaushal28 commented on Feb 24, 2021

    @Kaushal28
    Author

    @mristin,

    I just changed the python version in Makefile to 3.7 and then built the package and it's working. I just have to keep entire code with my repo. So is that worth a PR or am I supposed to do something else? Sorry I'm new to packaging C++ code for Python/Building Python extensions.

  3. mristin commented on Feb 24, 2021

    @mristin

    @Kaushal28 , I'm not really knowledgeable on the topic myself; my colleague, Dominik Walder, implemented this package.

    Please have a look at the pull request #1 -- perhaps you might want to finalize it?

  4. AndranikSargsyan commented on Aug 30, 2021

    @AndranikSargsyan

    I also had problems while trying to install lanms using pip, so I ended up repackaging LANMS. You can install it like this pip install lanms-nova. And here's the Github URL for it: https://github.com/AndranikSargsyan/lanms-nova

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

      Issue actions