acor icon indicating copy to clipboard operation
acor copied to clipboard

No module named '_acor'

Open benjaminpope opened this issue 7 years ago • 2 comments

Hi Dan,

Been using your acor for years and moved to Python 3 and a fresh install. From either pip or git clone python setup.py installs, I get this weird bug:

In [1]: from acor import acor

ModuleNotFoundError Traceback (most recent call last) in () ----> 1 from acor import acor

/anaconda3/lib/python3.7/site-packages/acor/acor.py in () 3 import numpy as np 4 ----> 5 import _acor 6 7

ModuleNotFoundError: No module named '_acor'

benjaminpope avatar Jan 14 '19 23:01 benjaminpope

Try cd out of the repository directory and try again.

Tony607 avatar Feb 21 '19 13:02 Tony607

For me the solution was to actually cd into the repository directory. Seems like python did not find the _acor***.so file otherwise.

AndreWaehlisch avatar Aug 11 '21 09:08 AndreWaehlisch