Skip to main content
28
results
Andrew Fletcher
Python3 error  None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.You need one of them PyTorch or Tensorflow.  You can check if tensorflow is installed or you can reinstall it pip uninstall tensorflow pip install tensorflow==2.2.0 pip uninstall transformers pip install transformers==3.3.1If a Python package isn't installed, when you run uninstall, you well see the following...
Andrew Fletcher
When running python openai command, I was greeted...
Andrew Fletcher
Python3 Error ImportError: cannot import name 'soft_unicode' from 'markupsafe'...
Andrew Fletcher
Working on a decoupled React / Drupal 9 site. Aim: Adjust the output of curated...
Andrew Fletcher
How to make React calls on a Drupal 9 backend site using the search...
Andrew Fletcher
This code is from Drupal 9 back-end for a React front-end via REST API. Working through the output for recently viewed pages... the code structure: <?php namespace Drupal\custom\Plugin\GetData\paragraph; use Drupal\custom\Plugin\GetData\ContentBase; use Drupal\custom\Plugin\GetData\ParagraphTrait; use Drupal\node\Entity\Node; /** * Provides Recent view pages data. * * @GetData( * id = "recent_view_pages", * title = @Translation("Recent view pages Data"), * ) */ class...
Andrew Fletcher
I'm writing these steps primarily for myself as a reference.  However, if...
Andrew Fletcher
I had an issue where logging in from the app disconnected.  The error that...
Andrew Fletcher
Overview To update ejabberd you need to remove it, then re-install with the...
Andrew Fletcher
The starting point is to read through and follow the notes outlined on the...
Andrew Fletcher
To add Erlang repository that also includes the public key for verifying signed package, use the following shell commands: wget https://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm rpm -Uvh erlang-solutions-1.0-1.noarch.rpmInstall Erland yum install erlangCheck that Erland has been installed enter the command (case sensitive) erlIf the Erland package has been successfully installed terminal will be output something like Erlang/OTP 21 [erts-10.3.2] [source] [64-bit]...
Andrew Fletcher
Adding a pem file to secure ejabbered on the server for chat connection. Getting...
Andrew Fletcher
To access the ejabberd log files, I found them located at the following...