cnlohr / esp82xx

Useful ESP8266 C Environment
Other
288 stars 107 forks source link

Install make and python separately on WSL #97

Closed JINODK closed 3 years ago

JINODK commented 4 years ago

WSL somehow does not want to install python and make when installing with other program. So i suggest install it separately from other program by sudo apt install python make

00 01 11

jinodk@JINODK:~$ sudo apt-get install -y make gcc g++ gperf install-info gawk libexpat-dev python-dev python python-serial sed git unzip bash wget bzip2 libtool-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libexpat1-dev' instead of 'libexpat-dev'
Note, selecting 'python-dev-is-python2' instead of 'python-dev'
Note, selecting 'python-is-python2' instead of 'python'
E: Unable to locate package python-serial
jinodk@JINODK:~$ make

Command 'make' not found, but can be installed with:

sudo apt install make        # version 4.2.1-1.2, or
sudo apt install make-guile  # version 4.2.1-1.2

jinodk@JINODK:~$ python
python.exe    python3       python3.8     python3.dll   python3.exe   python37.dll  pythonw.exe
jinodk@JINODK:~$ sudo apt install python make
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'python-is-python2' instead of 'python'
The following additional packages will be installed:
  python2 python2-minimal python2.7 python2.7-minimal
Suggested packages:
  make-doc python2-doc python-tk python2.7-doc binutils binfmt-support
The following NEW packages will be installed:
  make python-is-python2 python2 python2-minimal python2.7 python2.7-minimal
0 upgraded, 6 newly installed, 0 to remove and 26 not upgraded.
Need to get 1770 kB of archives.
After this operation, 4911 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
[...]
jinodk@JINODK:~$ make
make: *** No targets specified and no makefile found.  Stop.
jinodk@JINODK:~$ python
python        python2       python3       python3.dll   python37.dll
python.exe    python2.7     python3.8     python3.exe   pythonw.exe