All Questions
Tagged with ubuntu-16.04 python
494
questions
0
votes
1
answer
139
views
Write multiple commands in a row to WSL ubuntu terminal
Right now I am running a wsl ubunutu terminal and have a python script in a directory that is different to the home directory. I can get it to run a single command to it like 'ls' but i want to cd in ...
0
votes
1
answer
282
views
Error installing python3.7 on ubuntu 16.04
I'm trying to install Python3.7 on ubuntu 16.04. I tried the installation steps on the internet, but I got an error code.
My installation steps:
sudo apt update
sudo apt install software-properties-...
0
votes
2
answers
1k
views
Can't use apt-get on Ubuntu 16.04 VM cuz missing python3
I can't seem to find a solution for this. I need sudo apt-get install <package> to work because sudo apt-get -f -qq install -y doesn't work.
Here is the log:
ubuntu@ip-10-8-0-145:~$ sudo apt-get ...
0
votes
1
answer
84
views
Getting syntax error while using virtualenv package in Ubuntu 16.04
I am running Ubuntu 16.04 in VMware virtual environment. When I try to install virtualenv, I am facing issues.
What I did:
sudo apt install python3-pip
sudo pip3 install virtualenv
virtualenv --...
-1
votes
1
answer
152
views
Unable to render Flask web-page
I am using Ubuntu 16.04. It had builtin Python 3.5. I was unable to download Flask in that version. So, I changed it to Anaconda Python3.8.
However, I am unable to render any Flask page.
The following ...
4
votes
2
answers
3k
views
Problem when installing Python from source, SSL package missing even though openssl installed
The Problem
Trying to install Python-3.11.1 from source on Zorin OS (Ubuntu16 based) I get the following errors when I try to pip install any package into a newly created venv:
python3.11 -m venv venv
...
0
votes
1
answer
113
views
Add RobotFramework to Ubuntu:16.04
enter image description hereI want to download robotframework in ubuntu for dockerfile but i didn't found. What can i do?
FROM ubuntu:16.04
RUN apt-get update
RUN apt-get install software-...
0
votes
1
answer
991
views
Syntax error in python 2.7 with aws cli command
we started to getting next error :
+ aws ecr get-login --region us-east-1 --no-include-email
Traceback (most recent call last): File "/usr/local/bin/aws", line 19, in <module>
...
3
votes
2
answers
13k
views
Updating from Python 3.5.2 to Python 3.8 using deadsnakes PPA is not working on Ubuntu 16.04 LTS
I can't update Python on Ubuntu 16.04 LTS from my Python 3.5.2 to 3.8. I found an existing post here which shows how to update Python to 3.8. I tried those steps are follows:
sudo add-apt-repository ...
0
votes
1
answer
426
views
GLib.Error: Required gtk+ version 3.20, current version is 3.18 (7)
I have an old program written in Python2 i need to use, but it's not getting along with Ubuntu Xenial's dependencies.
I had to manually fetch these in order to get it to run:
libwebp6_0.6.1-2ubuntu0....
1
vote
0
answers
864
views
Import Error Occurs when Building GEM5 : undefined symbol
I am trying to follow default "Getting Started with GEM5" at the gem5.org
But build fails because of import error.
Especially, it seems /usr/local/lib/python3.6/lib-dynload/_struct.cpython-...
1
vote
2
answers
2k
views
how to make virtualenv see the default python version on Ubuntu
I encounter an error when creating virtual environment on Ubuntu-16.04.
In particular, virtualenv -p python myenv returns
Traceback (most recent call last):
File "/usr/local/bin/virtualenv"...
0
votes
1
answer
12k
views
pip install --upgrade pip and pip install --upgrade setuptools both failed with error code 1 [duplicate]
i encountered errors with trying to upgrade pip, and its setup tools.
Appended below are the errors.
pip install -upgrade pip failing
pip install --upgrade pip
Collecting pip
Using cached https://...
0
votes
0
answers
1k
views
everytime i use apt update .. here is what is says , i have even tried sudo apt-get update but the problem remains the same
**Reading package lists... Done
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
E: Could not open lock file /var/lib/apt/lists/lock ...
0
votes
1
answer
5k
views
Install repo tool compatible with Python2 with init command
What I'm trying to accomplish is to build Android 8 OS in docker container based on Ubuntu 16.04. To get sources I need to use repo tool. The latest repo was installed in Dockerfile.
When I do:
repo ...