Skip to content
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

Library Manager - Install to Local Project Wrong Location #1582

Closed
mriksman opened this issue Mar 5, 2020 · 3 comments
Closed

Library Manager - Install to Local Project Wrong Location #1582

mriksman opened this issue Mar 5, 2020 · 3 comments

Comments

@mriksman
Copy link

mriksman commented Mar 5, 2020

Hi,

First time user of PlatformIO. Off to a rocky start. Installed PlatformIO/VSCode and Python 3.8.2.

To get a feel for the software, I am looking at Library Manager and the lib_deps in Platform.ini.

Library Manager - Global; installs to C:\Users\{username}\.platformio\lib\{libraryname}
Using lib_deps in Platform.ini; installs to {projectname}\.pio\libdeps\esp01_1m\{libraryname}
Using the command line platformio lib install {libraryname} installs to {projectname}\.pio\libdeps\esp01_1m\{libraryname}

But the real confusing one is using
Library Manager - PROJECT LOCAL; installs to C:\Users\{username}\.platformio\penv\Scripts\.pio\libdeps\esp01_1m\{libraryname}

Which doesn't seem right...

@pfeerick
Copy link

pfeerick commented Mar 6, 2020

I can confirm this, and this now explains what I had seen before (the install of a library to a project via PIO Home not working) On linux, I did an PIO Home -> Libraries -> Install to... of a library (OneWire in this instance) to an open project, and it installed the library to ~/.platformio/penv/bin/.pio/libdeps/pro16MHzatmega328/OneWire_ID1 ... although the project directory is actually /media/2TB_upper/Projects/PlatformIO/atmelAvr/7SegmentClock and pro16MHzatmega328 is the name of that particular env. No fancy symbolic links or anything to confuse PIO.

2020-03-06_18-26

image

@pfeerick
Copy link

pfeerick commented Mar 6, 2020

Related issue, which I posted against pio-home thinking it was more likely a fault in that module, rather than in the VSCode IDE extension... platformio/platformio-home#374

@ivankravets
Copy link
Member

Duplicate of platformio/platformio-home#374

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

No branches or pull requests

3 participants