1. L

    Installing python library's

    I would like to make a webscraper in python but it won't even let me install a library, as you can see i typed the right command (i think its the right one (: ). but when i try to run my python it won't do it because it says that the library isn't installed. Does anyone know what is wrong and a...
  2. D

    Why memory RSS is low but throughput is high

    I'm working on a NUMA-related benchmark and got an issue troubling me for a week. I use numactl to pin a metrics multiplication workload to use node0's CPU and node1's memory like this: However, I observe tons of memory access still goes to node0 (throughput is high), either using pcm or...
  3. berserk

    Terminal problem when i try to use script

  4. Tolkem

    Turn your Python script into a command-line application

    Hi, everyone! Hope you're all having a nice life! :) So, I just bumped into this while checking my feed and thought I'd share here. An excerpt:
  5. avanturismo

    Python on Linux - Install/uninstall/reinstall

    Dear Linux community I'm trying to uninstall previously installed python3 after uninstall process I'm checking in terminal for python version (in case its not uninstalled) ```$ python3 --version``` Please see screen attached I'm not sure if its properly uninstalled what does it means on the...
  6. SpongebobFan1994

    Make the Web Great Again

    Because of the browser wars, a small number of companies attempting to monopolize the web, personal websites becoming a dying trend, social media addiction, spyware, and numerous other issues affecting the modern web, I've occasionally been thinking about how we could remove all of them and...
  7. digitaltrails

    Seasons greetings from under the process tree

    Earlier in the year I wrote a Python script to monitor for run-away processes. It includes a GUI overview of process activity with lots of blinking dots (I fancied some blinking lights). I've recently added an option for a more festive layout. There is a video of the blinking lights at...
  8. cloudytechi147

    Python sub process script works on my Windows but not on my Linux

    I write a simple script to check the subprocess module and I tested it on both Windows and Linux. The script works fine on Windows but not on Linux. The interpreter in python is used in 3 versions on both. import subprocess host = input("Enter a host to ping: ") p1 = subprocess.Popen(["ping"...
  9. S

    Error while trying to install 'pymongo' libary

    I tried to run my code on Linux and get this error: ModuleNotFoundError: No module named 'pymongo' then I install with these commands : and still, get an error I've tried to search this error - specific on 'pynomgo' and couldn't find anything. I'd be happy if anyone can help me here...
  10. C

    Help with Virtualenv

    Hello, sorry I am new to linux. The issue I am running into is with installing virtualenv. I am using windows (ubuntu) for reference. First I tried this which does not work for windows or the version I have (im not sure) $ virtualenv venvCommand 'virtualenv' not found, but can be installed...
  11. C

    Errors when attempting to unpack python-pkg-resources_44.1.1-1_all.deb

    I am running a kai linux 2020.1 64 bit VM. when I run sudo apt upgrade I get the following errors: Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages have been kept back: php-common...
  12. S

    Totally confused

    Hello I'm brand new to Linux. I have an old Windows laptop I use for data logging. I have a python program running on it as a data logger and soon to control some Arduino controller boards. I hate windows and it's trying to crash. I'd like to change it to Linux, but after reading several pages...
  13. C

    Send screen via socket problem for systemd (I think) import socket import cv2 import struct import numpy as np from PIL import ImageGrab from time import sleep import pickle con = socket.socket(socket.AF_INET, socket.SOCK_STREAM) con.setsockopt(socket.SOL_SOCKET,socket.SO_REUSEADDR,1) con.bind(("localhost",3344)) con.listen(1) while...
  14. JohnnyRobot

    Python Script Spawned by Cron or Systemd doesn't write files..?

    Hi all, I'm not really sure where this question should go. I'm not even sure if it's a Linux issue or a Python issue. I've written a Raspberry Pi application (Ubuntu Mate) that's essentially a timed camera. Every 30 seconds, it snaps an image and writes it to disk. When I start the...
  15. M

    Lubuntu Installation Issues

    Tried to install Linux mint on a wiped hard drive with a Lenovo X130E I thought it was an issue with my bootable flash drive. Decided to try lubuntu (same laptop) got most of the way through installing and got thi error message Boost.Python error in job "bootloader". Command 'grub-install...
  16. D

    Remote control a linux machine, via terminal

    Hey, I made two python programs, in two different computers, that uses sockets to communicate between the two computers. Then, I wanted to execute a terminal command at the client program and the command it self will be sent from the remote controller program, then the client will send the...
  17. D

    Using Kite on Linux Mint

    Has anyone had any success using Kite for programming with Python on Linux Mint?