Comments (24)
gmpy2
depend on these computation library, so these library need to be installed when python tries to compile and install the package.
wheel
should be able so solve this problem. https://github.com/pypa/manylinux. Maybe we can provide the wheel
format package.
from simhash.
from simhash.
@bebound Could you help take a look?
from simhash.
I'm using macOS, and I have no issue installing gmpy2
Some said it can be installed following these steps, can you check this please? @ajdapretnar
brew install gmp
brew install mpfr
brew install libmpc
pip install gmpy2
from simhash.
Perhaps, but in our project we can't be brew-installing additional dependencies on users' systems. ๐ It's only pip and/or conda we can use. I am on High Sierra 10.13.6. I'll ask my colleagues to try the same and see if they experience the same problem.
from simhash.
I have asked them and those that don't have many build utilities installed weren't able to install it. Those that do - no problem. I think a solution would be to provide a Mac build.
from simhash.
Which python are you using? I'm trying to build a wheel, can you help test whether it works?
from simhash.
I just now uploaded wheel
packages for the most recent version 1.10.1
https://pypi.org/project/simhash/1.10.1/#files
Can you try if it works? @ajdapretnar Thanks.
from simhash.
I am using Py3.8 and Py3.6. I've tried it and it doesn't work. ๐ I appreciate your effort!
from simhash.
Seems we can only pre-compile this project's C dependencies with wheel.
gmpy2
only provides wheel for windows, and Conda
provide gmpy2 package.
pip
user has to install these package manually:
apt-get install libgmp-dev
apt-get install libmpfr-dev
apt-get install libmpc-dev
from simhash.
I built a gmpy2 wheel, can you check if this works?
Change the suffix from zip to whl, and python3.6 -m pip install gmpy2-2.1.0b5-cp36-cp36m-manylinux2014_x86_64.whl
.
gmpy2-2.1.0b5-cp36-cp36m-manylinux2014_x86_64.zip
from simhash.
I tried, but this seems like a Linux wheel and I am on OSX. Anyhow, it reports wheel not supported on this platform.
from simhash.
@ajdapretnar How about this one?
gmpy2-2.1.0b5-cp36-cp36m-macosx_10_9_x86_64.zip
gmpy2-2.1.0b5-cp38-cp38-macosx_10_9_x86_64.zip
from simhash.
@bebound I'll revert the change of GMP first. Let's find a way to resolve this thoroughly later.
from simhash.
Yes, it works. ๐
from simhash.
from simhash.
Hi @bebound I see your pull request has been merged, so just curious, any plan on this? ๐
from simhash.
The wheels can be found here: https://github.com/aleaxit/gmpy/actions/runs/97828599, but this has not been uploaded to pypi.
PS: It seems the maintainer has trouble with windows pip install.
from simhash.
in our project we can't be brew-installing additional dependencies
on users' systems. It's only pip and/or conda we can use.
One can conda install gmpy2
via the conda-forge
channel.
from simhash.
gmpy
has wheels on pypi now, would you like to use gmpy2 now? @1e0ng
from simhash.
Sure, @bebound would you like to create a pull request?
from simhash.
Okay.
from simhash.
I found there is no wheels for MacBook with Apple Silicon. I'll make the wheel first and create PR later.
from simhash.
I've create #67
from simhash.
Related Issues (20)
- Seemly wrong result HOT 3
- SimhashIndex.get_near_dups lost the order of similarity of index HOT 4
- Calculate distance together should improve the speed 10x HOT 2
- Broken link in a comment HOT 3
- Fast simhash calculation using numpy HOT 1
- How to suppress "Big bucket found" HOT 1
- Simhash returning same value for different length strings HOT 1
- Question regarding bucket implementation HOT 2
- how to suport big bucket calculating fast๏ผ HOT 1
- different list of tokens with different weight generates the same value? HOT 1
- Unable to see near by duplication
- Need more explanatory documentation to use code. HOT 1
- Seems not work on Chinese character? HOT 1
- How to use simhash() to check the similarity of different .html files๏ผ HOT 2
- Dimension of simhash fingerprint not always equal to 64 HOT 2
- Usage of `collections.Iterable` which is absent in Python 3.10 HOT 3
- converting simhash strings to simhash objects HOT 2
- Issue downloading latest version 2.1.0 from pipy with Python 3 HOT 4
- Delete this line HOT 2
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 simhash.