Skip to content

Update README.md with install instructions for openSUSE #585

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

Merged
merged 2 commits into from
Sep 26, 2017

Conversation

joba1
Copy link
Contributor

@joba1 joba1 commented Aug 18, 2017

No description provided.

@joba1
Copy link
Contributor Author

joba1 commented Aug 18, 2017

Tested on Leap 42.2 right now. Works.

@joba1 joba1 closed this Aug 18, 2017
@joba1 joba1 reopened this Aug 18, 2017
@joba1
Copy link
Contributor Author

joba1 commented Aug 18, 2017

Just discovered, this works only, if python version 3 is the default python installation on the system.
If you still use python 2, other packages need to be installed:
sudo zypper install git python-pip python-pyserial
Simply install them as well? Check current default version? Probably it is the same problem on the other distros...

@me-no-dev
Copy link
Member

How about this:

if [ `python --version 2>&1 | grep '2.7' | wc -l` = "1" ]; then \
sudo zypper install git python-pip python-pyserial; \
else \
sudo zypper install git python3-pip python3-pyserial; \
fi && \
sudo usermod -a -G dialout $USER && \
mkdir -p ~/Arduino/hardware/espressif && \
cd ~/Arduino/hardware/espressif && \
git clone https://github.com/espressif/arduino-esp32.git esp32 && \
cd esp32/tools/ && \
python get.py

@joba1
Copy link
Contributor Author

joba1 commented Aug 21, 2017 via email

@me-no-dev
Copy link
Member

OK :) please add it and I will merge

@me-no-dev
Copy link
Member

@joba1 it's been a while :) will you add my workaround for python3 to the PR so I can merge it?

@me-no-dev me-no-dev merged commit dbf7b10 into espressif:master Sep 26, 2017
@joba1 joba1 deleted the joba1-opensuse-install-1 branch October 6, 2017 18:55
aIecxs pushed a commit to aIecxs/arduino-esp32 that referenced this pull request Oct 24, 2024
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

Successfully merging this pull request may close these issues.

2 participants