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]

The tag has no usage guidance.

0
votes
0answers
54 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....
0
votes
1answer
28 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 ...
0
votes
1answer
57 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 ...
2
votes
0answers
36 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? ...
0
votes
1answer
55 views

Unable to unistall python 3.5 on windows

I am trying to uninstall windows 64 bit python version on my Win7 laptop but unable to do so. It detects an installed version so it provides the option to modify, repair or uninstall. But on ...
0
votes
2answers
71 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 ...
0
votes
0answers
73 views

Different TLS versions in the ClientHello from the same client

I have a python client. Using ssl.SSLContext() (documentation here) and set_ciphers(myciphers) (where myciphers is my list of ciphersuites that I change with every handshake, i.e., with every socket ...
2
votes
0answers
195 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: ...
0
votes
1answer
134 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&...
0
votes
0answers
26 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 ...
2
votes
1answer
245 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 ...
0
votes
0answers
87 views

ffmpeg distort audio from video files

I am using ffmpeg to manage 250 video files (.mp4) from individuals talking about personal experiences. Anyone knows how to distort the audio so that a watcher can not understand the content of the ...
0
votes
0answers
25 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 ...
0
votes
1answer
300 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 ...
0
votes
0answers
728 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 "<...
1
vote
0answers
639 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 --...
0
votes
1answer
342 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 ...
0
votes
1answer
315 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 ...
0
votes
0answers
153 views

Use Selenium on Ubuntu-Server

I recently created an Ubuntu-Server on Digital Ocean. Now I want to do some automated web-testing using selenium and Python3 (filling forms, etc.), but I can't seem to find a way to run selenium. ...
0
votes
0answers
84 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 ...
0
votes
1answer
3k 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: ...
1
vote
0answers
92 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 ...
1
vote
0answers
37 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 ?
2
votes
1answer
216 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 ...
0
votes
0answers
686 views

tcpdump: How can I detect the end of a packet in realtime captures?

I am capturing packets using tcpdump for real-time processing. I'm using the IEEE_80211_RADIO headers and processing the output in a python 3 script. My invocation currently looks like this: tcpdump -...
2
votes
1answer
812 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?
0
votes
1answer
345 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 ...
0
votes
0answers
284 views

Kivy installation error in kali linux

Almost every requirements I have installed for kivy framework python3. Also I have repository setup for kivy ppa. And now when i run this command in my kali linux terminal: apt-get install python3-...
1
vote
0answers
169 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 ...
0
votes
0answers
303 views

How to Run this Reddit bot from Github using PRAW and python google-api-client?

I've just found this bot script on Github. It is used to run an upvoting and downvoting bot on Reddit. However, the instruction in README.md file is too short and does not mention anything about how ...
0
votes
3answers
80 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 ...
0
votes
1answer
2k 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 ...
0
votes
2answers
898 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 ...
0
votes
1answer
90 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 ...
0
votes
1answer
195 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?
0
votes
1answer
101 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 ...
1
vote
0answers
193 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 ...
2
votes
1answer
2k 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 ...
1
vote
1answer
3k 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....
1
vote
1answer
847 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) ...
0
votes
1answer
2k 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. =(
0
votes
1answer
2k 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?
0
votes
1answer
637 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 ----------------------------------------------------------------...
0
votes
0answers
311 views

Crontab not executing my python script, any input? [Solved]

I wrote a python script that uses the rsync command to back up a specific folder. BackupApacheServerAnalysis.py Script: #!/usr/bin/env python import os os.system("rsync -av --delete /root/Desktop/...
0
votes
1answer
1k 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 ...
20
votes
1answer
13k views

What does “precompile standard library” option mean in python installation?

I am trying to understand different options in python 3.6 installation. What does the Precompile Stadard library means in the Custom Python installation and why it could be deselected by default?
0
votes
1answer
21 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 ...
1
vote
1answer
391 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 ...
0
votes
1answer
45 views

Python pip version paradox

I downloaded Python 3.5.2 and installed it on 3 different computers. Now the weird part is that in each pc I got a different version of pip: Computer 1 (win7-x64): pip --version -> 7.1.2 ...
1
vote
3answers
500 views

How to Access two different programs from PATH, both having same name in Windows 10?

I added addresses of python 2.7, and Anaconda 4.1.1(Python 3.5) to PATH variable in Windows 10, whenever I run "python" from cmd, program which was added earlier is executed.How can I access both of ...