ModuleNotFoundError: No module named 'flags.state'; 'flags' is not a package

I’ve succesfully installed the flags package: pip install flags ─╯ Collecting flags Downloading flags-0.0.1.2.tar.gz (1.0 kB) Installing build dependencies … done Getting requirements to build wheel … done Installing backend dependencies … done Preparing metadata (pyproject.toml) … done Building wheels for collected packages: flags Building wheel for flags (pyproject.toml) … done Created wheel for flags:… Read More ModuleNotFoundError: No module named 'flags.state'; 'flags' is not a package

How to uninstall a specific version of pip from my linux system?

To update pip, I inadvertently ran pip3 install –upgrade pip, without sudo. So I get this warning: WARNING: The scripts pip, pip3, pip3.10 and pip3.11 are installed in ‘/home/myhome/.local/bin’ which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use –no-warn-script-location. So, I now have two… Read More How to uninstall a specific version of pip from my linux system?

pip install from github repository with optional dependency

I am installing python packages from GiTHub repository via ssh like following. pip install pandas@git+ssh://git@github.com/pandas-dev/pandas.git@main In addition to this, I want to install test dependencies of packages. I know that I can install package from PYPI server with following, pip install pandas[test] but I want to install directory from GitHub via SSH. I couldn’t find… Read More pip install from github repository with optional dependency

Why is fsspec an optional dependency, when you need it to read a csv file with pandas?

I use the pandas package quite a bit, so I’ve made it globally available on my main work computer. I did this quite awhile ago, so I can’t recall all the details to what I did when installing in the past, but I don’t remember having to take an extra step in installing the optional… Read More Why is fsspec an optional dependency, when you need it to read a csv file with pandas?