-
Notifications
You must be signed in to change notification settings - Fork 39
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
No modules named _lowess, _stl, _loess #1
Comments
sorry for not seeing this earlier ... and sorry for not being able to help. i forked this repo some long-ish time ago, and never really got to work on it ... |
I ran into the same error: However, after renaming that file I ran into a new issue: I just came across this package - looks like they interface with R to call STL |
@garnieje @andreas-h This project is named "pyloess", so if you put this project somewhere like "/home/yourname/", and run python console in the same directory, python will first try to import pyloess from your working directory instead of system directory. And there happens to be a "init.py" in "/home/yourname/pyloess",so python will recognise it as a valid python module and try to load it, but python can't find _loess.so in "/home/yourname/pyloss", that's where the ImportError came from. I simply changed the folder name from "pyloess" to "pyloess-project" and everything is fine now. I think it would be better to re-arrange the folder and make it look like this: |
There are still problems with linking. After applying this patch on Ubuntu, I get: "ImportError: loess.so: undefined symbol: drot". This happens when trying to import pyloess, with my working directory outside of the source tree of course. On Windows, I get undefined references to the same linpack routines, but now at compile time: "./src/linpack_lite.f:657: undefined reference to 'drot_'," This among other things. Looks like the setup script needs to be modified to link to the blas/lapack directories when compiling/linking the Fortran code. Sorry, but I do not have the ability to help with that right now. I am going to go with the R package for now. |
Hi There,
I have downloaded the pyloess package.
I have run
python setup.py build
andpython setup.py install
When I type
import pyloess
in the python console, I gotImportError: No module named _lowess
. I can not find_stl
and_loess
as well.I have a Mac OS X 10.9.3 and Python 2.7.8.
Any ideas where that is coming from?
Many thanks,
Jérôme.
The text was updated successfully, but these errors were encountered: