Hot answers tagged

1 vote

Windows 11 console closing early compared to Windows 10

It might be a difference is scheduling : If there is even one second in which the console has no users, then it should be closed. This is true for both Windows 10 and 11, but Windows 10 might be ...
  • 430k
1 vote

Can't run python from shell within specific conda environment

Problem was solved by creating the environment with: conda create --name myenv -c conda-forge python=3.7.4 [other packages needed..] python 3.7.4 is installed by default in Anaconda 2019.10 (the last ...
1 vote
Accepted

pip install --user xmlstarlet fails on Fedora 37

Looking at the pypi project page for xmlstarlet, you can see that there are binary releases up to python 3.10 (cp310). There is no binary release for python's latest release, 3.11, which fedora 37 now ...
  • 2,390
1 vote

Python TCP socket connection between Linux and Windows10 not working as expected

I solved it changing the IP where was opening the port. I was using 127.0.0.1 and changed it to 0.0.0.0. I realized it because when I tried to scan my own IP address (not 127.0.0.1, but which is ...
  • 21
1 vote
Accepted

How to figure out whether a path is the root of a ZFS dataset mountpoint?

There doesn't seem to be an easy way to tell whether mountpoint is a parent or child. You could use e.g. property usedbychildren that should be 0B for leaf (lowest child) node. $ zfs list -o name,...
  • 1,425
1 vote

Find outdated/updatable pip packages

pip list --outdated | gawk -F ' ' 'NR>2{print$1}' | xargs pip install --upgrade handy way to update all outdate package without install any extra package alias pip-update='pip list --outdated | ...

Only top scored, non community-wiki answers of a minimum length are eligible