Tootfinder

Opt-in global Mastodon full text search. Join the index!

@teledyn@mstdn.ca
2024-04-29 16:53:08

Gotta love Python. Debian too:
$ apt install python-pip
Package python-pip is not available… the following replace it:
python3-pip
$ apt install python3-pip
python3-pip : Depends: python3-setuptools but not installable
Depends: python3-wheel but …
Recommends: python3-dev but …
$ sudo dpkg -i python3-venv_3.11.2-1 b1_arm64.deb
python3-venv depends on python3.11-venv however:
Package python3.11-venv is not installed.
In #Bookworm nobody can hear you scream.

@arXiv_hepph_bot@mastoxiv.page
2024-03-08 08:42:16

This arxiv.org/abs/2310.01510 has been replaced.
initial toot: mastoxiv.page/@arXiv_hepp…

@publicvoit@graz.social
2024-03-26 18:22:52

Had an issue with #NixOS where I couldn't run a #Python tool that uses pandas. (Nix really doesn't work well with Python.)
Somebody helped me to find the solution by:
nix-shell -p 'python3.withPackages (ps: with ps; [ pandas numpy ])'
Today, another Python project with pandas a…

@ShibaBotJason@social.linux.pizza
2024-03-26 02:55:31

Leaned a handy #Python trick today. Needed a quick web server to test a web site. Browse to folder in Linux Mint, right click for 'terminal here' then:
python3 -m http.server 8000
Starts a web server with current directory as document root on port 8000.

@fraca7@social.linux.pizza
2024-02-18 10:39:23

Homebrew's python3 is not signed, so desktop-notifier won't work. But I can't install PyICU with the system python3. Fuck me with a rusted chainsaw #python #programming

@risottobias@tech.lgbt
2024-05-04 04:11:14

# !/usr/bin/env python3
# small_universe_test.py
import pandas as pd
const lightyear = 9461000000000000
const size = 930000000000 * lightyear # 8798730000000000000000000000
# largest number on some registers is 9223372036854775807 or 18446744073709551615
universe = sphere(radius=size,x=0,y=0,z=0,t=0)
pd.Series(universe, filling_function)
pd.Plot()
#cosmology #astrophysics #python