Setting proxy for pip

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Setting proxy for pip

1,686 Views
moon_eye_cat
Contributor I

I tried to set environment variable "http_proxy" and "https_proxy" on i.MX Linux v6.1.1_1.0.0, but I get this error when running pip:

ellaine_0-1686714771146.png

What should I do?

0 Kudos
Reply
6 Replies

1,620 Views
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Thank you for your interest in NXP Semiconductor products

Isn't opencv installed in the BSP already?

root@imx8mp-lpddr4-evk:~# python3
Python 3.10.6 (main, Aug  1 2022, 20:38:21) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2
>>> print(cv2.__version__)
4.6.0
>>> quit()
root@imx8mp-lpddr4-evk:~#

Anyway, you could refer to this link

Regards

0 Kudos
Reply

1,592 Views
moon_eye_cat
Contributor I

No, it doesn't have opencv on imx93evk. I have tried your solution, but it still error.

0 Kudos
Reply

1,552 Views
JosephAtNXP
NXP TechSupport
NXP TechSupport

Try downloading the full-image, is the one that includes OpenCV and its integration is at BSP level, all i.MX Platform have it.

Additional:

Try downloading another package, doesn't matter just another that openCV.

Provide log for a ping.

Regards

0 Kudos
Reply

1,503 Views
moon_eye_cat
Contributor I

This is the ping result:

ping www.google.com
PING www.google.com (172.217.163.36) 56(84) bytes of data.

0 Kudos
Reply

1,465 Views
JosephAtNXP
NXP TechSupport
NXP TechSupport

Deploy full image (OpenCV is included in every BSP)

PS C:\> uuu -b emmc_all C:\Downloads\LF_v6.1.22-2.0.0_images_IMX8MPEVK\imx-boot-imx8mp-lpddr4-evk-sd.bin-flash_evk C:\Downloads\LF_v6.1.22-2.0.0_images_IMX8MPEVK\imx-image-full-imx8mpevk.wic

1:16 8/ 8 [Done ] FB: done
1:3 1/ 1 [=================100%=================] sers\nxf93627\Downloads\LF_v6.1.22-2.0.0_images_IMX8MPEVK\imx-boot-imx8mp-lpddr4-evk-sd.bin-flash

Try the previous I sent.

root@imx8mpevk:~# uname -r
6.1.22+g66e442bc7fdc
root@imx8mpevk:~# python3
Python 3.11.2 (main, Feb  7 2023, 13:52:42) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2
>>> quit()

 For ping share complete results.

root@imx8mpevk:~# ifconfig mlan0
mlan0: flags=-28605<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC>  mtu 1500
        inet 192.168.1.88  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 2806:103e:29:34f0:7266:55ff:fe9b:3b33  prefixlen 64  scopeid 0x0<global>
        inet6 fe80::7266:55ff:fe9b:3b33  prefixlen 64  scopeid 0x20<link>
        ether 70:66:55:9b:3b:33  txqueuelen 1000  (Ethernet)
        RX packets 46  bytes 9865 (9.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 61  bytes 9062 (8.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root@imx8mpevk:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=118 time=126 ms
[  329.109403] wlan: SCAN COMPLETED: scanned AP count=11
64 bytes from 8.8.8.8: icmp_seq=2 ttl=118 time=23.5 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=118 time=44.9 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=118 time=68.8 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=118 time=9.26 ms
^C
--- 8.8.8.8 ping statistics ---

 Thanks

0 Kudos
Reply

1,475 Views
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Excuse me, but could you provide feedback for:

  1. Image Full deployment.
  2. Other package download.
  3. Ping complete results

Thanks in advance

Best regards

0 Kudos
Reply