Skip to content

Instantly share code, notes, and snippets.

View michalmonday's full-sized avatar

Michal Borowski michalmonday

  • Colchester, UK
View GitHub Profile
@y56
y56 / ERROR launchpadlib 1.10.6 requires testresources which is not installed
Created April 11, 2020 19:26
ERROR: launchpadlib 1.10.6 requires testresources, which is not installed.
https://www.discoverbits.in/864/error-launchpadlib-requires-testresources-which-installed
==
ERROR: launchpadlib 1.10.6 requires testresources, which is not installed.
+2 votes
asked Oct 6, 2019 in Programming Languages by pythonuser (11.5k points)
recategorized Oct 6, 2019 by pythonuser
I am getting the following error when I try to upgrade setuptools:
@classmember
classmember / fbid_3769368939762114.py
Last active October 30, 2020 01:10
Examining various approaches to mathematical software solutions.
# https://www.facebook.com/photo?fbid=3769368939762114&set=gm.1306912559653197
from itertools import chain
import timeit
# Interesting Code Sample
# expected = [x for xs in [[x]*int(expected_dist[x]) for x in range(0, N+1)] for x in xs]
# Original Appraoch