-
-
Notifications
You must be signed in to change notification settings - Fork 708
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
Graphviz installation issues for Windows #86
Comments
Do you mean anything not already included here? In any case docs should be improved regarding this library usage. Even on Linux I end up reading some solution on SO. |
The only thing I know is that installing the |
@jennirinker would it possible to elaborate a little more on this? Could you provide a traceback? |
I also had a bug with this and haven't figured out how to get it working. I am running Windows 10. Here is the error printed in the notebook.
|
@cjc77 You should add this source activate dask-tutorial
conda install -c conda-forge python-graphviz |
If that succeeds, would like to see it added to the instructions. |
@martindurant let me check and I'll eventually make a PR. |
@rpanai - thanks for the recommendation. However, this did not solve my issue. I have the following versions installed in my conda environment:
|
What message do you get from just Is Dask Py3 only now? We could change import required to use |
I believe we are free now to make some py3-only code, but starting with distributed first, and that they should be limited and easily rolled back. py2 is still in the test matrix for dask. |
@cjc77 If you are trying to run |
|
@cjc77 Are you in Windows or in Linux? Cos maybe is better to split the issue given that @jennirinker issue is (?) a windows only one |
@rpanai I am on Windows 10. #86 (comment) |
@cjc77 my bad. Anyway this is happening in Linux too. |
I started from scratch and now am getting a new error. What I have installed (via
New Error:
|
Hi all, Sorry for my delayed response -- been on vacation. What I had to do to get graphviz working was to install it manually and add the executable to the path. Found the solution somewhere on stackexchange. It seems that the conda recipes (either on the default channel or conda forge) don't seem to be sufficient for graphviz to work right...a classic Windows problem. More detailed instructions:
After doing this, and with the |
To follow up on @jennirinker 's excellent instructions, I would recommend a system restart between steps 2 and 3 - after performing the installation steps, I still received the same exception in my Jupyter notebook until I restarted my machine. Things seem to work now. |
I don’t think a restart should be necessary. They problem is ensuring that graphviz’s binaries are on the path of the notebook kernel. We can link to that section of the Graphviz docs and recommend an easy way to check for the commands.
… On May 20, 2019, at 13:01, cjc77 ***@***.***> wrote:
To follow up on @jennirinker 's excellent instructions, I would recommend a system restart between steps 2 and 3 - after performing the installation steps, I still received the same exception in my Jupyter notebook until I restarted my machine. Things seem to work now.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Note there was a recent fix in the conda install -c conda-forge python-graphviz should work on Windows today |
Looks like Windows users need to jump through a few more hoops in order to get graphviz to work, which is unfortunately needed for any
.visualize
commands. I'll make a pull request with some clarification in the instructions once I sort it out fully, if that's alright.The text was updated successfully, but these errors were encountered: