Closed davidchieregato closed 5 years ago
Thank you for your reports. That's weird. Please check the following suggestions:
Your installation is using python setup.py install
. When you enter from sksparse.cholmod import cholesky
, do you use the same python interpreter?
Maybe you can check pip list
(with the same python interpreter) to check whether you can see scikit-sparse
or not.
pip list
will return a long list including scikit-sparse 0.4.3
I have only one python interpreter installed, it's anaconda 3 with python 3.7.3
The situation is actually really strange
Yes, that's really strange. It is difficult for me to simulate your environment. Here are some other possible solutions:
python setup.py install
. Maybe it will print something like requirements is already satisfied.sksparse
module is installed in c:\users\david\anaconda3\lib\site-packages\
. Check whether this address is in the sys.path.c:\users\david\anaconda3\lib\site-packages\
and check there exists a folder named scikit_sparse
(or something like this).help('modules')
, you could see a list of available modules. If everything works well, you are supposed to see sksparse.sys.path.append("path/to/module")
before import it.Feel free to ask me any questions.
Hi
I have a problem with: python setup.py build
The error is: error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe failed with exit status 1181
I am using Windows 10 x64 with Anaconda 3 and Visual Studio 2017.
Hi I have a problem with:
python setup.py build
The error is:error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\link.exe failed with exit status 1181
I am using Windows 10 x64 with Anaconda 3 and Visual Studio 2017.
@ThomasPellegrini Hi, Thank you for your interest. Could you please open a new issue and provide more details about your problem?
@stnoh fixed this bug yesterday. You can try the latest codes.
@davidchieregato I got this error, but after restart cmd and rerun "from sksparse.cholmod import cholesky", it is ok!
@davidchieregato I got this error, but after restart cmd and rerun "from sksparse.cholmod import cholesky", it is ok!
So, no error now? I'm glad this repository still helps many people.
Hello I can follow all the installation steps apparently succesfully but when I try to use the library in python it is not found: the import
from sksparse.cholmod import cholesky
returnsModuleNotFoundError: No module named 'sksparse.cholmod'
I am using Windows 10 x64 with Anaconda 3 and Visual Studio 2017. I can use the compiled packages in Visual Studio C++ projects so the issue is probably in the python installation script.(base) C:\Users\david\Downloads\Cholmod-Scikit-Sparse-Windows-master\scikit-sparse-0.4.3>python setup.py build running build running build_py UPDATING build\lib.win-amd64-3.7\sksparse/_version.py set build\lib.win-amd64-3.7\sksparse/_version.py to '0.4.3' running build_ext skipping 'sksparse\cholmod.c' Cython extension (up-to-date)
Install: