Skip to main content
37
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
As a web developer, you will most likely need to run local copies of a bunch of...
Andrew Fletcher
Every project has to kick off somewhere.  Yep well that's a no brainer....
Andrew Fletcher
I installed Lando 3.6.2 and Laravel 9.  When I visit the web page, I getting Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2". You are running 7.4.28. in /app/vendor/composer/platform_check.php on line 24  Problem solving Opening the directory in VS Code, if I run the command  php -vThe response I'm getting is PHP 8.1.2 (cli) (built: Jan 21 2022 04:47:26) (NTS) Copyright (c) The PHP Group Zend Engine v4.1.2,...
Andrew Fletcher
Do you want set up a CI/CD process using GitHub Actions? This is a walk-through...
Andrew Fletcher
If like me you tried the command php artisanHowever, you had the following...
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 password functionality in SwiftUI.  As I'm developing the code, I came across a great resource for validating an email address with Regex: http://emailregex.com/ In the end, I leveraged the worked produced on https://stackoverflow.com/questions/25471114/how-to-validate-an-e-mail-address-in-swift The code used: extension String { var isValidEmail: Bool { let name =...
Andrew Fletcher
iOS localization on the fly If you have added languages to your app......
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...