Comments (7)
There were no errors when you installed it from the wheel? It looks like you've installed it using the VS compiler instead of minGW. Do you have minGW set up?
from ripser.py.
No errors from wheel... And I had minGW installed when pip install ripser
bombed.
from ripser.py.
Could you try following these steps for the install. They work on Appveyor with conda:
Lines 26 to 39 in 6ae34fc
Some of the steps might not be necessary, but I think the lines
- conda update -q conda
- conda install libpython m2w64-toolchain cython
- echo [build] > %CONDA_PREFIX%\Lib\distutils\distutils.cfg
- echo compiler = mingw32 >> %CONDA_PREFIX%\Lib\distutils\distutils.cfg
will be necessary before installation. The %CONDA_PREFIX%
should be changed to where ever your conda is installed.
from ripser.py.
So that totally worked! Could you shed some light on why that succeeded but pip install ripser
or the wheel file didn't?
from ripser.py.
That's great! I'm glad it worked. I'm still trying to figure out how conda+windows+mingw play together, but I think what's happening here is you are explicitly telling conda to use mingw compiler.
For sake of reproducability, could you share the exact commands you made to get the install to work? This process needs much better documentation.
from ripser.py.
After working on the install on my own and a couple other windows machines, I think the issue is exactly as you say--forcing conda to use mingw to compile as opposed to whatever the default setting is. The errors I came across installing ripser before this particular one I asked about were related to general C++/Cython dependent issues, like pip installing steem, misaka, or related to missing/invalid cl.exe.
In terms of reproducibility, I did exactly the steps you mentioned above in the larger scroll box, not just the four lines you highlighted, except the first--I didn't modify the path. The same commands also worked in my standard environment, so I didn't have to create a new test-environment.
from ripser.py.
Perfect! Thank you.
from ripser.py.
Related Issues (20)
- Issue with plotting dependencies import HOT 7
- ValueError: numpy.ndarray size changed, may indicate binary incompatibility. HOT 7
- Build failure on GNU/Linux (GCC 11.1.0 and Python 3.9.6 on Arch Linux) HOT 3
- Jupyter notebook crash on input of large sparse distance matrix HOT 1
- [Suggestion] Throw exception when computing bottleneck distance
- Dead comments in 0-dimensional computation/preferential treatment of edges with zero value
- get_greedy_perm (Samples) HOT 1
- Get the indices of the vectors forming a hole HOT 2
- Install Ripser on ArchLinux HOT 2
- ld: cannot find /lib64/libpthread.so.0
- `ValueError: numpy.ndarray size changed` HOT 7
- Failed to build ripser, error: subprocess-exited-with-error HOT 6
- Knowing required RAM to run ripser
- Unsuccessful installation HOT 2
- Is there a way to get ripser to use virtual memory? HOT 2
- Failed building wheel for Ripser on Win11 HOT 3
- ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject HOT 1
- Failed building wheel for ripser HOT 1
- Failing to generate H1 result with small dataset. HOT 1
- A potential issue with the `lower_star_img` function with negative numbers HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ripser.py.