Skip to main content
40
results
Andrew Fletcher
When attempting to install python libraries on my OSX pip3 install pandas, numpy, matplotlibI'm seeing the following responses error: externally-managed-environment × This environment is externally managed ╰─> To install Python packages system-wide, try brew install xyz, where xyz is the package you are trying to install. If you wish to install a Python library that isn't in Homebrew, use a virtual environment: python3 -m venv path/to/venv source path/to/venv/bin/activate ...
Andrew Fletcher
When Solr is displaying results on the site, first step is to log in the server...
Andrew Fletcher
When executing the following command, the response I'm getting is npm ERR! code...
Andrew Fletcher
The "Too many open files" error in Python typically occurs when your program has...
Andrew Fletcher
You can use the pip list --outdated command to view a list of installed Python...
Andrew Fletcher
Having updated Solr, re-indexing wasn't working. The error in the logs was Drupal\search_api_solr\SearchApiSolrException while indexing item entity:node/2386:en: Solr endpoint http://127.0.0.1:8983/ bad request (code: 400, body: Exception writing document id 36lk64-related_projects-entity:node/2386:en to the index; possible analysis error: cannot change field "tm_X3b_en_body" from index options=DOCS_AND_FREQS_AND_POSITIONS to inconsistent index options=DOCS_AND_FREQS_AND_POSITIONS_AND_OFFSETS,...
Andrew Fletcher
On an Ubuntu 20.02 system with Nginx, you can utilize the following commands to...
Andrew Fletcher
Cleaning out or clearing data in Solr can be done in a few different ways,...
Andrew Fletcher
In an environment that is running Ubuntu 20.02 Nginx Solr   The default...
Andrew Fletcher
Snapshot of the error File...
Andrew Fletcher
To begin, note that Lando is often used for web development and it may not be optimised for running long-running Python scripts or applications.  It's primarily designed to host web services, so if you have specific Python development requirements, you might want to consider using a dedicated Python development environment or container.  However, Lando can be useful for running Python scripts in the context of web development projects. To run Python within a Lando environment, you can...
Andrew Fletcher
Lando is a development environment tool that makes it easier to set up and...
Andrew Fletcher
The error message "RuntimeError: Directory 'static/' does not exist" typically...
Andrew Fletcher
It seems like you're using the CharacterTextSplitter class from the tiktoken...
Andrew Fletcher
To use OpenAI to summarise text from a PDF using Python 3.11.6, you'll first...