Comments (3)
It's probably a mismatch between your version of numpy and the one my
program expects. Apparently the return_counts parameter was added in 1.10
-- upgrading should help. I will update the requirements shortly.
-Matt
On Sun, Sep 25, 2016 at 11:17 AM, stephanova [email protected]
wrote:
Hello,
I wanted to try noteshrink.
After installation, I tried with jpg files in examples folder.
For all files, the same error : TypeError: unique() got an unexpected
keyword argument 'return_counts'I do not know how to do ?
Thanks.
steph@Pergolesi $ noteshrink notesA1.jpg
opened notesA1.jpg
getting palette...
Traceback (most recent call last):
File "/usr/local/bin/noteshrink", line 9, in
load_entry_point('noteshrink==0.1.0', 'console_scripts', 'noteshrink')()
File "build/bdist.linux-x86_64/egg/noteshrink.py", line 582, in main
File "build/bdist.linux-x86_64/egg/noteshrink.py", line 558, in
notescan_main
File "build/bdist.linux-x86_64/egg/noteshrink.py", line 381, in
get_palette
File "build/bdist.linux-x86_64/egg/noteshrink.py", line 106, in
get_bg_color
TypeError: unique() got an unexpected keyword argument 'return_counts'—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#6, or mute the thread
https://github.com/notifications/unsubscribe-auth/ADIqHLS3NkF_pXysEa-ODUu-MkzRFZPOks5qtpCMgaJpZM4KF7Mp
.
Matt Zucker
Associate Professor of Engineering, Swarthmore College
[email protected] | 610-328-8636
http://swarthmore.edu/NatSci/mzucker1/
from noteshrink.
Ok thank you Matt.
I tried to upgrade by command "sudo pip install --upgrade numpy" on my system to the version 1.11
I have a success message "Successfully installed numpy" but in results of "pip list" numpy version is again 1.8.2 and noteshrink doesn't work always.
from noteshrink.
Ok it runs well after upgrade to numpy 1.11.2 by command :
sudo easy_install --upgrade numpy
steph@Pergolesi ~ $ pip show numpy
Name: numpy
Version: 1.11.2rc1
The examples work well, the results are very promising.
Good works Matt.
Thanks.
from noteshrink.
Related Issues (20)
- Error: noteshrink.py:132: RuntimeWarning: invalid value encountered in divide HOT 2
- K-means clustering exception with white pages HOT 1
- What about 'noteshrinking' a pdf? HOT 1
- TypeError: only integer arrays with one element can be converted to an index
- TypeError: unique() got an unexpected keyword argument 'return_counts' HOT 3
- Issues with Windows convert HOT 1
- ValueError: cannot reshape array of size 1 into shape (3) HOT 2
- PDF converter requirement HOT 1
- a CLI to automatize the image creation HOT 2
- Warning: Error opening image HOT 3
- New Design
- Feature requests to improve readability
- Convert the result to vector graphics HOT 1
- Add C# and VB.Net project to derived works in your readme
- Can translate python to c++?
- Plagiarism HOT 5
- Will you accept the PR if I port it to C++? :) HOT 6
- ValueError: a must be greater than 0 unless no samples are taken
- ValueError: a must be greater than 0 unless no samples are taken HOT 1
- Doc photos taken by cameras HOT 4
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 noteshrink.