forpy icon indicating copy to clipboard operation
forpy copied to clipboard

A nice way to use forpy+matplotlib on Windows

Open implicitall opened this issue 4 years ago • 1 comments

Here an easy way to get going on a Windows machine if you like to work in the WSL environment. Assuming you have installed WSL Ubuntu:

sudo apt install python3-pip pip3 install python-config pip3 install matplotlib sudo apt install python3-tk

Install VcXsrv from https://sourceforge.net/projects/vcxsrv Add "export DISPLAY=localhost:0.0" to ~/.bashrc

Restart your bash Window and it should work. You have to launch VcXsrv if it is not running.

This information was gathered from this post: https://stackoverflow.com/questions/43397162/show-matplotlib-plots-in-ubuntu-windows-subsystem-for-linux

I feel that WSL is a good way to use Windows since Visual Studio Code allows a remote connection to open a folder. But to each his own.

implicitall avatar Nov 30 '19 23:11 implicitall

Thanks for the tutorial!

ylikx avatar Dec 04 '19 14:12 ylikx