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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions tagged [python3]

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

2
votes
0answers
13 views

Why is the Python venv module not working in Ubuntu 16.04?

Some things you should know before I ask my question: I am utterly new to both Linux & Python, and have a hard time understanding official documentation and technical answers (but have a burning ...
0
votes
1answer
25 views

How Can I Assign A URL To My IP [server, 18.04]

I recently got Ubuntu Server 18.04 and i just got a basic HTTP server running through Python http.server, socket, and socketserver modules. Now im wondering how can i asign a URL to that IP and setup ...
0
votes
0answers
14 views

where is python modules

while i am tring to connect firebase into python i tried to install python-firebase by ozgur python-firebase i exactly done what the instructions were said but while i am tring to import firebase it ...
0
votes
2answers
69 views

How to safely switch to python3 as default after upgrade to Ubuntu 18.04

Since python3 is the default python version in Ubuntu 18.04 and python2 won't be shipped by default on a fresh Ubuntu 18.04 installation, how can I make python3 default after an upgrade to Ubuntu 18....
0
votes
0answers
17 views

Broken python dependencies after trying to uninstall

I had several installations of python on my ubuntu 18.04 system and tried to uninstall all necessary ones and just properly reinstall python3.6 So i deleted all folders that were listed under whereis ...
0
votes
0answers
16 views

What is the command in using Python3 on cygwin to use a script located in my google drive? [on hold]

So I am having this problem where I need to use a script sent to me. I need to use cygwin python3, so that I can get the URLS from a website (yellowpages) and create a list saved as txt. I am a ...
0
votes
0answers
8 views

Unable to locate package python3.4-venv [duplicate]

I have a fresh install of Ubuntu 18.04.1, and am trying to install python3-venv. I have tried all of the following: sudo apt install python3-venv sudo apt install python3.4-venv sudo apt-get install ...
-3
votes
0answers
28 views

Can't install pip on Ubuntu server 18.04 [duplicate]

I have a vanilla install of 18.04 server installed. When I run sudo apt-get install python3-pip or sudo apt-get install python-pip I get Reading package lists... Done Building dependency tree ...
-3
votes
0answers
25 views

Extract the table name and corresponding table properties,coloumn name , datatype and comment info(DSID specific) using python3 [on hold]

Below is Teradata table and need to extract Table name and corresponding table properties,coloumn name , datatype and comment info(DSID specific) using python3. CREATE MULTISET TABLE Chnlsls_Trng_App....
0
votes
1answer
50 views

ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory

I am getting this error when I want to import tensorflow-gpu on Ubuntu 16.04. I have installed CUDA 9.1 properly, cudNN 7.1 properly and tested both without facing any problem. (using python 3.5 2.) ...
0
votes
1answer
25 views

Sublime 3: When trying to run/compile Python code, “python: command not found” errors are being returned

I am using Sublime 3 as my text editor, and am working with a python file. Whenever I try and run the script or compile it through Sublime, I get the following error output: bash: python: command ...
0
votes
0answers
20 views

How to install jupyter notebook [duplicate]

I have followed jupyter notebook installation steps: python3 -m pip install jupyter I am using python3.5. After installation, I try to execute the command: jupyter notebook --ip=127.0.0.1 I got ...
0
votes
2answers
73 views

Using pip3 with sudo permission problem in Ubuntu 16.04

I have Python3 and Python2 and also pip and pip3 for various python version package installation. I want install a ZMQ library in Python 2 and 3, I did it in python2 as well with the following line: ...
-1
votes
1answer
25 views

plasmapy - no installation candidate

I type this command to install the plasmapy module, but I just get: error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 I've searched and tried to install python-dev in different ways ...
1
vote
1answer
18 views

Pip within virtual Enviroment

Background # My intention is to set up virtual environments using Python 3.7 I have already "burnt my fingers", on wrecking the py3.5.2 that Ubuntu16.04 depends on. Assumptions # A) I understand ...
0
votes
1answer
190 views

Install python 3.7 with the 3.5 version already installed on ubuntu 16.04 [duplicate]

I almost broke my Ubuntu installation trying to install python 3.7 from the source using checkinstall. My question is how to install python 3.7 and it's equivalent ipython alongside with python 3.5 ...
3
votes
2answers
163 views

Error: could not determine PostgreSQL version from '10.4'

getting error while installing uniq Error message: Downloading https://engci-maven-master.cisco.com/artifactory/api/pypi/apic-em-pypi-group/packages/86/fd/...
0
votes
0answers
23 views

Python script will not run without preceding script file on command line with 'python3'. Error: 'command not found' (18.04) [duplicate]

When I try and run a Python3 script from the CLI I get the error command not found As far as I can see the script and environment are set: $ which python3 /usr/bin/python3 Script file permissions: ...
1
vote
0answers
29 views

Error: Dependency “python3” not found

I am somewhat new to Linux and have installed Ubuntu 18.04 LTS two weeks ago. I was following a process today which had me download Meson and Ninja to compile something. I'd run the compiler, it ...
-1
votes
1answer
86 views

trouble installing pygame on ubuntu 16.04 LTS

I had a hard time installing pygame on my ubuntu 16.04 LTS. I use python 3. these are the steps I took to install pygame: 1.first I installed pip: sudo python3 get-pip.py this is the output of ...
0
votes
1answer
78 views

Problems with Ubuntu 18.04, Python 3.6.5, psql 10.4 and pgAdmin 1.22.2

Code did run with: Lubuntu 16.10, Python 3.5.2 (python3), psql 9.5.7 and pgAdmin 1.22.1. .... Also installed: Python 2.7.12 (python) Code does not run with: Ubuntu 18.04, Python 3.6.5 (python and ...
3
votes
1answer
2k views

How do I install Python 3.7 on Ubuntu 16.04 and 18.04? [duplicate]

I have several systems. Some are 16.04 mini-servers and I cannot update the OS yet. The others have been updated to Ubuntu 18.04. (The 18.04 version I used has Python 3.6.5 on it).
0
votes
0answers
115 views

How to set Python path in Ubuntu 16.04

I know how to do the export to python path, but my problem is a little different. I have python 3.5 and I installed nltk using pip3. When I try to import nltk.tokenize, it works just fine: Python 3.5....
0
votes
1answer
114 views

pip3 reinstall on Ubuntu 18.04

Recently I have faced with the issue that on Ubuntu 18.04 pip3 does not work properly: :~$ pip3 install jinja2 Traceback (most recent call last): File "/home/redra/.local/bin/pip3", line 7, in <...
0
votes
0answers
39 views

python3-graph-tool / gtk+3 installation error 'Depends: libboost-iostreams1.55.0 but it is not installable…'

I had so far imagined that on ubuntu this would be done in one shot, but well well well.. These issues - I had expected a good internet connection would resolve - are still blocking clean install of ...
0
votes
1answer
151 views

Problems running PyQt4 on Ubuntu 18.04

I programmed a small GUI in python and PyQt4 on Ubuntu 14. When I try to run the same script on Ubuntu 18.04, I get an import error: ModuleNotFoundError: No module named 'PyQt4' I have installed ...
0
votes
1answer
56 views

Run gsettings with crontab

I've made a simple python script to change my wallpaper (Ubuntu 18.04) by randomly taking an image in a specific folder. I use gsettings command. It works when I run it manually, but I want to ...
0
votes
0answers
201 views

Python3.5-dev in Ubuntu 18.04

I installed python3.5.5 from source using make altinstall. Now I also need python3-dev. However I can not find any info on what version I need to work with 3.5.5. If I google python-dev version for ...
0
votes
0answers
93 views

Problem installing jupyter notebook

I'm trying to install jupyter notebook using pip command in ubuntu 16.04. python3 and pip latest version are already installed in my machine. so when i run : $ pip install jupyter I'm seeing this ...
0
votes
1answer
189 views

Python 3 as default Python command [duplicate]

I am using Visual Studio Code for my Python programming and the problem that I am facing is that on terminal when I type the command python, by default Python 2.7 is loaded. So because of this I am ...
0
votes
0answers
21 views

ModuleNotFoundError for Kivy

I have installed the latest version of Kivy on my Ubuntu 18.04 system following the instructions on the kivy.org site. The kivy folder can be clearly seen in the Anaconda3 folder. And also using the ...
2
votes
2answers
6k views

Upgrading Python 3.6 to 3.7 in Ubuntu 18.04 LTS [duplicate]

Since Python 3.7 is already launched, I wanted to ask when will Ubuntu 18.04 will get an update to upgrade the Python3'sversion?
0
votes
2answers
201 views

Help on pip install? [duplicate]

Please I need help, if I run sudo pip install pip or pip install Django on my computer terminal, this is the message I get, what can I do. Last login: Thu Jun 28 18:51:51 on console ➜ ~ sudo pip ...
1
vote
0answers
133 views

Pip not working

I am currently trying to install some packages via pip, for some Python development, and I keep coming to these errors. I already tried to disable the firewall, but the error persists. Any idea of ...
0
votes
0answers
20 views

Package Installation error in Virtual Environment

I am using Ubuntu 16.04. So I created a virtual environment for python and activated it using cd /entire_path_to_virtual_env/bin source activate After that I used: pip3 install nltk The ...
0
votes
1answer
60 views

Strating Melissa AI ModuleNotFoundError: No module named 'flask_socketio' , help?

Command: ubuntu@ubuntu:~/Melissa-Core/melissa$ FLASK_APP=__main__.py flask run Result: ***Traceback (most recent call last): File "/usr/bin/flask", line 11, in <module> ...
0
votes
0answers
34 views

Could alias python=python3 in my bashrc cause problems? [duplicate]

I would like to use python3 as my default python when working with the terminal. If I added the line alias python=python3 in my ~/.bashrc, could that cause problems with other programs?
0
votes
0answers
17 views

How to add WMClass to python module

I've created a little script in my $HOME/bin folder, just cd into a specific folder and starting a pathon module (python3 -m myapp). Also I've created a myapp.desktop file in $HOME/.local/share/...
1
vote
0answers
524 views

How to install Python 3.6 in Ubuntu 16.04.3 LTS without root privilege ?

I don't have sudo rights to a machine but I have to install Python 3.6 in it.
0
votes
0answers
33 views

Issues while setting python3 as default python on Ubuntu 16.04 [duplicate]

I completed the steps mentioned here: https://askubuntu.com/a/892343/841394. When executing sudo python3.6 get-pip.py I get: Traceback (most recent call last): File "get-pip.py", line ...
0
votes
0answers
61 views

Upgrading pip3 messed my computer

I've installed pip and pip3 using $sudo apt install python-pip$ $sudo apt install python3-pip $ and i've installed a few packages. I had to rebuild python3 .Since then i can't use the ...
0
votes
0answers
188 views

How to update python 3.5.2 to 3.5.4?

I 'm using python 3.5.2 and when I was trying to use DataFrame then I found a bug. A man had sugested me that, that is a bug in version 3.5.2 and he advised me to use version 3.5.4. I had try to run ...
0
votes
0answers
71 views

Why am I getting import cv2 error even I have installed it properly?

I'm trying to run python script which import opencv, I have sucessfully installed opencv, I can see the installation and version but when I try to call it through the script I get import error (cv) ...
0
votes
1answer
266 views

I am using Spyder 3.2.8 on Ubuntu 18.04 LTS but the Python version is 2.7. How do I change it to Spyder Python3.6 version?

I have downloaded the Anaconda from Anaconda's website for Python3.6 but it shows Python2.7 in Spyder. Actually I am doing an online course where instructor is using Python3.6 on Windows but I have ...
0
votes
1answer
963 views

Python 3.5 in Ubuntu 18.04? [duplicate]

I would like to install Python 3.5 in my new 18.04 Ubuntu release. I don't want it to be my default version. I just need it to run a specific app. Can anyone help?
0
votes
0answers
18 views

ubuntu 16.04 - Hash Sum mismatch while doing sudo apt-get upgrade [libreoffice/python3-uno_5.1.6~rc2-0ubuntu1~xenial3_amd64.deb Hash Sum mismatch] [duplicate]

my full error is as shown below E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libr/libreoffice/python3-uno_5.1.6~rc2-0ubuntu1~xenial3_amd64.deb Hash Sum mismatch E: Unable ...
1
vote
1answer
85 views

pip install creates directory in site-packages but not in bin directory

I want to install a python-package (celery) within a virtualenv using pip. My virtualenv is activated, and after executing pip install celery the directory venv/lib/python3.6/site-packages/ has ...
2
votes
0answers
37 views

python and pip not in sync

I installed ubuntu16.04 today and automatically went and installed python from their website. Now I have python3.5 preinstalled in usr/bin and python3.6 installed in usr/local/bin. When I type in ...
0
votes
0answers
42 views

Can't get openssl upgraded

I have Ubuntu 14.06 LTS. I need to use python 3.6.5 with openssl 1.1.0. The openssl verison I have is: OpenSSL 1.0.2g 1 Mar 2016 I tried to upgrade openssl using: $ sudo apt update && sudo ...
1
vote
1answer
751 views

ImportError: cannot import name 'multiarray'

I installed Python3.6 as described here: sudo add-apt-repository ppa:jonathonf/python-3.6 sudo apt-get update sudo apt-get install python3.6 Then I installed numpy as follows: sudo apt-get install ...