Platformio-core: Solved: Detected unknown package

Created on 14 Oct 2019  Â·  18Comments  Â·  Source: platformio/platformio-core

Solution

  1. Please check your Internet connection, firewall, and antivirus tools which can block PlatformIO.
  2. Try to open PlatformIO Core (CLI) via VSCode > Left Side Bar > PlatformIO > Misc and to install required dev/platform manually:
pio platform install xxxNameOfDevPlatform

Or, start building project with pio run.

IF YOU CAN NOT RESOLVE THIS ISSUE, please leave a comment below.


PIO Core Call Error: "The current working directory C:\Users\Briam\Documents\HI will be used for the project.rnrnThe next files/directories have been created in C:\Users\Briam\Documents\HIrninclude - Put project header files herernlib - Put here project specific (private) librariesrnsrc - Put project source files herernplatformio.ini - Project Configuration FilernnnError: Detected unknown package 'tool-scons'"

help wanted

Most helpful comment

https://www.python.org/downloads/release/python-381/

macOS users

    For Python 3.8.0, we provide one installer: 64-bit-only that works on macOS 10.9 (Mavericks) and later systems.
    Please read the "Important Information" displayed during installation for information about SSL/TLS certificate validation and the running the "Install Certificates.command".

All 18 comments

duplicate for #3115 #3110 #3108 #3094 #3090? please check other issues before posting

Please reopen if you still need help

i'm running OS X 10.10 and i've installed newly VSCode & platformio.

if i want to create a new project, i'm told that platform cannot install the atmelavr package (or any other package - i've tested several).

installing the package via CLI doesn't work either:
PlatformManager: Installing atmelmegaavr
Error: Detected unknown package 'atmelmegaavr'

What is causing the problem?

Please install the latest Python from official web site. Remove ~/.platformio/penv folder and restart VSCode.

Please note that you need also to install SSL certificates. The installation script should be in mounted Python image.

hi @ivankravets,

Thanks for the fast reply.

I've installed the most recent version of python from python.org.
(it's a pkg file without any mounted image)
I've also installed pip with this command:
"sudo curl https://bootstrap.pypa.io/get-pip.py | python3".

Then i deleted the mentioned folder and restarted VSCode
(the part of installation was handled again)


however it didn't change the behavior. 
Any other suggestion?
Any log file i could send?
---
Python 3.8.1
---
pip 19.3.1 from /Library/Python/2.7/site-packages/pip (python 2.7) 
pip 19.3.1 from /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pip (python 3.8)
---

BR
Jens

https://www.python.org/downloads/release/python-381/

macOS users

    For Python 3.8.0, we provide one installer: 64-bit-only that works on macOS 10.9 (Mavericks) and later systems.
    Please read the "Important Information" displayed during installation for information about SSL/TLS certificate validation and the running the "Install Certificates.command".

Wow! Thanks that helped!!

I shouldn't have just clicked away the "Important Information".
Usually this is only some nonsense...

Again - Thanks very much for your fast support!

Jens

We will think about how to help to avoid this mistake. We actually can't run this script because it requires super user's permissions

Happy coding with PlatformIO.

The Error message could hint in this direction.

Then at least the way forward would be clear.
The general error message "unknown package detected" is a little misleading... :)

BTW: coding with platformio rocks - for the couple of hours i now had :)

Hello, I get almost the same warning *Could not initialize the project". First small problem, I cannot copy this (and paste this long message). The Massage is ending with ... Detected unknown package 'atmelavr". My MBP running with 10.11.6.
I press button "Check available solutions" find this. Python 3.8.1 is installed. The "Install Certificates.command" was running.
I don't know how to use the command line solutions above, on left side I find some Terminals... (?).
I have tried some things, but I don't know if it is right. What is meant by "...Misc and to install required dev/platform manually: ".
I cannot delete ~/.platformio/penv because I cannot find it (hidden files are visible).

Andreas

Hi AGKAGK,

you can enter the folder by "goto" in your finder menu and then "goto Folder"

Navigate your Finder to your Home-Folder.
Open the Menu "Goto" and choose "Goto Folder" (2nd to last item)
here you type ".platformio" - enter

now you are in the hidden folder....
Hope this helps

Jens

Halo Jens, l

prima, dank, darüber habe ich es gefunden. (Das nutze ich sonst nicht, ich hatte die Suche verwendet.)
Ich bin (vermutlich) auch einen Schritt weiter, aber gleich gestern Abend, und so auch heute früh bekam ich diese Meldung:

[Error - 8:03:17 AM] Connection to server got closed. Server will not be restarted.

Liegt das nun am Server oder meinem System?

Is the reason for the message the server or my system?

Andreas

P.S. Firewalls are off (Router+MBP)

@AGKAGK could you run this?

python3 -c "from urllib.request import urlopen; print(urlopen('https://github.com').getcode())"

Do yo usee 200?

Thanks ivankravets,

please tell me where to enter this code? And which value you mean with "200"?

In system terminal

It is 200.

Hello, its the same. How ist the stand?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shiohiyoko picture shiohiyoko  Â·  3Comments

0x587 picture 0x587  Â·  3Comments

maxgerhardt picture maxgerhardt  Â·  4Comments

probonopd picture probonopd  Â·  6Comments

424778940z picture 424778940z  Â·  5Comments