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

Python • Re: Raspberry pi Bluetooth

$
0
0
Install a virtual environment and use it.

Code:

# only oncepython3 -m venv my_venv# activating the environmentsource my_venv/bin/activate# uses the python of the activated environmentpip3 install bluezero# uses the python interpreter of the virtual environmentpython3 your_program.py# deactivating the venvdeactivate

Statistics: Posted by DeaD_EyE — Wed Apr 02, 2025 12:02 pm



Viewing all articles
Browse latest Browse all 8041

Trending Articles