Skip to main content

RequestsDependencyWarning: urllib3 (1.25.8) or chardet (5.2.0) doesn't match a supported version!

When running python openai command, I was greeted with

/usr/lib/python3/dist-packages/requests/__init__.py:89: RequestsDependencyWarning: urllib3 (1.25.8) or chardet (5.2.0) doesn't match a supported version!

This is because of different requests module installed by the OS and the python dependencies for your local installation.

ImportError: cannot import name 'soft_unicode' from 'markupsafe'

Python3

Error

ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/home/{project}/.local/lib/python3.8/site-packages/markupsafe/__init__.py)

 

Update all PIP packages

pip3 list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip3 install -U

However, this failed due to 

OSX brew regular commands

Regular commands for brew

 

Brew update

This updates Homebrew itself.  Keeping Homebrew current with the command brew update.  Note, before running this command, it can take some time (if you haven't run it recently).  It is highly recommended that you run the update before trying to install a package.

brew update

Response

Docker steps for rebuilding

Docker containers list

To view a list of Docker containers that are currently running, you can use the docker ps command. Open your terminal or command prompt and run the following command:

docker ps

This command will display a list of running containers, showing information like the container ID, image name, status, ports, and more.

Updating Capacitor – get and set versions

Need to know how run updates for Capacitor?

Updating Capacitor

Update Capacitor Core and CLI with the commands:

npm install @capacitor/cli
npm install @capacitor/core

Whereas, to update the relevant platforms in use:

npm install @capacitor/ios
npm install @capacitor/android

 

Working with Lando

Changes in your .env file

Connecting your app to the new environment you need to make some tweaks in your .env file.

Change your DB_HOST to database. If you use MySQL or MariaDB Lando will create a database named laravel for you with a user laravel and the password laravel. The database section in your .env should look like this:

Subscribe to 3.x