Skip to content

running a package pytest with poetry

I am new to poetry and want to get it set-up with pytest. I have a package mylib in the following set-up in test_functions I have However, when I run it complains about mylib not being included. I can run but that clutters my python environment with mylib. I want to use that environment as well for other pack…

Partial update in FastAPI

I want to implement a put or patch request in FastAPI that supports partial update. The official documentation is really confusing and I can’t figure out how to do the request. (I don’t know that items is in the documentation since my data will be passed with request’s body, not a hard-coded…

Pip for Python 3.8

How do I install Pip for Python 3.8 ? I made 3.8 my default Python version. gives unable to locate package python3.8-pip and running gives no module named pip I can’t run sudo apt install python3-pip because it installs pip for Python 3.6 Answer Install pip the official way: made 3.8 my default Python v…

CuDNN crash in TF 2.x after many epochs of training

I’m currently becoming more and more desperate concerning my tensorflow project. It took many hours installing tensorflow until I figured out that PyCharm, Python 3.7 and TF 2.x are somehow not compatible. Now it is running, but I get a really unspecific CuDNN error after many epochs of training. Do you…