Giter Club home page Giter Club logo

Comments (3)

renaud avatar renaud commented on June 29, 2024

same here with pip, and easy_install, too:

ren@~$ easy_install ml_metrics
Searching for ml-metrics
Reading http://pypi.python.org/simple/ml_metrics/
Best match: ml-metrics 0.1.3
Downloading https://pypi.python.org/packages/source/m/ml_metrics/ml_metrics-0.1.3.zip#md5=442a74b5e9fbe838386010555025c948
Processing ml_metrics-0.1.3.zip
Writing /var/folders/9j/ghhf52c94bbc9bm4x9sr4cww0000gn/T/easy_install-P7YPTu/ml_metrics-0.1.3/setup.cfg
Running ml_metrics-0.1.3/setup.py -q bdist_egg --dist-dir /var/folders/9j/ghhf52c94bbc9bm4x9sr4cww0000gn/T/easy_install-P7YPTu/ml_metrics-0.1.3/egg-dist-tmp-uyq3Dc
error: requirements.txt: No such file or directory

Installing from source worked, though.

from metrics.

danstowell avatar danstowell commented on June 29, 2024

I had exactly the same problem. It's because the line in setup.py needs changing from

  requirements = [x.strip() for x in open("requirements.txt")]

to

  requirements = [x.strip() for x in open("ml_metrics.egg-info/requires.txt")]

since in the "egg" the requirements file has moved location. I don't know how the egg bundling is managed though, so not sure where the source code fix would go. However, on my machine I manually edited /tmp/pip-build-root/ml-metrics/setup.py after the fail, and then it worked on second try.

from metrics.

denadai2 avatar denadai2 commented on June 29, 2024

#9

from metrics.

Related Issues (19)

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.