I’ll tell me story about this error because It’s very confusing and annoying.

What was I doing?
I have a FastAPI server that does file uploads using multipart-formdata. This error came when I tried to create integrations tests to test file uploads using requests. Testing file uploads using the swagger docs was already working perfectly at this point.

Failing code:

import requests
files = {
‘user_id’: (None, ‘5d3928e7-efca-49d1-b311–36b04fbcdf78’),
‘avatar’: (None, open(‘mount/tests/funny-cat.jpg’, ‘rb’)),
response = requests.post(‘', files=files)

Hacktoberfest Swag from 2018

While when one thinks about contributing to open source, the first thoughts are usually about writing code. Nonetheless, there are more fun ways that you can make your contribution other than coding, These include:

  • Starting an Open Source project.
  • By being an open source Evangelist
  • Reviewing a project
  • signing-up as a Preview user / Beta test user
  • Mentoring developers & Being a Subject Expert by answering questions
  • Creating Educational materials and Content
  • By signing-up as a Preview user / Beta test user
  • Contributing to Documentation
  • Organizing Conferences/meet-ups

Now let’s discuss these fun ways in detail …

By starting an Open Source project.

Have you thought about…

Challenge accepted! gideon bamuleseyo and Stephen Senkomago Musoke have challenged us ( here ) to write a short post about our development artillery. I’ve decided to write a blog-post too and here we go..

The Zone


  • Lenovo L580 (15-inch, Two Thunderbolt 3 ports) with 1.6 GHz (with Turbo Boost up to 4.5GHz) Quad-Core Intel Core i5 processor, 16 GB RAM, and 250GB SSD Hard drive.
  • 2 AOC Monitors. I use 2 monitors on my sides, I love these for being bezel-less and sleek. I like them vertical for scrolling code and tracking long terminal output.
  • Music: I currently use basic Samsung Headsets…

A week ago, I took the step to publish my first python package to the Python Packaging index, blow is my recount of the quick, simple process I followed and you too can do it.

The PyPi landing page of the published package

First, Lets learn what is meant by PyPi, pip.

What is importing?
Let’s use an example to explain this: When you put two python files (named file1.py & file2.py) in the same folder, you can import one file’s code to be used in another using the import keyword;

>>> import file2

This is because your current directory is always part of the PATH; where you…

Well, after struggling for days to migrate my app to Android X with no luck, I’ve found a way to delay the Android X migration fully (your app and modules).

Source: bluecoinsapp.com

AndroidX Overview

AndroidX is the open-source project that the Android team uses to develop, test, package, version and release libraries within Jetpack.

AndroidX is a major improvement to the original Android Support Library. Like the Support Library, AndroidX ships separately from the Android OS and provides backwards-compatibility across Android releases. AndroidX fully replaces the Support Library by providing feature parity and new libraries. In addition AndroidX includes the following features:

  • All packages…

If there is anything I want to really become an expert at, it is the Python programming language. I’m thus calling you to join me on a journey as a consumer of the content (the posts I write) or as a mentor to help guide me as I go for that goal. My end goal is to be a senior Python Architect within 1 year.

A thought invoking slide from The Art of Python, PyCon US 2019

Why Python and why Me?
I love Python. It also happens to have been my second language to learn (My first was Visual Basic using a public library book 9 years ago ;) ) but Python…

Are you trying to run a web app inside a docker image and getting this error?

File “/usr/local/lib/python3.7/site-packages/tornado/netutil.py”, line 174, in bind_socketsss
>> sock.bind(sockaddr)
OSError: [Errno 99] Cannot assign requested address


  1. Close all processes that may be running on your port number. Assuming you are running on port 8000: lsof -t -i tcp:8000 | xargs kill -9

2. You are probably using an app adress as “localhost” or “”
Change it to “”

In Cloud ML Engine: Qwik Start

At the step of Run a local training job, One of the attendees of our GDG Kampala study jam experienced the following error on running this command:

$ gcloud ml-engine local train \
> — module-name trainer.task \
> — package-path trainer/ \
> — job-dir $MODEL_DIR \
> — \
> — train-files $TRAIN_DATA \
> — eval-files $EVAL_DATA \
> — train-steps 1000 \
> — eval-steps 100
/Users/whoami/anaconda3/bin/python: Error while finding module specification for ‘trainer.task’ (ModuleNotFoundError: No module named ‘trainer’)

The solution:

Download this zip and cd into it to access the missing modules.

wget https://github.com/GoogleCloudPlatform/cloudml-samples/archive/master.zip

You can find more of the instructions to download these files here:

Qwiklabs, has anyone else reported this?

This is one of the most interesting projects I like doing as a data scientist:
Hepling Organizations keep track of milestones and targets using data-driven monitoring tools/dashboards.

And I have done it at BotsMart before, very interesting!

He towers over a taxi as he swerves his way through a couple more to get across the highway. Wrapped in a Stripped double colour rob, His hair is short and he hasn’t missed the nomads’ signature footwear either; The Rugabire, sandals made out of old car tyres. Its mid-afternoon and the dust all over him can produce a ten-kilometre prediction of distance walked today if it were fed into a data model. If you get a glimpse at him, you’ll quickly spot his shiny white eyes and teeth! and.. well, they are surprisingly not mean with smiles.

Thanks to CRumanzi for this tentative picture :)

That is…

J Edison Abahurire

I write myself out. Code Chef | Athlete | I Dance and Love travelling. I’m diving into Data Science.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store