Error when updating conda packages: RemoveError: 'setuptools' is a dependency of conda – Super User

The best answers to the question “Error when updating conda packages: RemoveError: 'setuptools' is a dependency of conda” in the category Super User. QUESTION: I needed to update the matplotlib when I encountered the following error: conda update matplotlib Collecting package metadata: done Solving environment: done ## Package Plan ## environment location: /home/gpu-server/anaconda3 added / … Read more

Create a Python 3 virtual environment – Super User

The best answers to the question “Create a Python 3 virtual environment” in the category Super User. QUESTION: I installed python3-virtualenv on Lubuntu 15.1 using the official Ubuntu package apt-get install python3-virtualenv. The official documentation indicates that a simple virtualenv . in my project directory should be enough to create the venv. This does nothing, … Read more

Scripting: what is the easiest to extract a value in a tag of a XML file? – Super User

The best answers to the question “Scripting: what is the easiest to extract a value in a tag of a XML file?” in the category Super User. QUESTION: I want to read a pom.xml (‘Project Object Model’ of Maven) and extract the version information. Here is an example: <?xml version=”1.0″ encoding=”UTF-8″?><project xmlns=”http://maven.apache.org/POM/4.0.0″ xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=”http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd”> … Read more