Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 1328

Python • Re: python

$
0
0
Read and follow the advice provided.


"For more information visit http://rptl.io/venv"




Example:

Code:

david@rp54bw64full0512:~/Support/V37 $ python -m venv --system-site-packages v37david@rp54bw64full0512:~/Support/V37 $ source v37/bin/activate(v37) david@rp54bw64full0512:~/Support/V37 $ python -m pip install imutilsLooking in indexes: https://pypi.org/simple, https://www.piwheels.org/simpleCollecting imutils  Downloading https://www.piwheels.org/simple/imutils/imutils-0.5.4-py3-none-any.whl (26 kB)Installing collected packages: imutilsSuccessfully installed imutils-0.5.4(v37) david@rp54bw64full0512:~/Support/V37 $ pythonPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] on linuxType "help", "copyright", "credits" or "license" for more information.>>> import imutils>>> imutils.find_function("contour")1. CONTOURS_MATCH_I12. CONTOURS_MATCH_I23. CONTOURS_MATCH_I34. contourArea5. drawContours6. findContours7. isContourConvex

Statistics: Posted by B.Goode — Sat Apr 20, 2024 9:07 am



Viewing all articles
Browse latest Browse all 1328

Trending Articles