Hi Christoph,

For the tests that I described in my email, I was using Enthought Canopy as my IDE.  Last year, I also tried running kwant from inside Enthought Canopy and failed. Last year, Michael Wimmer suggested that perhaps the issue was with Canopy.

Topday, I augmented my Eclipse IDE for Java Developers with the PyDev installation. I also newly installed Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec  5 2015, 20:40:30) [MSC v.1500 64 bit (AMD64)]

Essentially, I uninstalled Enthought Canopy, configured my PyDev to use the site-packages associated with the Canopy installation. Initial attempt to use Kwant failed, so I uninstalled kwant from the Canopy site package using pip. I installed again kwant, but into the Eclipse/Python2.7.11 framework using its pip installer.

When I tried "import kwant" from the interactive shell, I essentially hit the same traceback error messages that I shared with you from two different attempts earlier this week. I also executed the same pip install command, i.e. pip -v --log log_kwantInstall_011616.txt install --no-deps kwant-1.1.1-cp27-none-win_amd64.whl

I claim that the issue happens at the same place with either IDE: loading lapack dll fails.  Again, the interesting thing is that tinyarray also loads a .pyd file and import tinyarray is successful within the Eclipse/PyDev framework.

Attached is a new set of files logging the migration to Eclipse.  Thanks for any help and guidance that you may provide.

Best regards.

Brendan


On Friday, January 15, 2016 1:28 PM, Brendan McDougall <bamcdougall@yahoo.com> wrote:


Hi Christoph,

Thanks for your support!

I am perplexed regarding my attempts at installing kwant on windows.  TinyArray is functional and the import for TinyArray also calls a DLL file with a .pyd extension.  TinyArray demonstrates that my installation can find and does load DLL files from within Jupyter notebook.

The log file for kwant install was not that informative. I did however uninstall kwant and reinstall kwant.  The uninstall log is more informative.

I've attached some PNG files and the log files for your review. For installation, I executed from CLI
pip -v --log log_kwantInstall.txt install --no-deps kwant-1.1.1-cp27-none-win_amd64.whl

Again, thanks for your time reviewing my particular install issue, and best regards.

Sincerely,

Brendan McDougall


On Friday, January 15, 2016 6:07 AM, Christoph Groth <christoph.groth@cea.fr> wrote:


Hi Brendan,

The error message that you get [1] signals that the module
kwant.linalg.lapack cannot be imported.  This is the extension
module that is created from the source file
kwant/linalg/lapack.pyx.  On Windows it should have the file name
kwant/linalg/lapack.dll, I believe.

Can you tell us how exactly you installed Kwant?  Are you building
Kwant yourself (i.e. using setup.py or pip)?  Can you provide a
log of installation?

Christoph

[1] “ImportError: DLL load failed: The specified module could not
be found.”