Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't run example code on the command line #11

Closed
notwaldorf opened this issue Feb 19, 2022 · 4 comments
Closed

Can't run example code on the command line #11

notwaldorf opened this issue Feb 19, 2022 · 4 comments

Comments

@notwaldorf
Copy link

Using the skull.png file, I run vpype hatched --levels 20 100 180 -p 5 -b 1 skull.png write hatched.svg and get

Error: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
WARNING:root:no geometry to save, no file created

I'm on an M1 mac and my install is a bit messed up ('vpype show' doesn't work), but I wouldn't have thought it affected anything other than the fancy show.

@abey79 abey79 closed this as completed in b514a64 Feb 19, 2022
@abey79
Copy link
Member

abey79 commented Feb 19, 2022

Hello @notwaldorf, thanks a lot for the feedback. It should be fixed now.

@abey79
Copy link
Member

abey79 commented Feb 19, 2022

BTW @notwaldorf, are you aware of the updated M1 install instructions here? They involve a few more steps than I would like but they do work properly (I'm a M1 owner as well).

@notwaldorf
Copy link
Author

Thanks so much for the fix!

Yeah, I followed the new instructions, but I have homebrew instead of ports and there’s something whack going on with one of the dependencies. I get the same resolution conflict as here despite doing all the right things, so I just gave up on the fancy show for now 😅. No worries, writing to files is my jam anyway.

(thank you so much for making vpype, it’s an absolute gem!!!)

@abey79
Copy link
Member

abey79 commented Feb 20, 2022

Yeah I'm not sure why Homebrew causes so much problems. I've had quite an history with that, which is why I always encourage people to try MacPorts. I personally find it superior and it's totally non-intrusive since everything gets installed in /opt/local. Just delete the whole thing if you don't like it :)

(thank you so much for making vpype, it’s an absolute gem!!!)

Much appreciated 🙏🏻 I'm glad you find it useful! (Do watch for the upcoming 1.9 release -- it's gonna be pretty big.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants