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

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

Open
EmilioKolo opened this issue Feb 15, 2025 · 0 comments
Open

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

EmilioKolo opened this issue Feb 15, 2025 · 0 comments

Comments

@EmilioKolo
Copy link

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.

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