jacobjma / PyQSTEM

A Python interface to the electron microscopy simulation program QSTEM
GNU General Public License v3.0
61 stars 29 forks source link

installation problem #16

Open xiongh15 opened 5 years ago

xiongh15 commented 5 years ago

after i excuted “python setup.py install” LINK : fatal error LNK1181: cannot open input file 'fftw3.lib' error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\link.exe' failed with exit status 1181

i don't know how to deal with this problem...

aowenli commented 4 years ago

Have you solved this problem? I have the same problem with you.

JingyiQQQ commented 4 years ago

Yes I found my problem is not enough space in my C:. After clearing it, reintallation is successful. Hope it’s helpful to you and good luck!

On Mon, Jun 1, 2020 at 05:37, aowenli notifications@github.com wrote:

Have you solved this problem? I have the same problem with you.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jacobjma/PyQSTEM/issues/16#issuecomment-636740132, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO5VICXJJGBIW7BVFDSIPTDRUNZFXANCNFSM4IDUPUBQ .

-- Jingyi Qu Ph.D. Student Department of Materials Science and Engineering(MSE) McMaster University, Canada 1280 Main St. West Hamilton, ON L8S 4L8

[image: Map icon] location: Johns Hodgins Engineering Building https://www.mcmaster.ca/welcome/campusmap.cfm [image: Envelope icon] email: quj13@mcmaster.ca

[image: McMaster University Brighter World logo]

aowenli commented 4 years ago

Yes I found my problem is not enough space in my C:. After clearing it, reintallation is successful. Hope it’s helpful to you and good luck! On Mon, Jun 1, 2020 at 05:37, aowenli @.***> wrote: Have you solved this problem? I have the same problem with you.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#16 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO5VICXJJGBIW7BVFDSIPTDRUNZFXANCNFSM4IDUPUBQ .

-- Jingyi Qu Ph.D. Student Department of Materials Science and Engineering(MSE) McMaster University, Canada 1280 Main St. West Hamilton, ON L8S 4L8

[image: Map icon] location: Johns Hodgins Engineering Building https://www.mcmaster.ca/welcome/campusmap.cfm [image: Envelope icon] email: quj13@mcmaster.ca

[image: McMaster University Brighter World logo]

Thanks for your suggestion! But the space in my C:\ should be enough.

aowenli commented 4 years ago

Finally, I succeeded by modifying the file "setup.py"! delete "not is_conda and" in the line 42 "elif not is_conda and get_build_platform() == 'win-amd64':" I think the error might be caused by the file "fftw3.lib" in fold "fftw" can't be found when I have installed anaconda in my computer.

JingyiQQQ commented 4 years ago

Wow it looks quite complicated. You did a good job! Congrats!

On Tue, Jun 2, 2020 at 01:00, aowenli notifications@github.com wrote:

Finally, I succeeded by modifying the file "setup.py"! delete "not is_conda and" in the line 42 "elif not is_conda and get_build_platform() == 'win-amd64':" I think the error might be caused by the file "fftw3.lib" in fold "fftw" can't be found when I have installed anaconda in my computer.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jacobjma/PyQSTEM/issues/16#issuecomment-637273590, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO5VICUPWB5HEJKPXJ7XA53RUSBORANCNFSM4IDUPUBQ .

-- Jingyi Qu Ph.D. Student Department of Materials Science and Engineering(MSE) McMaster University, Canada 1280 Main St. West Hamilton, ON L8S 4L8

[image: Map icon] location: Johns Hodgins Engineering Building https://www.mcmaster.ca/welcome/campusmap.cfm [image: Envelope icon] email: quj13@mcmaster.ca

[image: McMaster University Brighter World logo]

DavidLanders95 commented 4 years ago

Finally, I succeeded by modifying the file "setup.py"! delete "not is_conda and" in the line 42 "elif not is_conda and get_build_platform() == 'win-amd64':" I think the error might be caused by the file "fftw3.lib" in fold "fftw" can't be found when I have installed anaconda in my computer.

This did not solve the problem on windows 10 for me, were you able to run pyqstem after you installed fftw3 this way?