-
Notifications
You must be signed in to change notification settings - Fork 60
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
Visual Studio failed with exit status 2 #49
Comments
Hello Jacob, Unfortunately, ripser.py doesn't support the Visual Studio compiler. We actually have a prebuilt binary on pypi that was built with mingw. I believe this is the download link for the mingw runtimes So try installing the mingw runtimes, and then try ``pip install ripser'' again (you'll have to elaborate on the --no-cache-dir if that happens again...I haven't heard of that before. You're not downloading the source, are you)?) Let me know if that works, and sorry again for the trouble |
Ok thanks for the pointer. As I understand it, to use a non-default compiler you have to manually download and then build using --compiler=mingw32. I tried this as shown below, but I received a new error message.
|
Have you tried installing without the flag? Once MinGW is installed, please try just the command
|
Yes I've tried that. I may be misunderstanding things, but I believe installing MinGW doesn't change the default compiler used by pip. I still get the same error message I did the first time. I've also tried using MinGW by the command |
My apologies for the trouble, thanks for bearing with us. Windows is a weakness of mine. I think if you add MinGW to your path, it might fix the problem. That was the solution in #46. |
That error came after adding MinGW to my path i.e. C:\Program Files\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin; If I do not add MinGW to my path I get a different error. See below. Thanks for bearing with me too, this seems to be more of a compiler issue on my end rather than a ripser issue. Perhaps the guy in the other thread installed a different version of MinGW? I'll take a look.
|
This SO thread might have the solution: https://stackoverflow.com/a/45096737/8054875 |
Hi all,
I'm a bit confused. Why are you trying to compile from source? We have
prebuilt binaries on pypi. The mingw runtimes don't work with that?
…On Thu, Oct 11, 2018, 8:07 PM Nathaniel Saul ***@***.***> wrote:
This SO thread might have the solution:
https://stackoverflow.com/a/45096737/8054875
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#49 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABNh5j1QjQ_wdUHe2WRaGKbuHl7GJpluks5uj4jkgaJpZM4XVltZ>
.
|
In the end I used linux instead, and installation worked fine. |
Okay sorry for the trouble!
…On Mon, Oct 15, 2018, 12:39 PM Jacob ***@***.***> wrote:
In the end I used linux instead, and installation worked fine.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#49 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABNh5mCNEFINCBWUr20hGY4Cj8WuL14eks5ulLpcgaJpZM4XVltZ>
.
|
Is there any python 3.7 version of wheel file? I am on windows too, cp36 said not a support on this platform. |
Is it possible to make pip install work on windows by modifying the setup file? |
@GeekMe93 I'm working on Python 3.7 wheels and will try to have them up before the end of the ay. |
@sauln It seems like it's not building the cython modules here. I thought
the MANIFEST.in file would take care of this
https://github.com/scikit-tda/ripser.py/blob/master/MANIFEST.in
but this always seems to come up again...
…On Sun, Nov 22, 2020 at 8:25 AM kezard ***@***.***> wrote:
Hi, I can pip ripser 0.6.0 successfully, but when I import it in the
compile error comes:
[image: image]
<https://user-images.githubusercontent.com/57929197/99904987-04000d80-2d09-11eb-8040-d2d1d75695be.png>
I can't get the package "pyRipser" or It has been removed? so I can't call
the package"ripser" successfuly... Is there anybody has the same problem
with me ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#49 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJWDZUIRSADIPYKNHU5F63SREGMLANCNFSM4F2WLNMQ>
.
|
Hi,
I tried to install ripser, but I ran into a couple error messages. First I had a building wheel error which appears to be resolved by adding "--no-cache-dir" to the install command. Then I ran into an error apparently with Visual Studio: "error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2".
I've tried reinstalling VS with the 2017 version as well, and a similar error occurs.
The text was updated successfully, but these errors were encountered: