-
Notifications
You must be signed in to change notification settings - Fork 331
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
MacOS: Error: invalid option: --with-librsvg #33
Comments
That's weird. What version of OS X and brew ( |
hmm... yeah,Those options for the libraries are on the package. when I asked for information I get the following:
wow. I get the error myself now. wth?! something has changed. This page seems to show that the option is valid but it's not working anymore: https://formulae.brew.sh/formula/graphviz it doesn't like the pango one either. crap. |
well, crap. It appears they have removed the options. see here https://github.com/Homebrew/homebrew-core/blob/master/Formula/graphviz.rb I can't even install it myself at the moment!!! damn! |
Dude that sucks! I am really sorry to hear that...well in the meantime, I can just try running it on my ubuntu machine. |
no biggie :) So svg comes out of linux no problem? |
On my other mac, i see:
Ok, so a diff of graphviz.rb shows they deleted these:
Ok, so the bastards decided those options are bad universally as they require it to be built from source: Homebrew/homebrew-core#31510 |
@EricCacciavillani glad it's kinda working. yeah, int only class targets. |
I can work with that. I admit I want to work with floats at times for my data, but then again binning is a thing and provides less overall noise in the dataset. So this will work for a majority of my datasets and dts but not all;(like 95% of the time this will be awesome) which again is still fantastic Thanks so much for your time. I will be suggesting this to other data scientists I know. (Most of em have a Ubuntu machine so this will work well for them. Hopefully, you find a way to fix the mac problem but it does seem like its going to be a living nightmare...like just why....) |
Ok, try this: brew uninstall graphviz
brew upgrade pango librsvg
cd /tmp
wget https://graphviz.gitlab.io/pub/graphviz/stable/SOURCES/graphviz.tar.gz
tar xvfz graphviz.tar.gz
cd graphviz-2.40.1/
rm -rf /usr/local/lib/graphviz # in case old stuff is there
./configure --includedir=/usr/local/include/graphviz
make -j 8 # 8 threads
make install |
make sure it's using /usr/local/bin/dot not, for example, /Users/parrt/anaconda3/bin/dot Try |
I will give this a try in a tiny bit sorry was finishing up a presentation. Really sorry....also I am an idiot I thought you wanted the matrix to be ints only...thank god that isnt the case...I really need to sleep more... dot -Tsvg:cairo isn't showing up....but I did everything else going to spin up a JuypterLab to see if this works...fingers crossed! Again terribly sorry I got sidetracked that was incredibly rude to you. |
Damn! is the date on that |
Didn't look like any errors happened. I dont understand what you mean by the "date of that dot". |
meaning timestamp |
dang it! if it builds, this really should work. grrr....does your configure help show this:
|
the |
yup. ok, soooo weird. ok, let me try on a few other macs and let you know. i've reopened :) thanks much for the help. |
No problem I will keep revisiting for any updates. |
@EricCacciavillani Can you verify that it is linking to the correct
It should be:
and NOT:
|
dang. I tried that sequence on a 3rd mac and it worked well. How about doing a |
Np I'll live! I still got my Ubuntu machine! :3 |
ok, cool. i'll close for now. |
I have this same issue. |
have tried all of the steps posted here so far. |
Have you tried what's on the home page?
|
I had to pass the
|
wow. really? Ok, I am adding to the readme. Thank you |
@pingwhistle 's suggestion worked for me as well :D |
Hi there. I got the same error and I also tried all steps posted here. Here is my last actions:
Then I run
And got
My mac data: Thanks. |
Thanks. we need to know WHICH |
Thanks for attention.
|
Hmm...that's correct. does |
Command
and then
|
Dang. I'm at a loss I'm afraid. :( |
Same problem here.
I have encountered a suspicious message before:
|
I am also facing such an issue.
In particular: How can I get the pangocairo library? Can't seem to find much information on the web, this seems like the most relevant and active thread around. Hope we can resolve this issue soon! |
Hi. We have a potential solution but I haven't checked it yet: #36 Can you try it? |
Hi all, Hope this helps in some way. It appears that svg:cairo is no longer supported on 10.14. I hear is what I did at home. I also tested on Windows 10:
Then updated trees.py to only use dot -Tsvg, as per the pull request. This however, does not solve the original font calculation problems that cairo solved, so some minor tweaks to this branch are needed. You can also see what I had to do on Windows 10:
|
@lutaev @likejazz @breadplop are you folks on 10.13 or 10.14 os x? |
@parrt I have the exact same issue I am running 10.14 followed the last pull request but no luck |
Rats! Maybe @gautamkarnik, who has 10.14, can figure this out. |
Just got this working on a student's laptop. All i did was the preamble:
and then the os x instructions. works great on 10.13. |
Fixed by b655c62 |
First off thank you for creating the dependency it looks incredible to use.
But sadly I cant seem to install graphiz. Following the instructions for issue #23 I am confused with what I am supposed to do:
1.) I have xcode-select installed
2.) I ran "sudo xcodebuild -license" from the command-line (I dont understand why...just to confirm I got it I guess.)
3.) I run "brew uninstall graphviz"
4.) then finally run "brew install graphviz --with-librsvg --with-pango" in command-line
Then I get the following error
Error: invalid option: --with-librsvg
Thank you in advance for any help.
The text was updated successfully, but these errors were encountered: