Skip to main content

Questions tagged [python3]

Python is an interpreted, general, high-level programming language. Programming questions are off topic. Questions about the use of Python should be asked at Stack Overflow (http://www.stackoverflow.com) instead.

0 votes
0 answers
824 views

How to make python use latest SQLite

I already did the following: 1. Going over to this url: https://sqlite.org/download.html I will download 'sqlite-autoconf-3260000.tar.gz' which is version 3.26.0 2. assuming it's in my Downloads ...
Thiplol's user avatar
1 vote
1 answer
10k views

this package is broken python3-dev

Whenever I install something that requires python3-dev it shows this message: The following packages have unmet dependencies: python3-dev: Depends: python3 (= 3.6.7-1~18.04) but 3.6.7-1~18.04 is ...
Mark Deven's user avatar
  • 1,660
0 votes
1 answer
415 views

Run Python3.4 and Python3.7 simultaneously on Linux

I have a linux VM with preconfigured Python3.4. I need to have Python3.7 to run my code. I tried to uninstall Python3.4 but there are some system dependencies, so I kept old version. Then I ...
Jareq's user avatar
  • 3
1 vote
0 answers
322 views

cv2 and pyqt4 can't work together

I try to use cv2 with PyQt4 widget but I keep getting this error: (python3:3974): GLib-GObject-WARNING **: 12:41:27.117: cannot register existing type 'GdkDisplayManager' (python3:3974): GLib-...
Learner's user avatar
  • 11
0 votes
1 answer
262 views

Install hadoop before installing Spark

I have a fresh install of Ubuntu Server on virtualbox. My goal is to achieve the following. Install Hadoop and Spark; Run Spark on top of Hadoop using its hdfs as storage; Install Jupyter and ...
Zulu's user avatar
  • 1
0 votes
0 answers
1k views

Error on installing awscli in 64 bit windows 10 and Python 3.7

I have tried both msi and pip installation for awscli for windows 10, python 3.7. I am getting the error 'File "C:\Program Files\Python37\Scripts\aws.cmd", line 50, in import awscli....
user3035477's user avatar
1 vote
0 answers
363 views

Geany cannot find project file in Ubuntu 18.04

I am using Ubuntu 18.04. Creating a new project in geany, I get message project project file could not be written. The project is a python 3 project. I was able to save geany created python script ...
Python Jim's user avatar
0 votes
2 answers
138 views

Postgres Authentication Fails When Starting Dajngo

I am in the process of restoring my Django development server to another virtual machine. I have set up Django, Postgres, installed the GIS extensions and restored the database. When I run the server,...
RLBChrisBriant's user avatar
0 votes
3 answers
1k views

Change Python version a script is referring to

I have downloaded the script "install_esoreflex" (ftp://ftp.eso.org/pub/dfs/reflex/install_esoreflex) and then execute the following commands: chmod u+x install_esoreflex ./install_esoreflex I get ...
bajotupie's user avatar
2 votes
0 answers
794 views

How to make Vim play nice with Python 3.7 on Windows

I want to use Gvim 8.1 with some plugins, but some of those mostly require Python 3.7 Fine, I found one Gvim installation ( https://github.com/vim/vim-win32-installer) that was compiled with Python 3....
yarun can's user avatar
  • 1,010
0 votes
1 answer
857 views

bs4 python module issue

When I run the command: python checker.py capture.xml indication NULL I get the error: Traceback (most recent call last): File "checker.py", line 1, in ModuleNotFoundError: No module named ...
Natiya's user avatar
  • 259
0 votes
1 answer
6k views

Add python 3.7.1 path on windows 7

I want to use python from my cmd/bash, I have copied the path and added it the environment variables but it didn't work, python is working fine from python GUI. I have checked youtube videos there ...
Farmetly Services's user avatar
2 votes
0 answers
81 views

What is the installation structure of python on Linux? [closed]

So I completely broke my python. I am not really interested in fixing it, I am going to do a reinstall of my OS anyways. This got me thinking however. How does a python install work on Linux? ...
Felix Brakel's user avatar
2 votes
1 answer
3k views

Unable to uninstall Python 3.5 on Windows

I am trying to uninstall Windows 64-bit Python version on my Windows 7 laptop, but unable to do so. It detects an installed version so it provides the option to modify, repair or uninstall. But on ...
Ulysses's user avatar
  • 143
0 votes
2 answers
379 views

How to delete lines after : if value is >5 in Notepad++ or Python

Hoping someone can help. I'm trying to delete any string that has 5 or less chars after : For example : test:test test:test12 (would be the only line kept) cobra:abcd I've tried solving it for ...
Vansy88's user avatar
3 votes
0 answers
679 views

SSL error python3

Up until yesterday I've been using Spyder on Anaconda (windows) to run code with no issues whatsoever. Today, while running one of my scripts that include quandl, I get an SSL error: SSLError: ...
hhkk's user avatar
  • 31
0 votes
1 answer
737 views

What does this error message mean?

I use Python 3.7 and try to install the amazon ECS-CLI. Could not find a version that satisfies the requirement pypiwin32==220; sys_platform == "win32" and python_version >= "3.6" (from docker&...
Niklas Rosencrantz's user avatar
0 votes
0 answers
462 views

Windows 10 mkdir in Python Script with Special Character [duplicate]

I think/hope this a an easy question that I just can't find the answer to - how do I create a directory where the title contains a colon? I'm scraping data from a website with variables for section ...
Hatt's user avatar
  • 101
3 votes
1 answer
7k views

How do I write a .pth file?

I want to change the directories in which Python looks for my packages and modules, and changing PYTHONPATH in Windows 10 Environment Variables does not work. So the only solution left (apparently) is ...
Iska's user avatar
  • 33
1 vote
1 answer
240 views

Python3 with setuptools fails copying data if run by checkinstall

Running checkinstall for a python module which uses setuptools fails while running install_data with error: error: [Errno 2] No such file or directory on the first file it encounters. It is creating ...
PF4Public's user avatar
  • 366
0 votes
1 answer
2k views

how to integrate mobile call to a chatbot using asterisk

I am developing a voice based chatbot which can call a person and have the conversation. Currently, the chatbot uses my pc mic and speaker for input and output audio. I am trying to integrate this ...
Raady's user avatar
  • 103
0 votes
0 answers
3k views

Error with Python win32com

I have installed Python 3.6.5 in Windows 10 and tried to import win32com.client, but I'm getting the following error message: import win32com.client Traceback (most recent call last): File "<...
Dhanu's user avatar
  • 1
1 vote
0 answers
2k views

How to install the "google" module for Python in Windows 10?

I have a hard time installing the google module on my Python 3.6.4, or actually having Python seeing it: C:\WINDOWS\system32>python -V Python 3.6.5 C:\WINDOWS\system32>python -m pip install --...
WoJ's user avatar
  • 3,263
1 vote
2 answers
7k views

Wrong Python version returned, with correct $PATH set in ZSH

something very wrong is happening with my environment set up. As I am trying to learn, I decided to reinstall Mac OSX El Capitan on my Macbook Pro and start installing and configuring stuff from ...
Alexander Starbuck's user avatar
0 votes
2 answers
1k views

arecord and aplay in Audio injector sound card

I want to create a fifo with arecord and aplay in raspberry pi3. When I send music signal from audio injector at one end it shows properly but disable the music to other end. I am using "arecord -f ...
naman gupta's user avatar
0 votes
0 answers
255 views

Python 2to3 Converted Python Package Does Not Find Script

I have both Python 2.7 and 3.5 installed in Debian Stretch on my 64bit Linux platform. I have installed PyChem (http://pychem.sourceforge.net/), written in Python2 after converting the python files ...
Steve's user avatar
  • 1
0 votes
1 answer
11k views

How to install pyinstaller in Python 3.4.3

I am trying to install pyinstaller in Python 3.4.3: C:\Python34\Scripts>pip3 install pyinstaller Collecting pyinstaller Using cached PyInstaller-3.3.1.tar.gz Requirement already satisfied: ...
Hrvoje T's user avatar
  • 1,949
1 vote
0 answers
270 views

Importing QtWidgets in Python on Windows Machine

I just installed PyQt5 in order to run an already written program, and it seemed that the installation was successful. However when I try to import just the module QtWidgets within PyQt5, I receieve ...
rmsrms1987's user avatar
1 vote
0 answers
4k views

Deleted the /use/bin/python3

I accidentally deleted the /use/bin/python3 by using rm -rf /use/bin/python3 and now it is showing bad interpreter: no such file or directory. How do I restore it back ?
user875198's user avatar
2 votes
1 answer
1k views

Repeatedly Getting "Cannot find module" error

I have installed a package called munch on Windows 10 from here. However I am not able to execute a command. When I say on the command line munch --help This is the error I get: I checked out ...
CuriousDev's user avatar
3 votes
1 answer
2k views

pip missing from python3.6 install on Ubuntu 16.04

I've installed python 3.6 on Ubuntu 16.04 using: add-apt-repository ppa:jonathonf/python-3.6 Unfortunately no pip is included. How have you solved this?
rjmoggach's user avatar
  • 293
0 votes
1 answer
862 views

Unable to set up virtualenv on CentOS for python3

I am using a server that runs CentOS. The default version of python there is 2.7. It also has python3.4 installed. The package I need to work with requires python3.5. I installed python3.5 but it was ...
user avatar
1 vote
0 answers
531 views

Windows symlink multiple images to new folder, can't iterate through symlinks using Photos app, and Explorer does not display image thumbnails

I learned from this question how to make symlinks in Windows. I think Python actually uses the Powershell command New-Item under the hood to make symlinks in Windows. I make a bunch of symlinks that ...
Ray's user avatar
  • 481
0 votes
3 answers
295 views

Installing python 3.5

I had python 2.7.5 installed and i wanted to upgrade to 3.5. So i went to the website and downloaded the installer. The installer installed python 3.5 succesully. In adidtion to that i selected the ...
user1584421's user avatar
1 vote
1 answer
8k views

Switching between Python 3.5 and 3.6 in Windows 7

I seek to be able to type something like python36 or: python35 in the command prompt to be be able to run 3.6 or 3.5 shells, respectively. When I type python in the command prompt, it only opens a ...
Johnny Apple's user avatar
0 votes
2 answers
3k views

How to Add and edit a .vimrc file in cygwin

Recently I downloaded the cygwin file setup-x86_64.exe and run it, and I selected all the vim packages and install them as well. Now i'm trying to edit the vimrc file to install some Plugins, but when ...
noer's user avatar
  • 3
0 votes
1 answer
280 views

Opening a text file and writing some of its contents to an xlsx file in the current working directory with a .exe

I have a script, called BLRP2Excel.py, that takes a text file called BLRP.txt in the same directory as the script, and writes some of it's content to a .xlsx file called 'Computer Data.xlsx.' The idea ...
Johnny Apple's user avatar
0 votes
1 answer
208 views

Why python3 address is different between the 2 instructions in Ubuntu?

~$ which python3.5 /usr/bin/python3.5 ~$ pip3 --version pip 9.0.1 from /usr/local/lib/python3.5/dist-packages (python 3.5) one is /usr/bin/python3 another is /usr/bin/local/lib/python3.5, why?
sweet virus's user avatar
0 votes
1 answer
376 views

I have lost the venv part of my agnoster prompt on Apple Mac

macOS 10.12.6 Sierra Hello, I have just installed Zsh and Oh-my-zsh. I then selected the Agnoster theme and was very happy with it. Now, after some tweaking I seem to have lost the venv part of my ...
user avatar
1 vote
0 answers
348 views

Nemo won't stop crashing, trying to fix it actually broke Firefox and other things

I'm using LMDE Betsy, and nemo has been crashing all the time lately. The windows usually last a few seconds, and the Desktop icons keep disappearing as well. I've tried to fix it in several ways ...
rioualen's user avatar
  • 131
2 votes
1 answer
4k views

Install mod_wsgi on Ubuntu with Python 3.6, Apache 2.4, and Django 1.11

How do I get mod_wsgi for Apache2 that was compiled for Python 3.6.1? (or any future Python version) I am using a Python 3.6.1 virtual environment with Django 1.11 and Everything is working ...
JxAxMxIxN's user avatar
  • 131
1 vote
1 answer
5k views

How to install python packages in python3.6 folder?

After extracting .tar.gz and running python setup install, selenium gets installed in, .... creating /usr/local/lib/python2.7/dist-packages/selenium-3.4.3-py2.7.egg Extracting selenium-3.4.3-py2.7....
overexchange's user avatar
1 vote
1 answer
2k views

python3: install packages via pip on Windows with parallel python2

After installing (in said order) python 2.7 python 3.5 on Windows 7 I want to install python (site-)packages for python3.5, e.g. pylint but keep python 2.7 as default python (in PATH variable) ...
hardmooth's user avatar
  • 145
3 votes
4 answers
19k views

Edit with IDLE missing using Windows 10

I installed Python 3.6.1 windows 64-bit. But my edit with idle is missing when I use the right click. Can somebody help? I already reinstalled a few times, but the problem still there. =(
todd's user avatar
  • 31
2 votes
1 answer
7k views

pkg install using specific version of Python in FreeBSD?

How do you 'pkg install' a package using specific version of Python in FreeBSD 11? say I want to 'pkg install' using Python 3?
user727967's user avatar
0 votes
1 answer
1k views

Error after installing spacy package

I installed spacy package in python 3.6 but after installing I get this error when I want to import this package. In [1]: import spacy ----------------------------------------------------------------...
DSaad's user avatar
  • 351
0 votes
1 answer
2k views

Install python 3.3 in linux (python 3.5 is the newest)

I have installed python3.5 at my linux computer. To use the package django-polymorphic, which only supporty python 2.7, python 3.2 and 3.3 I am forced to use an older version of python. (Why) would ...
Asqiir's user avatar
  • 149
53 votes
1 answer
64k views

What does "precompile standard library" option mean in python installation?

I am trying to understand different options in Python3 installation. What does the "Precompile Standard library" option mean in the Custom Python installation and why should it be enabled or ...
GP92's user avatar
  • 309
0 votes
1 answer
29 views

python 3.5 console not able to type the 'c' key

I have a very strange problem when using the python3 console. Whenever I type c (the actual c character) what gets written is the <tab> character. So in essence I can't type anything that ...
ludic's user avatar
  • 101
1 vote
2 answers
2k views

Run a Python script with filename arguments as a MacOS Folder action

I would like to run a Python script as a Folder Action in Mac OS. The Python script takes the name and full path of a file as an argument. Ideally, I would like to right-click on a file in Finder to ...
user678732's user avatar

15 30 50 per page
1
3 4 5
6
7