Skip to main content
36
results
Andrew Fletcher
While the default version on Ubuntu 20.04 for Python is 3.8, I've added Python 3.11.5 (latest version). Errors GPTSimpleVectorIndex is deprecated Attempting to run python3.11 model-ai.py and I'm seeing the following response /home/{user}/.local/lib/python3.11/site-packages/langchain/__init__.py:40: UserWarning: Importing BasePromptTemplate from langchain root module is no longer supported. warnings.warn( /home/{user}/.local/lib/python3.11/site-packages/langchain/__init__.py:40: UserWarning:...
Andrew Fletcher
Changes to the Python3 package list post installing packages each of the...
Andrew Fletcher
Python3 error  None of PyTorch, TensorFlow >= 2.0, or Flax have been...
Andrew Fletcher
When running python openai command, I was greeted...
Andrew Fletcher
  Set up your server Begin by cleaning up your server environment.  Do...
Andrew Fletcher
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 -UHowever, this failed due to  AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'  To resolve the X509_V_FLAG_CB_ISSUER_CHECK error, run sudo pip3 install pyOpenSSL --upgrade sudo pip3...
Andrew Fletcher
I’m recently doing an IoT project. I wanted to investigate the network...
Andrew Fletcher
Wanting to create a new repository on GitHub, add in a few of the available...
Andrew Fletcher
The purple warning notification of annoyance recently came my way!  I...
Andrew Fletcher
I'm currently working on a project that requires login, register, forget...
Andrew Fletcher
iOS localization on the fly If you have added languages to your app... shortly afterwards you'll be getting yourself knee deep in changing the language on the fly.  Followed by the question – how do you change the language of the app without having to restart the app?  To change the language of the app there are a couple of key steps involved: Adding / managing languages Managing the app bundle By the way I have added to GitHub a demo app - switch languages showing how...
Andrew Fletcher
Updating Realm and RealmSwift from 5.5.x to 10.0.0 brought in the following...
Andrew Fletcher
After creating a new view with a @Binding string as follows struct EditRival:...
Andrew Fletcher
What to do when you want to filter a Realm object, using NSPredicate in...
Andrew Fletcher
Today while in Terminal, I ran a regular script pod update.  However, this...