Closed robobino closed 5 years ago
Could you remove ~/.platformio/penv
folder and restart VSCode. Does it work now? What is your python --version
?
Could you remove
~/.platformio/penv
folder and restart VSCode. Does it work now? What is yourpython --version
?
Yes, I'm removed all under ~/.platformio/penv, but still the same error persists.
~ python --version
Python 3.7.4
Temporary downgrade to 1.8.0 - it works.
Do you have python2 --version
?
Catalina has python 2.7.16 and python 3.7.3.
~ ❯❯❯ python --version
Python 2.7.16
~ ❯❯❯ python2 --version
Python 2.7.16
~ ❯❯❯ python3 --version
Python 3.7.3
I'm experiencing the same thing here, and came to read through the bugs to see if anyone had made any progress. Let me know if there's anything I can do to help, though I'm not extremely familiar with the process and am just trying to learn PlatformIO
Catalina has python 2.7.16 and python 3.7.3.
It seems like you installed them before on macOS 10.14. Did you install Python 2.7.16 with brew
? Please provide an output from brew list
.
~ ❯❯❯ brew list
adns bison flex gnu-sed htop libgpg-error libssh2 lua mr openssl@1.1 pkg-config tmux zlib
autoconf cmake gawk gnupg jpeg libidn libtasn1 lzip ncurses p11-kit readline tokyo-cabinet
automake coreutils gdbm gnutls libassuan libidn2 libtool lzo nettle pcre socat unbound
bash crosstool-ng gettext go libevent libksba libunistring m4 nmap pcre2 sqlite vde
bettercap cscope git gpgme libffi libpng libusb make npth pinentry swig wget
binutils emacs gmp grep libgcrypt libssh lmdb mpfr openssl pixman talloc xz
Installing python2 from python.org helped solve this.
Do you use brew
? Did you overwrite official Python with a customer before 10.15 update? If yes, please repeat this procedure (reinstall custom Python). Your custom installation is broken.
See the solution here https://github.com/platformio/platformio-vscode-ide/issues/959
%23 Description of problem Leave a comment...
BEFORE SUBMITTING, PLEASE SEARCH FOR DUPLICATES IN
%23 Configuration
VSCode: 1.38.0 PIO IDE: v1.8.3 System: Darwin, 19.0.0, x64
%23 Exception