whitews / FlowKit

A Python toolkit for flow cytometry analysis supporting GatingML and FlowJo workspaces
https://flowkit.readthedocs.io
BSD 3-Clause "New" or "Revised" License
153 stars 38 forks source link

Importing Flowkit causes Bus Error #187

Closed AkshatJain9 closed 6 months ago

AkshatJain9 commented 6 months ago

Describe the bug I'm having trouble importing flowkit into a python script. For some reason, it causes a bus error upon importing (there is nothing else in the file)

Code To Reproduce Code to reproduce the behavior:

import flowkit as fk

Screenshot from 2024-03-13 10-52-48

Screenshots

Desktop (please complete the following information):

Additional context On every other machine, the script I am running works fine, so I am assuming it could be to do something regarding a flowkit / ubuntu incompatibility.

whitews commented 6 months ago

Am I reading correctly that you reduced the script to just the import? What version of Ubuntu are you running and what CPU architecture?

AkshatJain9 commented 6 months ago

Yes, I am using 20.04.6 and I'm on an x64 architecture

whitews commented 6 months ago

That's odd, and any other normal Python script (say with a numpy import) works fine on this machine?

AkshatJain9 commented 6 months ago

Yep

whitews commented 6 months ago

Can you try importing flowutils (a dependency of FlowKit) and see if that also triggers the error?

AkshatJain9 commented 6 months ago

Sure, that works fine, no error there

AkshatJain9 commented 6 months ago

Hi, just an update, upgrading to python 3.10 fixed the issue. Feel free to close this, but it could be worth noting this somewhere for anyone in the future.

whitews commented 6 months ago

Thanks for the update, not sure what the issue was. Maybe something was borked with the other environment as I have used 3.8 on Ubuntu without issues.