chrchang / plink-ng

A comprehensive update to the PLINK association analysis toolset. Beta testing of the first new version (1.90), focused on speed and memory efficiency improvements, is finishing up. Development is now focused on building out support for multiallelic, phased, and dosage data in PLINK 2.0.

Home Page:https://www.cog-genomics.org/plink/2.0/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python API import errors with latest version

francois-a opened this issue · comments

When installing from PyPI:

import pgenlib
ImportError: .../pgenlib.cpython-311-x86_64-linux-gnu.so: undefined symbol: zError

When compiling from the repository (following instructions in the README):

import pgenlib
ImportError: .../pgenlib.cpython-311-x86_64-linux-gnu.so: undefined symbol: inflate

Please let me know if you need additional details.

You need to install zlib on your system.

I should have mentioned that, it's installed.

Ok, I've replicated this issue on a Linux test machine, will try to post a fix today.

pgenlib 0.90.1 is posted; let me know if it doesn't solve the problem for you.

Awesome! Thanks for the quick fix, it works now.