Closed ahmadomira closed 3 years ago
This reads like the python interpreter cannot load the compiled source objects but finds the header references (__init__.py
) of the package and its submodules. That's most likely an issue on your local side, possibly caused by one of the following reasons:
pip
and is now required from python3
(for the sphinx build)sudo
)sys.path
, the source code directory (contained in the base repository path) is higher in import priority than any of the buid directories. Since the binaries are no longer compiled next to the source, but rather being collated in a separate build
directory, having the blank source files in some high-priority might cause this effect, too.Please update if the problem still persists
Testing with verious python (2.7, 3.5, 3.7 and 3.9) and OS versions (Debian 10, Windows 10, WSL 1 Debian 9, WSL 1 Debian 10, WSL 1 Ubuntu) did not reveal any problems so far, meaning that this circumstance could not be reproduced yet.
Please reopen the issue if you find a reproducible setup to continue this investigation
Running following command from fastmat root directory:
after cythonizing 27 fastmat's objects:
OS: MacOS Big Sur version 11.0.1 Python: v3.8.6 C-compiler: Clang 6.0 (clang-600.0.57)