Skip to content

Can't make pyensembl work on a virtual machine #314

Open
@EmilioKolo

Description

@EmilioKolo

Hi,

I've been running pyensembl on WSL for a while now and I needed to test some scripts on a Linux environment, so I used a virtual machine.

I tried a fresh install on Ubuntu 20.04.6 and Ubuntu 22.04.5, and tried running pyensembl 2.3.13 or 2.3.12.

Pyensembl installs without any apparent error but it does not work when trying to run the script in the virtual environment in which I installed it.

In all cases I got the following error:

RuntimeWarning: Missing required CPU features.

The following required CPU features were not detected:
    popcnt
Continuing to use this version of Polars on this processor will likely result in a crash.
Install the 'polars-lts-cpu' package instead of 'polars' to run Polars with better compatibility.

Installing polars-lts-cpu doesn't change the error. Uninstalling Polars and installing polars-lts-cpu throws a different error:
AttributeError: module 'polars' has no attribute 'Categorical'
Any help will be appreciated.

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