Comments (9)
Hi,
I never tested it on a window machine, but from the error messages it looks like it might be a cython problem. Could you try updating your cython?
M
from pytetgen.
I'd originally installed it from conda today, and tried uninstalling and reinstalling it using pip, but I get the same error.
from pytetgen.
Mhhh... I'm using py3.6 on my machine. I will have it tested on travis and will let you know asap.
from pytetgen.
Bad luck:
Worker information
The language 'python' is currently unsupported on the Windows Build Environment.
I'll try something else.
from pytetgen.
Still haven't managed to try it on a windows machine, but now it behaves well with python3.x.
The old implementation had a problem with the GIL and memory management.
Could you try upgrading with pip install --upgrade pytetgen
? The new version should be 0.2.0
Most likely the problem was the old .cpp source included in the package, which was definitely not compatible with python3.x. Another option, if still it does not work, would be to install from source to generate the .cpp source from .pyx directly on your machine ( pip install --compile .
from within the source directory)
from pytetgen.
Yes! That built and installed!
from pytetgen.
Wahey! And it's twice as fast as scipy's implementation on my computer!
from pytetgen.
That was for 1 million 2D points:
import numpy as np
points = np.random.random((1000000, 2)) * (1000, 1000) # spread over 0-1000 bc we could run into floating point errors
import pytetgen
from scipy.spatial import Delaunay
%timeit Delaunay(points)
%timeit pytetgen.Delaunay(points)
6.34 s ± 20.8 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
3.04 s ± 14.7 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
from pytetgen.
I guess this can be closed.
from pytetgen.
Related Issues (5)
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 pytetgen.