C
C
cehka2019-10-05 09:42:46
Python
cehka, 2019-10-05 09:42:46

How to use python installed via bash ubuntu(WSL) in normal command line?

I use WSL and downloaded the Ubuntu console (well, bash), installed python3.7.4 and there are some troubles that are not solved because of WSL, you need to use this python in the usual Windows cmd, this one. Is it possible to somehow write in the path the path to the python installed through the ubunt console?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vreitech, 2019-10-05
@fzfx

More or less like this:
bash -c "/path/to/python /mnt/c/path/to/pyfile.py"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question