#Python – Update all Python Packages using pip with #PowerShell

Hi ! Here is a small script that I always go back to search in my notes. I found this on internet sometime ago, and is the easiest way to update all packages in a specific environment using pip and PowerShell: pip freeze | %{$_.split(‘==’)[0]} | %{pip install –upgrade $_} Depending on your environment, it…… Continue reading #Python – Update all Python Packages using pip with #PowerShell

#RaspberryPi – 6 commands to install #OpenCV for #Python in #RaspberryPi4

Hi ! Quick post to remind me the 6 commands to install OpenCV in my Raspberry Pi sudo apt-get install libhdf5-dev libhdf5-serial-dev libhdf5-100 sudo apt-get install libqtgui4 libqtwebkit4 libqt4-test sudo apt-get install libatlas-base-dev sudo apt-get install libjasper-dev wget https://bootstrap.pypa.io/get-pip.py sudo python3 get-pip.py sudo pip3 install opencv-contrib-python There is an optional command to update pip, which…… Continue reading #RaspberryPi – 6 commands to install #OpenCV for #Python in #RaspberryPi4

#Python – Can’t install TensorFlow on Anaconda, maybe is the Visual Studio distribution

Hi! This is the 2nd time I get a weird error when I install TensorFlow in my Anaconda distribution. And this is the 2nd time I realize that I’m using the Anaconda version that is preinstalled with Visual Studio. I’m not sure if the spaces in the path affects the creation of environments or it’s…… Continue reading #Python – Can’t install TensorFlow on Anaconda, maybe is the Visual Studio distribution