platformio / platformio-core-installer

PlatformIO Core Installer
https://docs.platformio.org/en/latest/core/installation/index.html
Apache License 2.0
86 stars 53 forks source link

Could not find a version that satisfies the requirement #3129

Open wcpsoft opened 9 months ago

wcpsoft commented 9 months ago

Solution

The problem is caused by the broken Python/PIP configuration on your machine. Most likely, you use overwrote default PyPi index with the espionage repository that does not contain all dependencies required by PlatformIO.

  1. Please ensure that PIP_EXTRA_INDEX_URL environment variable is not set on your machine
  2. Check that pip.conf does not contain any broken or espionage custom index. If you see extra-index-url - remove this line:
[global]
extra-index-url = http://pypi.espionage.malware.cn:8080

The only official PyPi repository that contains official PlatformIO Core distribution is https://pypi.org/simple. Be careful with other repositories as THEN CAN HOST MODIFIED software and inject malwares.


%23 Description of problem Leave a comment...

BEFORE SUBMITTING, PLEASE SEARCH FOR DUPLICATES IN

wcpsoft commented 9 months ago

auto download make don't work. /home/rxzhang/.platformio/penv/bin/pip install platformio is working

ivankravets commented 8 months ago

Could you remove /home/rxzhang/.platformio/penv and restart VSCode? Do you still see this issue?

Do you use official https://pypi.org/simple PyPi index? Please remove any espionage PyPi indexes from your system configuration.