Code Monkey home page Code Monkey logo

Comments (7)

lucy-itjob avatar lucy-itjob commented on April 27, 2024 3

No distributions at all found for murmurhash<0.27,>=0.26 (from spacy==1.9.0) still happening during the installation on spacy 1.9.0

any suggestions? thinks

from spacy.

honnibal avatar honnibal commented on April 27, 2024

Hmm. I'll have a think about the best way to address this.

spaCy depends on header files for murmurhash and numpy during compilation. It tries to install these in the directory indicated by sys.prefix. This works fine if you're using a virtualenv, and fine if you do a system-wide install --- but, I didn't think of the case you raise, where you want a local install without a virtualenv.

Python packaging is really bad, so it's hard to support everything smoothly.

The installation process I'm using is actually a workaround for a long-standing bug in setuptools: you can't specify a package as both install_requires and setup_requires. This means setup_requires is mostly useless, but this bug has been around for over a year, with no real proposed solution.

So: I'll figure out what to do here. But, in the meantime, you could just use virtualenv?

from spacy.

everdark avatar everdark commented on April 27, 2024

Hi, I got another problem related to murmurhash when installing the package. (with sudo pip install)
It states:

clang: error: no such file or directory: 'murmurhash/mrmr.c'
clang: error: no input files
error: command 'cc' failed with exit status 1

I am not sure how to deal with it. Do I miss some files related to the c language?

from spacy.

mdtux89 avatar mdtux89 commented on April 27, 2024

Hi, @everdark. I have the exact same issue. Did you manage to solve it? Never mind. I solved by upgrading setuptools.

from spacy.

everdark avatar everdark commented on April 27, 2024

@mdtux89 Somehow i decided not to use this module so i didn't try to solve it anymore. :) anyway thanks for the info.

from spacy.

honnibal avatar honnibal commented on April 27, 2024

This should be fixed in the next release, as the build process has been redesigned and there's a much better test infrastructure in place.

I hope you'll try again with the library if you need NLP in future.

from spacy.

lock avatar lock commented on April 27, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

from spacy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.