# How to make autocomplete works on visual studio in mac?

**URL:** <https://forum.opencv.org/t/how-to-make-autocomplete-works-on-visual-studio-in-mac/15050>\
**Category:** Python\
**Tags:** vscode, programming\
**Created:** [November 1, 2023, 12:54pm UTC](https://forum.opencv.org/t/how-to-make-autocomplete-works-on-visual-studio-in-mac/15050 "2023-11-01T12:54:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![varrichio](https://avatars.discourse-cdn.com/v4/letter/v/cab0a1/32.png) [@varrichio](https://forum.opencv.org/u/varrichio)\
**Post date:** [November 1, 2023, 12:54pm UTC](https://forum.opencv.org/t/how-to-make-autocomplete-works-on-visual-studio-in-mac/15050/1 "2023-11-01T12:54:55Z")

</div>

Hello, I am pretty new to Python and OpenCV. Hope someone can help me solve the issue.

I am with a MacBook Pro M1 Max - Sonoma 14 and followed the following steps to install everything:

```auto
---------------------------------------------------
conda create --name opencv-env
conda activate
conda install -c conda-forge opencv
---------------------------------------------------

```

Everything worked fine:  
opencv is 4.8.1  
python is 3.12

I was able to open visual studio and run a simple project.py, but I cannot make the AUTOCOMPLETE to work and this is essential to my learning.

my environment is set at:  
/opt/homebrew/Caskroom/miniforge/base/envs/opencv-env/bin/python  
opencv-python in ./lib/python3.12/site-packages (4.8.1) is satisfyed

Has anyone know how to fix this?  
Thank you in advance

---

<div class="post-metadata">

**Author:** ![crackwitz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/crackwitz/32/14_2.png) [@crackwitz](https://forum.opencv.org/u/crackwitz)\
**Post date:** [November 1, 2023, 1:35pm UTC](https://forum.opencv.org/t/how-to-make-autocomplete-works-on-visual-studio-in-mac/15050/2 "2023-11-01T13:35:50Z")

</div>

> [@varrichio](#):
>
> `conda install -c conda-forge opencv`

OpenCV has official packages for python. you should use them.

neither conda nor conda-forge are supported here. conda-forge is third-party. if you need support for that, you should contact them.

---

<div class="post-metadata">

**Author:** ![varrichio](https://avatars.discourse-cdn.com/v4/letter/v/cab0a1/32.png) [@varrichio](https://forum.opencv.org/u/varrichio)\
**Post date:** [November 1, 2023, 1:37pm UTC](https://forum.opencv.org/t/how-to-make-autocomplete-works-on-visual-studio-in-mac/15050/3 "2023-11-01T13:37:07Z")

</div>

Thank you @creacwitz  
Could you please help me use the official packages?

---

<div class="post-metadata">

**Author:** ![varrichio](https://avatars.discourse-cdn.com/v4/letter/v/cab0a1/32.png) [@varrichio](https://forum.opencv.org/u/varrichio)\
**Post date:** [November 1, 2023, 2:40pm UTC](https://forum.opencv.org/t/how-to-make-autocomplete-works-on-visual-studio-in-mac/15050/4 "2023-11-01T14:40:05Z")

</div>

@crackwitz Thank you for explaining.  
Could you please help me use the official packages?
