Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [python3]

Python 3 is the latest major version of Python, a scripting language used by many open source developers.

-1
votes
0answers
8 views

How to troubleshoot mycroft-core - websocket/_http.py - [Errno 111] Connection refused?

Any suggestions in troubleshooting this issue would be greatly appreciated. Ubuntu 18.04 Python 3.6 Mycroft-core 18.8.8 Traceback when starting mycroft-core (most recent call last): File “/home/...
0
votes
0answers
40 views

I deleted python from Ubuntu server 16.04 and cant do anything with apt or dpkg

Really need help, I have tried alot of stuff from Google and Stack Overflow, such as autoremove and --reinstall, but I keep getting the same errors: Setting up python3-minimal (3.5.1-3) ... /var/lib/...
0
votes
0answers
26 views

Python use only one thread

I've got i7 8550U and 18.04.1. Python while using Jupyter notebook is using only one core out 8 possible. For other tasks ie. Java it uses all cores, but for python it's limited to only one. On the ...
0
votes
1answer
30 views

Why does Ubuntu 16.04 come with Python 3.5 but not pip3?

This is probably a basic question but I am quite new to Ubuntu. As far as I understand, Ubuntu 16.04 (and the following versions) come with Python 3.5 as default, not Python 2.7. My question is, why ...
1
vote
0answers
22 views

Ubuntu 18.04 no installation or update after upgrade from 16.04 [duplicate]

My laptop is a Dell Inspiron 15 3000 series, which shipped with Ubuntu 14.04 preinstalled. I can't upgrade, install or uninstall nothing in Ubuntu 18.04 after upgrade it from 16.04. When I upgrade ...
0
votes
0answers
26 views

What can cause gnome-shell/gnome-tweaks to fail?

Ubuntu 18.10, python3.7.1, GNOME Tweaks, etc. installed. Could installing a source build of python3.7.1 cause this issue? And how to debug? I have tried a number of different ways to repair gnome-...
-1
votes
0answers
34 views

Ubuntu 16.04 fopen (…) failed with Python 3.5.2

I am trying to run a Python script which is accessing a file graph.xml of an application (The Open Racing Car Simulator, short TORCS) stored inside /home/username/.torcs/config. The file exists and ...
0
votes
0answers
19 views

How to successfully exit after deleting a VM sitting in the VM

I have a very specific problem. Using paramiko client i am deleting a VM sitting in the VM. It does it task but after deletion i want to come out of the VM to the host server. But its hanging for ...
0
votes
0answers
16 views

How to Configure Python with --enable-shared on Ubuntu 18.04

I have a flask application which I'm trying to deploy to say heroku. I'm trying to do this through my virtual box where I'm running ubuntu 18.04 . Up on command : git push heroku master I see a ...
0
votes
0answers
25 views

After installing Python3.7 -> “A problem occurred when checking for the updates”

I recently installed Python3.7, and after that a red icon (stop sign) appears in my task bar with the message "A problem occurred when checking for the updates". As far as I could inform myself, ...
0
votes
0answers
60 views

python3-minimal bus error Ubuntu 18.04

I cannot perform any upgrade using apt as there is some dependency issue with python3 on Ubuntu 18.04. $: sudo apt upgrade Reading package lists... Done Building dependency tree Reading state ...
0
votes
0answers
61 views

Solved - Cannot install python3.7-venv in (X)Ubuntu 18.10

I just updated my XUbuntu 18.04 installation to 18.10 (note: for some reason I stopped do-release-upgrade while the packages were still downloading, then I continued it apt upgrade + reboot, ...
0
votes
0answers
31 views

Error while using pip3 to install paramiko on ubuntu 16.04

$ pip3 install paramiko Collecting paramiko Downloading https://files.pythonhosted.org/packages/cf/ae/94e70d49044ccc234bfdba20114fa947d7ba6eb68a2e452d89b920e62227/paramiko-2.4.2-py2.py3-none-any.whl ...
0
votes
1answer
118 views

Ubuntu 16.04 Completely broken python3 + dpkg + apt-get!

Maybe somebody can help me through this hell: It all began as I encountered this error: https://askubuntu.com/a/1034266/570817 and I tried to somehow remove the ppa:jonathonf/python-3.6 installation ...
0
votes
1answer
130 views

cv2.error: (-215) size.width>0 && size.height>0 in function imshow

import cv2 import numpy cap = cv2.VideoCapture("test1.avi") while 1: ret, frame = cap.read() cv2.imshow("cap", frame) if cv2.waitKey(100) & 0xff == ord('q'): break cap....
0
votes
0answers
26 views

Default to python2 for usr/bin/env

This questiion is similar to Default to python3 for '/usr/bin/env python' , but I want the solution for python2 since I am using Ubuntu 18.04 which uses Python3 by default. Currently running ...
1
vote
1answer
65 views

Troubles with python unistall in Ubuntu 16.04

i'm working on Ubuntu 16.04 and after having some troubles with pip and python, i've decided to try to unistall both python and python3, with the command: sudo apt-get purge python and sudo apt-...
0
votes
0answers
33 views

Setting up default input device in Ubuntu 18.04

I'm writing a program to take voice input from the built in microphone and then print the received voice on screen. My program is as follows : import speech_recognition as sr r = sr.Recognizer() ...
0
votes
0answers
19 views

Setting up virtual environment using conda but using pip inside it

I am new to setting up virtual environments and have failed to find a guide that fulfills my purpose. I want to achieve the following : OS - Ubuntu 16.04 LTS I want to setup my machine so I have two ...
0
votes
0answers
59 views

Too many levels of symbolic links while installing pipenv

I've python3.6 and python2.7 install in the system. When I run the command: python --version it shows : python 2.7.15rc1 But when I run: python3 --version it shows nothing. Also, it shows nothing ...
0
votes
1answer
40 views

Installing another Python 3 version in parallel to the system one [duplicate]

I need to install Python 3.7 in order to run a library that requires it, but I don't want to replace my system's native Python 3 installation (which is an earlier version) as I'm afraid to break ...
0
votes
1answer
26 views

How do I un-screw up a Python/Pip installation after doing the mistake of running sudo pip multiple times?

I did the fatal mistake of using "sudo pip" inside a virtual environment multiple times, and now all my virtual environments are a mess, failing in random ways when I try to install pip packages. I'm ...
1
vote
1answer
53 views

What problems can I expect using deadsnakes ppa as my primary python3 instance to get python3 to ref python3,7? [closed]

As the title states, what problems should one expect. I've seen a few, and I'll note them in the self-answer, but if you've seen any others, I don't think this has been asked/inventoried before.
0
votes
0answers
102 views

Python/Pip broken after updating to 18.04

I recently upgraded to Ubuntu 18.04. Before I did, I could use pip(3) and pipenv to install modules. Now I find that whatever I try, I get errors. The only thing that does work is to call pip(3) as a ...
0
votes
1answer
137 views

Package management broken, many “[Errno 2] No such file or directory” errors [duplicate]

Yesterday I had been trying to update intel drivers and rebooted. I don't remember or have the commands I had used but since the reboot I have been unable to install any software or attempt to fix my ...
0
votes
1answer
67 views

After I installed python3.7.1, the input method stops working. What's the matter?

I am using Ubuntu 18.04 bionic. Yesterday I built python 3.7.1 from source and sudo make install. The process didn't end successfully and had some problems with lsb_release. I guessed it is because ...
1
vote
1answer
60 views

How can I solve this trouble issue in downloading tensorflow and anaconda?

I have ubuntu 18.04 64 bit . i bought a hard ssd . and gpu is intel haswell i tried to download anaconda ,but it is interrupted ,lap tope type is hpprobook. and tried to use command-line and follow ...
0
votes
0answers
28 views

Python terminal giving error after readline installation ubuntu 16.04

I have installed python3 and pip3 in Ubuntu 16.04, but I am getting escape characters while using the arrow keys. I searched for it and found that I need to install "readline" module in python3. So I ...
0
votes
0answers
44 views

How to remove Python3.7 completely [duplicate]

I tried to install Python 3.7 manually, in process i couldn't install all packages i guess and it's not giving access to PIP and some other. I would like to remove Python3.7 and its dependencies.
0
votes
0answers
20 views

how to install django in mysql client

I have installed MySQL client in windows 7 but I can't find the mysql.h file in any directory. I don't mean that the compiler can't find it, as mentioned in countless other questions, here but I can't ...
0
votes
0answers
15 views

Unable to import django.templates and others

I'm learning python and django to make a local website that stores some information. Anyway, I messed up my first project , and I started a second one, in other folder from django.http import ...
0
votes
1answer
24 views

Accessing of LibreOffice Writer files [closed]

How do I access LibreOffice Writer files with Python in Ubuntu using terminal ?
0
votes
2answers
78 views

Cannot upgrade in ubuntu 18.04

/home/bicky# apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 ...
0
votes
0answers
40 views

Removing Electrum completely

I installed the Electrum wallet on Ubuntu 16.04 through sudo apt-get install python3-setuptools python3-pyqt5 python3-pip sudo python3 -m pip install https://download.electrum.org/3.2.3/Electrum-3.2....
0
votes
1answer
33 views

Map plotting with Basemap Ubuntu 18.04

I am trying to plot on a globe with basemap. However, I get the following error listed below. How can I get basemap to work? Traceback (most recent call last): File "plotgm.py", line 3, in <...
0
votes
0answers
89 views

How we fix dependency problem and python3 broken problem in Ubuntu 18.04?

/home/bicky# apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages were automatically installed ...
2
votes
0answers
216 views

New to Ubuntu 18.04, unable to install python3-dev

I am actually in the process of trying to install a GitHub project via PyPI. I'm having some difficulty getting it to install so someone recommended that I try sudo apt-get install python3-dev When I ...
0
votes
2answers
228 views

Subprocess installed post-installation script returned error exit status 1 postinstall menu and mime types python

The problem occurred after I installed a poorly prepared install file for ucsf-chimerax, which resulted in the following error: Install desktop menu and associated mime types Traceback (most recent ...
0
votes
1answer
122 views

Which command and alias for pip3.7

I created the following alias to run pip3.7 everytime I use pip command: pip='pip3.7' Now, bash says: pip -V pip 18.1 from /home/uname/.local/lib/python3.7/site-packages/pip (python 3.7) but, the ...
1
vote
1answer
361 views

OSError: [Errno 30] Read-only file system [closed]

the following error showed up while I was training a neural network: File "train.py", line 397, in <module> File "train.py", line 270, in train File "train.py", line 335, in ...
0
votes
1answer
42 views

How can I use pip3?

If I try to use pip3 I see: $ pip3 --version Command 'pip3' not found, but can be installed with: sudo apt install python3-pip So I run: $ sudo apt install python3-pip Reading package lists... ...
0
votes
1answer
70 views

18.04 apt-get install python3-netcdf4

When trying to install the package python3-netcdf4, I get the error E: Unable to locate package python3-netcdf4 I have tried to update, but the package is not found. Where do I find it? apt-cache ...
1
vote
1answer
59 views

Ubuntu 16.04 get stuck after Python 3 removal

My Ubuntu 16.04 LTS seems stuck and has lost its graphical interface after the removal of python3. I thought only python2 was crucial for the System. However: how to fix this mess? System does not ...
0
votes
0answers
69 views

Unable to build python 3.7.0 “_dbm” optional module

I've been able to successfully finish building python 3.7.0 but one last optional module keeps slipping through the net! _dbm What ubuntu or debian package is required for this? The necessary bits ...
1
vote
1answer
33 views

How to exclude some processes while using ps command

I try to develop Task manager for my personal use using python3. In my code I use this command to list all running process in a while loop ps -eo pid,comm,user,%mem,%cpu | awk '{$4=<Variablehere&...
2
votes
0answers
436 views

Unable to install python3-dev and python3's pyyaml package on ubuntu 18.04

Every single time I run the command sudo apt-get install python3-dev I get the following error: Reading package lists... Done Building dependency tree Reading state information... Done Some ...
3
votes
1answer
83 views

Which Python is running? [duplicate]

I've just now installed Python 3.7 and I'd like to understand why I get the following output from bash: g-luca@hp-notebook:~$ python3.7 -V Python 3.7.0 g-luca@hp-notebook:~$ python3 -V Python 3.5.2 g-...
0
votes
0answers
158 views

Virtualenv Permission denied when trying python setup.py install

I want to use virtualenv with Python 3 on Ubuntu 18.04. Specifically, I'm using Python 3.6.6 and virtualenv 16.0.0. I installed virtualenv with sudo as suggested in the answers here: sudo pip3 ...
0
votes
1answer
345 views

How to change the default version of python in ubuntu permanently [duplicate]

The default version of python in my Ubuntu 18.04 is 2.7. I've already used the command: alias python=python3 but it changes the python version temporarily, as soon as I close the terminal and re-...
0
votes
0answers
71 views

GLSL Version 330 is no Supported on AMD

I recently switched to using Ubuntu instead of Windows, but I can't get PyOpenGL GLSL 330 to work. I have searched around the web but nothing so far helped me. I'm using the Radeon graphics driver ...