Comments (3)
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.
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.
from metrics.
Related Issues (19)
- requirements.txt missing
- setup.m should adjust for pc vs mac/unix
- Suggested modification to apk function
- Compliment
- Suggested Metric: Mean Absolute Scaled Error HOT 2
- I have used kappa metric provided here and getting a near zero values for complete disagreement instead of -1. Am i missing something? HOT 2
- Metrics R package has been orphaned on CRAN HOT 1
- Metrics::auc fails due to integer overflow HOT 1
- Input to the function
- Drawing AUC curve with Metrics pkg? HOT 1
- Can the ap@K used in recommender system
- Forgot an `import sys` in `setup.py`? HOT 1
- Become maintainer of this package HOT 3
- wrong ap@k
- wrong ap@k HOT 2
- Fix simple typo: prescision -> precision
- Installation problem HOT 3
- AP@K Calculate HOT 1
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 metrics.