Skip to main content
37
results
Andrew Fletcher
OpenAI request timeout? Retrying langchain.chat_models.openai.ChatOpenAI.completion_with_retry.<locals>._completion_with_retry in 4.0 seconds as it raised ServiceUnavailableError: The server is overloaded or not ready yet..Try increasing the timeout parameter.  For example,  llm = ChatOpenAI(temperature=0, model_name=model)Change to llm = ChatOpenAI(temperature=0, model_name=model,...
Andrew Fletcher
Whilst installing Python 3.11.6 and running the command 'sudo make altinstall',...
Andrew Fletcher
Ubuntu 20.04 comes with Python 3.8 installed.  If you run the update...
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 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. Package Version ----------------------- -------------------- chardet 5.2.0 urllib3 1.25.8Usually this issue can be solved...
Andrew Fletcher
Python3 Error ImportError: cannot import name 'soft_unicode' from 'markupsafe'...
Andrew Fletcher
Resources - changing Drush Type Version Drush (current) 11.6.0 Drush...
Andrew Fletcher
How to set the Private file path in Drupal using the following steps: Create a...
Andrew Fletcher
Using Composer to Manage Projects and if required their dependencies In this...
Andrew Fletcher
Goal: I want to download a table list to a txt or csv file. Initially, as a root user I tried using drush drush sql-dump --tables-list=media_field_data > db-list.sqlOf course as a root user and Drush set-up not as root. failed with  Command 'drush' not found, did you mean: command 'rush' from deb rush (1.8+dfsg-1.1)My bad. Changing the user away from root and running the command again drush sql-dump --tables-list=media_field_data > db-list.sqlProduced a permission error bash:...
Andrew Fletcher
If your Composer project doesn't have Drush listed as a dependency, you can...
Andrew Fletcher
I've recently upgraded the server Ubuntu 20.04 updating the PHP version from 7.4...
Andrew Fletcher
Working through and importing JSON data into a content type.   Drush...
Andrew Fletcher
After cloning a site, next you will want to import the config file.  Which...