Skip to main content
61
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
Python3 Error ImportError: cannot import name 'soft_unicode' from 'markupsafe'...
Andrew Fletcher
Logging into the server, and there are packages to be updated.  You know the standard Ubuntu / Linux response 5 updates can be applied immediately. To see these additional updates run: apt list --upgradable 3 additional security updates can be applied with ESM Apps. Learn more about enabling ESM Apps service at https://ubuntu.com/esmFollowed by the action sudo apt update && sudo apt upgrade -y Response Reading package lists... Done E: Could not get lock...
Andrew Fletcher
Update Ubuntu 20.04 To begin update the server using the command sudo apt update...
Andrew Fletcher
  Install the CKAN package Begin by cleaning up your server environment....
Andrew Fletcher
If you're planning to create extensions, generating CKAN from source is the...
Andrew Fletcher
Goal: Restrict content access through username and password entry on an Nginx...
Andrew Fletcher
At first, I attempted echo 1 > /proc/sys/vm/drop_cachesResponse -bash: /proc/sys/vm/drop_caches: Permission deniedAdding sudo in front of the command was met with the same result.  What about if I execute the shell as root sudo sh -c 'echo 1 > /proc/sys/vm/drop_caches'Success.  Caches cleared.   Different types of clearing cache   Clear PageCache only sudo sh -c 'echo 1 > /proc/sys/vm/drop_caches'Clear dentries and inodes sudo sh -c 'echo 2 >...
Andrew Fletcher
Error when running ckan.ini init from flask_debugtoolbar import...
Andrew Fletcher
My goal was to install a requirements.txt file using pip.  First,...
Andrew Fletcher
In this article I'll walk through the steps I went through to install Solr on...
Andrew Fletcher
Looking to install Solr on your server?  Not sure if it worth the...