Can't install "Seeed-Studio/seeed-ardupy-sdcard" via aip

Hi,
i can’t install librays for wio-terminal with aip. For example when i try
“aip install Seed-Studio\seeed-ardupy-sdcard”

I get the error:
ERROR: Could not find a suitable TLS CA certificate bundle, invalid path: C:\Users\Lutz\AppData\Local\Temp_MEI107522\pip_vendor\certifi\cacert.pem

what can i do?

thanks, Lutz

Hi @ardu1,

Can you type pip list and show me the output here to figure out the version of ArduPy you are using?

Currently, ArduPy is in v0.8.1

Also, can I know which operating system you are using?

Best Regards,
Lakshantha

Hi lakshan,

thanks for you info. I have copy aip for windows 64 from this site:

and copyd in my Python-Path

it’s Version 0.5.0

the installation via pip3 don’t run. It generate errors:

C:\Users\Lutz>aip -V
‘packages’
Traceback (most recent call last):
File “c:\users\lutz\appdata\local\programs\python\python38\lib\runpy.py”, line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File “c:\users\lutz\appdata\local\programs\python\python38\lib\runpy.py”, line 87, in run_code
exec(code, run_globals)
File "C:\Users\Lutz\AppData\Local\Programs\Python\Python38\Scripts\aip.exe_main
.py", line 7, in
File “c:\users\lutz\appdata\local\programs\python\python38\lib\site-packages\aip\main.py”, line 52, in main
from aip.command import commands_dict, parse_command
File “c:\users\lutz\appdata\local\programs\python\python38\lib\site-packages\aip\command.py”, line 46, in
from aip.build import buildCommand
File “c:\users\lutz\appdata\local\programs\python\python38\lib\site-packages\aip\build.py”, line 34, in
from pip._internal.operations.prepare import (
ImportError: cannot import name ‘_download_http_url’ from ‘pip._internal.operations.prepare’ (c:\users\lutz\appdata\local\programs\python\python38\lib\site-packages\pip_internal\operations\prepare.py)

My operating system is Windows 10 Pro (64) Version 1909

Thanks for help.

Lutz

Hi @ardu1,

Could you uninstall and install aip again to make sure you install v0.8.1?

pip3 uninstall ardupy-aip
pip3 install ardupy-aip

Best Regards,
Lakshantha

Hi Lakshan,

thanks for help. I have uninstall aip:

C:\Users\Lutz>pip3 uninstall ardupy-aip
Found existing installation: ardupy-aip 0.8.1
Uninstalling ardupy-aip-0.8.1:
Would remove:
c:\users\lutz\appdata\local\programs\python\python38\lib\site-packages\aip*
c:\users\lutz\appdata\local\programs\python\python38\lib\site-packages\ardupy_aip-0.8.1.dist-info*
c:\users\lutz\appdata\local\programs\python\python38\scripts\aip.exe
c:\users\lutz\appdata\local\programs\python\python38\scripts\ardupy-aip
Proceed (y/n)? y
Successfully uninstalled ardupy-aip-0.8.1

than i install aip:

C:\Users\Lutz>pip3 install ardupy-aip
Collecting ardupy-aip
Using cached ardupy_aip-0.8.1-py2.py3-none-any.whl (35 kB)
Requirement already satisfied: demjson in c:\users\lutz\appdata\local\programs\python\python38\lib\site-packages (from ardupy-aip) (2.2.4)
Requirement already satisfied: ardupy-mpfshell in c:\users\lutz\appdata\local\programs\python\python38\lib\site-packages (from ardupy-aip) (1.1.2)
Requirement already satisfied: colorama in c:\users\lutz\appdata\roaming\python\python38\site-packages (from ardupy-aip) (0.4.4)
Requirement already satisfied: pyusb in c:\users\lutz\appdata\local\programs\python\python38\lib\site-packages (from ardupy-aip) (1.1.0)
Requirement already satisfied: pyserial in c:\users\lutz\appdata\local\programs\python\python38\lib\site-packages (from ardupy-aip) (3.5)
Requirement already satisfied: pip>=20.1 in c:\users\lutz\appdata\local\programs\python\python38\lib\site-packages (from ardupy-aip) (21.0)
Requirement already satisfied: websocket_client in c:\users\lutz\appdata\local\programs\python\python38\lib\site-packages (from ardupy-mpfshell->ardupy-aip) (0.57.0)
Requirement already satisfied: six in c:\users\lutz\appdata\roaming\python\python38\site-packages (from websocket_client->ardupy-mpfshell->ardupy-aip) (1.15.0)
Installing collected packages: ardupy-aip
Successfully installed ardupy-aip-0.8.1

but it does not run:

C:\Users\Lutz>aip -V
‘packages’
Traceback (most recent call last):
File “c:\users\lutz\appdata\local\programs\python\python38\lib\runpy.py”, line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File “c:\users\lutz\appdata\local\programs\python\python38\lib\runpy.py”, line 87, in run_code
exec(code, run_globals)
File "C:\Users\Lutz\AppData\Local\Programs\Python\Python38\Scripts\aip.exe_main
.py", line 7, in
File “c:\users\lutz\appdata\local\programs\python\python38\lib\site-packages\aip\main.py”, line 52, in main
from aip.command import commands_dict, parse_command
File “c:\users\lutz\appdata\local\programs\python\python38\lib\site-packages\aip\command.py”, line 46, in
from aip.build import buildCommand
File “c:\users\lutz\appdata\local\programs\python\python38\lib\site-packages\aip\build.py”, line 34, in
from pip._internal.operations.prepare import (
ImportError: cannot import name ‘_download_http_url’ from ‘pip._internal.operations.prepare’ (c:\users\lutz\appdata\local\programs\python\python38\lib\site-packages\pip_internal\operations\prepare.py)

Best regards

Lutz

what’s wrong with aip. can someone help me?

Vielen Dank, Lutz