-
Notifications
You must be signed in to change notification settings - Fork 6
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
Import larcv error in Python [Mac] #45
Comments
Hi @minjielei - could you try installing larcv3 from source? I think the pypi source files are slightly out of date. Also - could you tell me which way you installed python? brew/port/conda? Port and Conda are known to work, haven't tried brew myself. This mutex lock issue is not one I've seen before. It makes me think it's connected to the GIL, which is why I'm asking about the python install. |
I installed python via conda. Building from source results in the same mutex lock error, but I am able to install and use larcv on a docker container for now. |
FYI, this issue is now opened on pybind11 github: pybind/pybind11#3081 Hopefully we get some advice there. Meanwhile, I'm glad you have it in a docker container and it's working. I'll leave this issue open until we resolve it. ps. sorry for being slow, I had a baby in May and was out for awhile! |
I installed larcv on a clean conda virtual environment using
pip install larcv
and encountered no issues. However, when I try to import larcv I run into the following errorFatal Python error: PyMUTEX_LOCK(_PyRuntime.ceval.gil.mutex) failed
. I am using python 3.7.10 on MacOS11.The text was updated successfully, but these errors were encountered: