-
Notifications
You must be signed in to change notification settings - Fork 113
Cannot install it correctly on macOS Big Sur #70
Comments
The same happen on Windows also. |
Just open a PIO terminal and do a |
And this is the result: This still doesn't help. |
You're still using your global 3.9 installation and not the isolated 3.8 installation of PlatformIO. Try it this way in a normal terminal:
|
There is no "Scripts" folder there. |
How did you install PlatformIO? Via the CLI first or just with the VSCode plugin? |
VSCode plugin |
There is /Users/home/.platformio/penv/ but without "Scripts". In "bin" folder there is "activate", but it's not executable. |
Is a |
Okay please post the output of Otherwise you can try to replace this line
with try:
from asn1crypto.x509 import Certificate
except ImportError:
env.Execute(
env.VerboseAction(
'$PYTHONEXE -m pip install "asn1crypto" ',
"ASN1 crypto import failed, installing.",
)
) and try building twice (first to catch error + install, second to actually execute) |
It worked! At least continued with the compilation. Thanks a lot! |
I've proposed that in PR #71 :) However, this should also be equivalent of executing |
@maxgerhardt Thanks for supporting, and for the pull request. Indeed automatic installation of this dependency (and others) was already on my list for some time. I appreciate it! |
After installing the library via PlatfromIO on Visual Studio Code and when I try to build the project I get:
I have already installed asn1crypto globally, but it's strange that this is a some other environment. My Python is 3.9, not 3.8.
Is it possible this library to auto-install asn1crypto where is needed during installation process in Visual Studio Code?
The text was updated successfully, but these errors were encountered: