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

A nice way to use forpy+matplotlib on Windows #17

Open
implicitall opened this issue Nov 30, 2019 · 1 comment
Open

A nice way to use forpy+matplotlib on Windows #17

implicitall opened this issue Nov 30, 2019 · 1 comment

Comments

@implicitall
Copy link

implicitall commented Nov 30, 2019

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.

@ylikx
Copy link
Owner

ylikx commented Dec 4, 2019

Thanks for the tutorial!

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