Re: cAN i BECOME A BILLIOANIRE IN PROGRAMMING PYTHON

2018-09-21 Thread Ethan Furman

This thread is closed.

--
~Ethan~
Python List Moderator
--
https://mail.python.org/mailman/listinfo/python-list


Serializing complex objects

2018-09-21 Thread Joseph L. Casale
I need to serialize a deep graph only for the purposes of visualizing it to
observe primitive data types on properties throughout the hierarchy.
In my scenario, I cannot attach a debugger to the process which would
be most useful. Using json is not the easiest as I need to chase endless
custom serialization handlers.

Does anyone know of something useful in this case?

Thanks,
jlc
-- 
https://mail.python.org/mailman/listinfo/python-list


ANN: Wing Python IDE 6.1.1 released

2018-09-21 Thread Wingware

Hi,

We've just released Wing 6.1.1 , 
which improves PEP 8 reformatting, streamlines remote agent 
installation, improves robustness of remote development in the face of 
network failures, adds support for debugging PythonQt, optimizes 
multi-process debugging, and makes a number of other minor 
improvements.For details, see 
https://wingware.com/pub/wingide/6.1.1/CHANGELOG.txt


Download Now 

About Wing

Wing is a family of cross-platform 
 Python IDEs with 
powerful integrated editing, debugging, unit testing, and project 
management features. Wing runs on Windows, Linux, and OS X, and can be 
used to develop any kind of Python code for web, desktop, embedded 
scripting, and other applications.


Wing 101  and Wing Personal 
 omit some features and 
are free to download and use without a license. Wing Pro 
 requires purchasing 
 or upgrading 
 a license, or obtaining a 30-day 
trial at startup.


Version 6 introduces many new features, including improved 
multi-selection, much easier remote development 
, debugging from the Python 
Shell, recursive debugging, PEP 484 and 526 type hinting, PEP 8 
reformatting, support for Python 3.6 and 3.7, Vagrant 
, Jupyter 
, Django 
 1.10+ and 2.0, and Windows 
Subsystem for Linux, improved mainloop support for matplotlib, easier 
Raspberry Pi  development, 
optimized debugger, OS X full screen mode, One Dark color palette, 
Russian localization (thanks to Alexandr Dragukin), expanded free 
product line, and much more. For details, see What's New in Wing Version 
6 .


Wing 6 works with Python versions 2.5 through 2.7 and 3.2 through 3.7, 
including also Anaconda, ActivePython, EPD, Stackless, and others 
derived from the CPython implementation.


For more product information, please visit wingware.com 



Upgrading

You can try Wing 6 without removing older versions. Wing 6 will read and 
convert your old preferences, settings, and projects. Projects should be 
saved to a new name since previous versions of Wing cannot read Wing 6 
projects.


See also Migrating from Older Versions 
 and Upgrading 
.


Links

Release notice: https://wingware.com/news/2018-09-19
Downloads and Free Trial: https://wingware.com/downloads
Buy: https://wingware.com/store/purchase
Upgrade: https://wingware.com/store/upgrade

Questions?  Don't hesitate to email us at supp...@wingware.com.

Thanks,

--

Stephan Deibel
Wingware | Python IDE

The Intelligent Development Environment for Python Programmers

wingware.com

--
https://mail.python.org/mailman/listinfo/python-list


Re: Serializing complex objects

2018-09-21 Thread Rhodri James

On 21/09/18 17:30, Joseph L. Casale wrote:

I need to serialize a deep graph only for the purposes of visualizing it to
observe primitive data types on properties throughout the hierarchy.
In my scenario, I cannot attach a debugger to the process which would
be most useful. Using json is not the easiest as I need to chase endless
custom serialization handlers.

Does anyone know of something useful in this case?


Depending on what exactly your situation is, you may be able to use the 
pickle module (in the standard library) to dump your graph and reload it 
in a context you can get a debugger into.  Would that be sufficient?


--
Rhodri James *-* Kynesim Ltd
--
https://mail.python.org/mailman/listinfo/python-list


RE: Serializing complex objects

2018-09-21 Thread Joseph L. Casale
-Original Message-
From: Python-list  On Behalf Of Rhodri
James
Sent: Friday, September 21, 2018 11:39 AM
To: python-list@python.org
Subject: Re: Serializing complex objects

> Depending on what exactly your situation is, you may be able to use the
> pickle module (in the standard library) to dump your graph and reload it
> in a context you can get a debugger into.  Would that be sufficient?

Pickle cant serialize it (ctype pointers) and dill serializes it, but 
re-animating
it fails without much useful guidance as to why, "EOFError: Ran out of input".
-- 
https://mail.python.org/mailman/listinfo/python-list


Multiple problems with Python 3.7 under Windows 7 Home Premium

2018-09-21 Thread Spencer Graves

Hello:


  I'm having a series of problems getting Python 3.7 to work on a 
machine running Windows 7 Home Premium with SP1.



WEBINSTALL.EXE:


  "python-3.7.0-amd64-webinstall.exe" stopped seemingly before it 
started.  I can try it again and give you a more precise error message 
if you want, but I want to describe some of the other problems I've had 
first.



  "python-3.7.0-amd64.exe" acted like it installed properly, until 
I started using it.  IDLE seemed to work for me on some simple tasks, 
but I wanted to try PyAudio, and I've so far not been able to make that 
work.



PYTHON - M PIP INSTALL PYAUDIO


  "python -m pip install pyaudio" stopped with 'error: Microsoft 
visual C++14.0 is required.  Get it with "Microsoft Visual C++ Build 
Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools";.



  That web address "http://landinghub..."; gave "404 NOT FOUND". 
However, I found elsewhere Microsoft Visual C++ Build Tools" and seemed 
to get them installed.



  Then "python -m pip install pyaudio" stopped with "error: command 
'C:\\Program Files (x86)\\Microsoft Visual 
Studio\\BuildTools\\VC\\Tools\\MSVC\\14.15.26726\\bin\\HostX86\\x64\\c1.exe' 
failed with exit status 2".



GCCWINBINARIES


  Searching for "... exit status 2" led me to a suggestion to use 
"https://github.com/develersrl/gccwinbinaries".  That failed with "No 
Python installation found in the registried.  It won't be possible to 
install the bindings."



WINDOWS APP CERTIFICATION KIT


  Somehow, I got a notice to try "Windows App Certification Kit 
10.0.17134.12".  I tried that with "program installer: 
python-3.7.0-amd64.exe" and "command:  python".  This moved along, then 
generated a popup saying "Modify setup", then stopped.  After waiting 
about 12 minutes, I clicked the "x" in the upper right. Then it moved 
again for a time until what looked like the same popup appeared during 
"Installed programs / In progress ...".  After clicking "x" in the upper 
right, I got, "Testing cannot continue unless an application is 
successfully installed, including a discoverable shortcut and an entry 
in add / remove programs."



  I repeated "Windows App Certification Kit", except that this time 
when the "Modify setup" window appeared, I clicked "repair". It came to 
that same point and gave the same error.



  Suggestion?
  Thanks,
  Spencer


--
https://mail.python.org/mailman/listinfo/python-list


What is not working with my "map" usage?

2018-09-21 Thread Viet Nguyen via Python-list
Hi,

I want to add up all of the list elements.  But when I use the "map" function, 
it didn't seem to work as I expect.  Could someone point out how "map" can be 
applied here then?

def add_all_elements (*args):  
total = 0
for i in args:
   print(type(i))
   print("i = %s" % i)
   print("BEFORE total = %s" % total)
   total += int(i)
   print("AFTER total = %s\n" % total)
print("FINAL total = %s\n" % total)
return total


alist = ['2', '09', '49']


## this one works Okay

add_all_elements(*alist)

i = 2
BEFORE total = 0
AFTER total = 2


i = 09
BEFORE total = 2
AFTER total = 11


i = 49
BEFORE total = 11
AFTER total = 60

FINAL total = 60


## Why is this NOT Okay when I use map ??  What must I change ?

>>> list(map(add_all_elements,alist))

i = 2
BEFORE total = 0
AFTER total = 2

FINAL total = 2


i = 09
BEFORE total = 0
AFTER total = 9

FINAL total = 9


i = 49
BEFORE total = 0
AFTER total = 49

FINAL total = 49

[2, 9, 49]


Thanks,
Viet
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Serializing complex objects

2018-09-21 Thread Thomas Jollans

On 21/09/2018 20:44, Joseph L. Casale wrote:

-Original Message-
From: Python-list  On Behalf Of Rhodri
James
Sent: Friday, September 21, 2018 11:39 AM
To: python-list@python.org
Subject: Re: Serializing complex objects


Depending on what exactly your situation is, you may be able to use the
pickle module (in the standard library) to dump your graph and reload it
in a context you can get a debugger into.  Would that be sufficient?


Pickle cant serialize it (ctype pointers) and dill serializes it, but 
re-animating
it fails without much useful guidance as to why, "EOFError: Ran out of input".



So parts of your structure have custom serialization handlers, and other 
parts are not serializable at all? Interesting.


In any case you should be able to work around this with a custom Pickler.


--
https://mail.python.org/mailman/listinfo/python-list


python3.7 error PYQT5 - NameError: name 'self' is not defined

2018-09-21 Thread alon . najman
Hi when I disconnect the internet I get an error NameError: name 'self' is not 
defined. I really dont get it.. thanks all. Is that a bug? or my fault?


Exception in thread Thread-1:
Traceback (most recent call last):
  File "C:\programming Alon\stock market app\PROJECT\AlonStockMarket.py", line 
93, in secret
print(ping('google.com'))
  File "C:\programming Alon\stock market app\PROJECT\AlonStockMarket.py", line 
72, in ping
conn.connect((addr, 80))
socket.gaierror: [Errno 11001] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File 
"C:\Users\Alon\AppData\Local\Programs\Python\Python37-32\lib\threading.py", 
line 917, in _bootstrap_inner
self.run()
  File 
"C:\Users\Alon\AppData\Local\Programs\Python\Python37-32\lib\threading.py", 
line 865, in run
self._target(*self._args, **self._kwargs)
  File "C:\programming Alon\stock market app\PROJECT\AlonStockMarket.py", line 
95, in secret
self.pushButton.setDisabled(True)
NameError: name 'self' is not defined






this is my code:


import sys
import requests
from lxml import html
import requests
import urllib.request, urllib.error, urllib.parse
import _thread
from PyQt5 import QtCore, QtGui, QtWidgets
import time
import threading
import ctypes  # An included library with Python install.

global flag
global loopexit
global UserSymbol
global RadioButtonBellow
global UserSymbol
global UserStockPrice 
global RadioButtonAbove
global SMScheckBox
global varUser
global varPass


varUser=0
varPass=0
UserSymbol=0
RadioButtonBellow=0
RadioButtonAbove=0
UserSymbol=0
UserStockPrice=0

loopexit=0




from urllib.request import urlopen

import time
import random
import struct
import select
import socket


def chk(data):
x = sum(x << 8 if i % 2 else x for i, x in enumerate(data)) & 0x
x = (x >> 16) + (x & 0x)
x = (x >> 16) + (x & 0x)
return struct.pack('> 16) + (x & 0x)
x = (x >> 16) + (x & 0x)
return struct.pack(')"))
self.checkBox.setText(_translate("AlonStockMarketApp", "SMS ALERT"))
self.checkBox_2.setText(_translate("AlonStockMarketApp", "GMAIL ALERT"))
self.radioButton_2.setText(_translate("AlonStockMarketApp", "Bellow 
Price (x<)"))
self.pushButton.setText(_translate("AlonStockMarketApp", "START"))
self.radioButton_3.setText(_translate("AlonStockMarketApp", "Get alert 
once a day"))
self.radioButton_4.setText(_translate("AlonStockMarketApp", "Get alert 
every time"))
self.pushButton_2.setText(_translate("AlonStockMarketApp", "EXIT"))
self.textEdit_4.setHtml(_translate("AlonStockMarketApp", "http://www.w3.org/TR/REC-html40/strict.dtd\";>\n"
"\n"
"p, li { white-space: pre-wrap; }\n"
"\n"
""))
self.textEdit_5.setHtml(_translate("AlonStockMarketApp", "http://www.w3.org/TR/REC-html40/strict.dtd\";>\n"
"\n"
"p, li { white-space: pre-wrap; }\n"
"\n"
""))
self.label.setText(_translate("AlonStockMarketApp", "SYMBOL of stock:"))
self.label_2.setText(_translate("AlonStockMarketApp", "PRICE :"))
self.label_3.setText(_translate("AlonStockMarketApp", "User of Gmail:"))
self.label_4.setText(_translate("AlonStockMarketApp", "Password of 
Gmail:"))
self.label_5.setText(_translate("AlonStockMarketApp", "ALON STOCK 
MARKET APP"))
self.pushButton_3.setText(_translate("AlonStockMarketApp", "STOP"))
self.textEdit.setHtml(_translate("AlonStockMarketApp", "http://www.w3.org/TR/REC-html40/strict.dtd\";>\n"
"\n"
"p, li { white-space: pre-wrap; }\n"
"\n"
""))
self.textEdit_7.setHtml(_translate("AlonStockMarketApp", "http://www.w3.org/TR/REC-html40/strict.dtd\";>\n"
"\n"
"p, li { white-space: pre-wrap; }\n"
"\n"
""))
self.minimize.setText(_translate("AlonStockMarketApp", "Minimize"))
self.pushButton_4.setText(_translate("AlonStockMarketApp", "Sign In"))
self.textEdit_2.setHtml(_translate("AlonStockMarketApp", "http://www.w3.org/TR/REC-html40/strict.dtd\";>\n"
"\n"
"p, li { white-space: pre-wrap; }\n"
"\n"
""))
self.label_8.setText(_translate("AlonStockMarketApp", "Phone number 
(for SMS):"))
self.label_7.setText(_translate("AlonStockMarketApp", "Password:"))
self.label_6.setText(_translate("AlonStockMarketApp", "User:"))


if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
AlonStockMarketApp = QtWidgets.QDialog()
ui = Ui_AlonStockMarketApp()
ui.setupUi(AlonStockMarketApp)
AlonStockMarketApp.show()
sys.exit(app.exec_())

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Multiple problems with Python 3.7 under Windows 7 Home Premium

2018-09-21 Thread Thomas Jollans

On 21/09/2018 15:22, Spencer Graves wrote:

WEBINSTALL.EXE:

 [...]


Whatever, you managed to install Python, and it works, so everybody's 
happy, right?



PYTHON - M PIP INSTALL PYAUDIO


   "python -m pip install pyaudio" stopped with 'error: Microsoft 
visual C++14.0 is required.  Get it with "Microsoft Visual C++ Build 
Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools";.



   That web address "http://landinghub..."; gave "404 NOT FOUND". 
However, I found elsewhere Microsoft Visual C++ Build Tools" and seemed 
to get them installed.


Well done!



   Then "python -m pip install pyaudio" stopped with "error: command 
'C:\\Program Files (x86)\\Microsoft Visual 
Studio\\BuildTools\\VC\\Tools\\MSVC\\14.15.26726\\bin\\HostX86\\x64\\c1.exe' 
failed with exit status 2".


Okay, I get the feeling that installing pyaudio from source on Windows 
is quite involved. The lines of output before that would likely tell you 
more about what actually went wrong, but my guess is that due to 
dependencies you actually can't install pyaudio from source using pip on 
Windows at all. (You should be able to install it from a downloaded copy 
of the source, though. If you really want to go that route, I found 
this: 
https://smaudet.wordpress.com/2014/01/26/building-pyaudio-on-windows-7-x64-using-the-free-msvc-toolchains/)


There appear to be pyaudio binaries for Python 3.6 on PyPI. The simplest 
solution to your problem would be to stick with Python 3.6 for now (as 
much as I hate to say it) - then you shouldn't need to faff around with 
C++ compilers.





GCCWINBINARIES



Yeah, you won't need these. Google led you down the garden path.

(actually, I don't think anybody really needs these any more, do they?)




WINDOWS APP CERTIFICATION KIT


   Somehow, I got a notice to try "Windows App Certification Kit 
10.0.17134.12".


What? Why? What is this? I don't even.



Cheers
Thomas
--
https://mail.python.org/mailman/listinfo/python-list


Re: What is not working with my "map" usage?

2018-09-21 Thread Brian Oney via Python-list
Hi Viet,

map applies the function to each of the elements of the list you provide.

It would be roughly equivalent to:

[add_all_elements(x) for x in alist]

It may help you to consider the term and function "map" from the view of linear 
algebra.

Apparently it's a common term:
https://en.wikipedia.org/wiki/Map_%28higher-order_function%29?wprov=sfla1

HTH


On September 21, 2018 11:29:41 PM GMT+02:00, Viet Nguyen via Python-list 
 wrote:
>Hi,
>
>I want to add up all of the list elements.  But when I use the "map"
>function, it didn't seem to work as I expect.  Could someone point out
>how "map" can be applied here then?
>
>def add_all_elements (*args):  
>total = 0
>for i in args:
>   print(type(i))
>   print("i = %s" % i)
>   print("BEFORE total = %s" % total)
>   total += int(i)
>   print("AFTER total = %s\n" % total)
>print("FINAL total = %s\n" % total)
>return total
>
>
>alist = ['2', '09', '49']
>
>
>## this one works Okay
>
>add_all_elements(*alist)
>
>i = 2
>BEFORE total = 0
>AFTER total = 2
>
>
>i = 09
>BEFORE total = 2
>AFTER total = 11
>
>
>i = 49
>BEFORE total = 11
>AFTER total = 60
>
>FINAL total = 60
>
>
>## Why is this NOT Okay when I use map ??  What must I change ?
>
 list(map(add_all_elements,alist))
>
>i = 2
>BEFORE total = 0
>AFTER total = 2
>
>FINAL total = 2
>
>
>i = 09
>BEFORE total = 0
>AFTER total = 9
>
>FINAL total = 9
>
>
>i = 49
>BEFORE total = 0
>AFTER total = 49
>
>FINAL total = 49
>
>[2, 9, 49]
>
>
>Thanks,
>Viet
>-- 
>https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: What is not working with my "map" usage?

2018-09-21 Thread Thomas Jollans

On 21/09/2018 23:29, Viet Nguyen via Python-list wrote:

Hi,

I want to add up all of the list elements.  But when I use the "map" function, it didn't 
seem to work as I expect.  Could someone point out how "map" can be applied here then?

def add_all_elements (*args):
 total = 0
 for i in args:
print(type(i))
print("i = %s" % i)
print("BEFORE total = %s" % total)
total += int(i)
print("AFTER total = %s\n" % total)
 print("FINAL total = %s\n" % total)
 return total


alist = ['2', '09', '49']


## this one works Okay

add_all_elements(*alist)


> [...]


list(map(add_all_elements,alist))


Read the output in both cases and try to figure out what 'args' is. Or 
you could print out 'args' at the top of your function to lend you a 
hand. That should help you understand what the difference between the 
two cases is, and what map() is doing.


Good luck!
Thomas
--
https://mail.python.org/mailman/listinfo/python-list


Re: python3.7 error PYQT5 - NameError: name 'self' is not defined

2018-09-21 Thread Christopher Mullins
>
> Hi when I disconnect the internet I get an error NameError: name 'self' is
> not defined. I really dont get it.. thanks all. Is that a bug? or my fault?

Exception in thread Thread-1:
> Traceback (most recent call last):
>   File "C:\programming Alon\stock market app\PROJECT\AlonStockMarket.py",
> line 93, in secret
> print(ping('google.com'))
>   File "C:\programming Alon\stock market app\PROJECT\AlonStockMarket.py",
> line 72, in ping
> conn.connect((addr, 80))
> socket.gaierror: [Errno 11001] getaddrinfo failed
> During handling of the above exception, another exception occurred:
> Traceback (most recent call last):
>   File
> "C:\Users\Alon\AppData\Local\Programs\Python\Python37-32\lib\threading.py",
> line 917, in _bootstrap_inner
> self.run()
>   File
> "C:\Users\Alon\AppData\Local\Programs\Python\Python37-32\lib\threading.py",
> line 865, in run
> self._target(*self._args, **self._kwargs)
>   File "C:\programming Alon\stock market app\PROJECT\AlonStockMarket.py",
> line 95, in secret
> self.pushButton.setDisabled(True)
> NameError: name 'self' is not defined


Looks like `self` is supposed to be referring to an instance of the class
`Ui_AlonStockMarketApp` (which has the pushButton attribute) but you've
defined the secret function outside of that class.  Try defining that
function inside your class.

HTH,
Chris
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: python3.7 problem with validation - it doesnt work

2018-09-21 Thread Michael Torrie
On 09/19/2018 06:12 AM, alon.naj...@gmail.com wrote:
> python3.7 problem with validation - it doesn't work.

I don't know what "validation" means, but MRAB has told you why it
wasn't working.  My question to you is why do you need that inner
function anyway?  An inner function is normally used to define a
closure, where you can capture some state and preserve it for future
use.  Your inner function does not do this, and is therefore redundant,
not to mention error-prone!
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Multiple problems with Python 3.7 under Windows 7 Home Premium

2018-09-21 Thread Michael Torrie
On 09/21/2018 07:22 AM, Spencer Graves wrote:
> PYTHON - M PIP INSTALL PYAUDIO
> 
> 
>    "python -m pip install pyaudio" stopped with 'error: Microsoft 
> visual C++14.0 is required.  Get it with "Microsoft Visual C++ Build 
> Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools";.

You're going to want to wait until binary wheels of pyaudio for Python
3.7 and Windows 64-bit land in the PyPI repository.  Unless you're
already a visual studio user and have the where with all to build it
from source.  Python 3.7 is a recent release, so I'm not surprised that
some packages don't yet have binary wheels in the repository.
-- 
https://mail.python.org/mailman/listinfo/python-list


2 Bugs: in Python 3 tutorial, and in bugs.python.org tracker registration system

2018-09-21 Thread Francis Esmonde-White
Hello,

I came to report one bug (in the Python 3 tutorial documentation), and ran
into another (functional in bugs.python.org bug tracker registration
system). I have included details for both bugs below.

Thanks in advance for your assistance, I am loving Python and the
documentation!

Warm regards,
Francis Esmonde-White

###

*Bug 1:*
In the Python 3 tutorial section 9.8 for iterators
, the example
code for the iterator class Reverse has the iterator self.index defined
only in the __init__. This approach will only allow the iterator to run
once. Would it be better to show an example with the index defined as both
a private field (self._index) and with the index value being populated in
the __index__() function so that the method can be run more than once?

I think that the code example should look like the following:

class Reverse:
"""Iterator for looping over a sequence backwards."""
def __init__(self, data):
self.data = data

def __iter__(self):
# Define the setup for the iteration here,
# so that the index is always right when the iteration starts.
self._index = len(self.data)
return self

def __next__(self):
if self._index == 0:
raise StopIteration
self._index = self._index - 1
return self.data[self._index]


###


*Bug 2:*
I received errors when trying to confirm my registration for the bug
tracker at bugs.python.org.

I submitted the registration form, and immediately received the
autogenerated registration confirmation email with the following title:
Complete your registration to Python tracker -- key
6w7gUOVw7AR13ZivbxaDIWedYuNlsiwc
- send a reply to rep...@bugs.python.org and maintain the subject line as
is (the
reply's additional "Re:" is ok),

- or visit the following URL:

https://bugs.python.org/?@action=confrego&otk=6w7gUOVw7AR13ZivbxaDIWedYuNlsiwc

When I visit the URL, I get an error message:
Invalid URL scheme in homepage URL

[image: image.png]


When I try reply-emailing to the reply-email address, I get an immediate
error response:
Failed issue tracker submission

[image: image.png]

The message header is as follows:

An unexpected error occurred during the processing
of your message. The tracker administrator is being
notified.
Return-Path: 
X-Original-To: rep...@bugs.python.org
Delivered-To: roundup+trac...@psf.upfronthosting.co.za
Received: from mail-io1-f41.google.com (mail-io1-f41.google.com
[209.85.166.41])
by psf.upfronthosting.co.za (Postfix) with ESMTPS id 20182575F8
for ; Fri, 21 Sep 2018 20:14:55 +0200 (CEST)
Received: by mail-io1-f41.google.com with SMTP id q5-v6so13115080iop.3
for ; Fri, 21 Sep 2018 11:14:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=esmonde-white.com; s=google;

h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
bh=j+2C/XsoJvmbt6nnvO0Fa4MikEbIW3k/zd/YnMGZvuA=;
b=mZnvJcVfxgR8U2qwjRQ6tQ44enty8yowgK6MU7wvzbNpMQHP7yinlzLAfIwpK1AMzj

 G0dn+xISNwbsXjXG5ECxs+hCVwZ1NNTtDJ9z8lZ6mLuNt56NC9ZdXHV4zuMb+CUjAqQn
 P/G9Ml9JfRumX5RPu38WChj5isbzRPZBKg37E=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to;
bh=j+2C/XsoJvmbt6nnvO0Fa4MikEbIW3k/zd/YnMGZvuA=;
b=mwJ5HUkpeSaaL1hMQVJcHEx49qxtoncoexsN9kiHHfFS0wLXp4YHQUrQjPj+7TL30f

 HiqcMzApIkK28s3xaY7K4nHMgxVBXYSvGH9IuITyipIMZRXutaLDLVFnmTuGojRhE098

 4zxzYhg7wdb4RzN6ErdBWOIp/lLQpzQVEPjq1ttS8+1G5axx3Hc0IIPSOCm5JhSokMxJ

 7XcOuxEc9dAw3JG35kKqSZL12+Wy4rawCbr4NA3EzMtliNfr6eTrTYaAGQXVvIhDQw21

 AziPw3nk4b4jJTfHUfR//fFevS5Lee6RbEoZkR6WJiEfc0Cf3T7vAmmbUzIyKoq6oukL
 Xcag==
X-Gm-Message-State: APzg51BW8XYEje6RQgooxkKeoCrzW+raQNVcOCW2YGGWJTf85Gpt1AU9
ZIh4KDClWBI0FbsJic0pBPs3W94iWGAacb03RAaCDrngLgI=
X-Google-Smtp-Source:
ANB0VdZolOd9qeDV+t3/g0FwyhoMl60y57O9uRsfrCdXb+okMXSiUD2SmmQjBol22Lm5Y3pRiKyoRuJGODwAQFgjZr0=
X-Received: by 2002:a6b:90d4:: with SMTP id
s203-v6mr37864717iod.249.1537553692241;
 Fri, 21 Sep 2018 11:14:52 -0700 (PDT)
MIME-Version: 1.0
References: <20180921181200.0f02e57...@psf.upfronthosting.co.za>
In-Reply-To: <20180921181200.0f02e57...@psf.upfronthosting.co.za>
From: Francis Esmonde-White 
Date: Fri, 21 Sep 2018 14:14:14 -0400
Message-ID: 
Subject: Re: Complete your registration to Python tracker -- key
Zgn4fuEPaJDpJ9ZV00ClUdj92h7nEkRp
To: rep...@bugs.python.org
Content-Type: multipart/alternative;
boundary="a649eb0576659d88"
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Multiple problems with Python 3.7 under Windows 7 Home Premium

2018-09-21 Thread MRAB

On 2018-09-22 01:02, Michael Torrie wrote:

On 09/21/2018 07:22 AM, Spencer Graves wrote:

PYTHON - M PIP INSTALL PYAUDIO


   "python -m pip install pyaudio" stopped with 'error: Microsoft 
visual C++14.0 is required.  Get it with "Microsoft Visual C++ Build 
Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools";.


You're going to want to wait until binary wheels of pyaudio for Python
3.7 and Windows 64-bit land in the PyPI repository.  Unless you're
already a visual studio user and have the where with all to build it
from source.  Python 3.7 is a recent release, so I'm not surprised that
some packages don't yet have binary wheels in the repository.


Christoph Gohlke's site appears to have a binary release for Python 3.7:

https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio
--
https://mail.python.org/mailman/listinfo/python-list


Re: Multiple problems with Python 3.7 under Windows 7 Home Premium

2018-09-21 Thread Terry Reedy

On 9/21/2018 8:57 PM, MRAB wrote:

On 2018-09-22 01:02, Michael Torrie wrote:

On 09/21/2018 07:22 AM, Spencer Graves wrote:

PYTHON - M PIP INSTALL PYAUDIO


   "python -m pip install pyaudio" stopped with 'error: Microsoft 
visual C++14.0 is required.  Get it with "Microsoft Visual C++ Build 
Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools";.


You're going to want to wait until binary wheels of pyaudio for Python
3.7 and Windows 64-bit land in the PyPI repository.  Unless you're
already a visual studio user and have the where with all to build it
from source.  Python 3.7 is a recent release, so I'm not surprised that
some packages don't yet have binary wheels in the repository.


Christoph Gohlke's site appears to have a binary release for Python 3.7:

https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio


As I remember, he was building binaries for the 300 packages on the site 
well before the 3.7.0 release.


--
Terry Jan Reedy


--
https://mail.python.org/mailman/listinfo/python-list