Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Browsing all 5944 articles
Browse latest View live

Mouse input not blocked when running Python code on Ubuntu using pynput library

I want to achieve the goal of blocking mouse signals while running the program, meaning I hope to disable the mouse through the above code. However, after executing it on Ubuntu, the mouse still...

View Article


How to build the "dist" in Node.js project

Here is the Leaflet Routing Machine:https://github.com/perliedman/leaflet-routing-machineThe "main" in "package.json" is "./dist/leaflet-routing-machine.js", but the real source file in the project is...

View Article


#how to get a public static ip address [closed]

I'm setting up a VPN tunnel on Ubuntu and I'm facing a problem, which is that my public IP address changes every time I reconnect to the Internet.I would like to know what to do in order to have a...

View Article

Connection problems with WSL2 and Windows 11 [closed]

TLDR: I can't connect to my local network from my WSL2 (Ubuntu) machine, however I can access the Internet.A little background before explaining my error in detail:I had already installed WSL2 on my...

View Article

Node.js: Illegal instruction (core dumped)

SynopsisI do not know how to find the problem. Please assist me in debugging.I updated from nodev18 to nodev20 and could no longer execute my jest-tests, jest --version was working but jest test was...

View Article


How to run a nested puppet module?

I have a relatively simple manual task that I am trying to automate using Puppet.Steps I want to perform via Puppet:Copy tarball over from Puppetmaster to several server 'client' nodes.Untar the...

View Article

How to link Gmail with Airflow 2.8.2 running on a docker image

I am struggling to connect my Gmail account to Airflow. I've followed ChatGPT suggestions and searched in this site for solutions but i haven't crossed upon one that addresses my context, and I don't...

View Article

"git submodule update" failed with 'fatal: detected dubious ownership in...

I mounted a new hard disk drive in my Linux workstation. It looks like it is working well. I want to download some repository in the new disk. So I execute git clone XXX, and it works well. But when I...

View Article


No module named SkyNet found - problem installing open source code

SkyNet is publicly available as an open-source software at https://bitbucket.org/jlippuner/skynet. I am having problems installing this software. I am using Ubuntu, and I have downloaded all needed...

View Article


libEGL warning: MESA-LOADER: failed to open swrast

I am using WSL on Windows 11. Inside WSL, I have created an Anaconda environment, through which I launch Jupyter Lab. I am trying to use OpenCV to load an avi video file into my code and read its...

View Article

How can I get tensorflow to recognize my GPU? [closed]

TensorFlow wasn't recognizing my GPU, so I tried several different ideas, such as reinstalling the toolkit and the cuDNN, but nothing worked. I'm using TensorFlow 2.4.1 because I have a neural network...

View Article

Expo Go works with mobile data, but it doesn't with my house network

I just switched to Linux some days ago, and I'm setting up my development environment. I'm currently working with React Native and Expo. But I ran into a problem when running the command "npx expo...

View Article

Is it possible to answer dialog questions when installing under docker?

Is it possible to somehow answer the questions that are presented as dialogs when installing some packages using apt-get?For instance I'm trying to setup a container containing the mail-stack-delivery...

View Article


How to import module from index.js

I created an example node.js project:"name": "example","version": "1.0.0","type": "module",Here is the index.js (two rows only):"use strict";import MapLibreGlDirections, { LoadingIndicatorControl }...

View Article

Cannot install NodeJs: /usr/bin/env: node: No such file or directory

I'm trying to install nodeJs into my Ubuntu 14.04 in order to use GruntJs.I've read about Ubuntu different way of doing it (issues?), so this is what I've done in order to install it:sudo apt-get...

View Article


My ubuntu server reboots every two weeks or so and i can not figure why

So, i have a linux ubuntu vps where my java application runs with postgres in docker container. Java application runs in tmux session. Every two weeks or so the machine reboots and everyting is shut...

View Article

can’t open file ‘setup.py’ ubuntu [closed]

I try to coding to Yahboom Transbot Jetson Nano, that don’t have any memories. I’m so new to anything like this, and now I have problems 😭. I try** to coding sudo python setup.py install**, but it said...

View Article


How to extract a particular portion from a multitext fil

I have list of pl no. In a separate file like as follows:Pl:105Pl:17.3Pl: 7.2And in a merged text file I have a pattern like :Name :naPr: 78Pl: 7.2Unit :40Density:807.37.8Name :naFrom name to next name...

View Article

install python MySQLdb to python3 not python

i have Ubuntu and installed python3 since my script is written in it. Since I use MYSQL with MySQLdb, I installed apt-get install python-mysqldbhowever this installed MySQLdb to Python (which is 2.6 on...

View Article

I could not open a file in ubuntu 22.04 using python

I created a script in pyqt to store a document in a mysql blob field. I could retrieve it and view the document before freezing the code with pyinstaller on a ubuntu 22.04 machine. After freezing I...

View Article
Browsing all 5944 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>