Re: Trying to use pyinstaller under python 3.11, and, recently started receiving error message about specific module/distribution

2024-04-04 Thread Jacob Kruger via Python-list
ruger +2782 413 4791 "Resistance is futile!...Acceptance is versatile..." On 2024/03/31 14:51, Barry wrote: On 31 Mar 2024, at 13:24, Jacob Kruger via Python-list wrote: pkg_resources.DistributionNotFound: The 'altgraph' distribution was not found and is required by t

Re: Trying to use pyinstaller under python 3.11, and, recently started receiving error message about specific module/distribution

2024-04-03 Thread Jacob Kruger via Python-list
eptance is versatile..." On 2024/03/31 14:51, Barry wrote: On 31 Mar 2024, at 13:24, Jacob Kruger via Python-list wrote: pkg_resources.DistributionNotFound: The 'altgraph' distribution was not found and is required by the application I think I have seen this error being

Re: Trying to use pyinstaller under python 3.11, and, recently started receiving error message about specific module/distribution

2024-04-02 Thread Barry via Python-list
ring what changed here. > > > Jacob Kruger > +2782 413 4791 > "Resistance is futile!...Acceptance is versatile..." > > >> On 2024/03/31 14:51, Barry wrote: >> >>>> On 31 Mar 2024, at 13:24, Jacob Kruger via Python-list >>>> wr

Re: Trying to use pyinstaller under python 3.11, and, recently started receiving error message about specific module/distribution

2024-04-01 Thread Jacob Kruger via Python-list
'altgraph' distribution was not found and is required by the application I think I have seen this error being discussed before… A web search for pyinstaller and that error leads to people discussing why it happens it looks like. Barry -- https://mail.python.org/mailman/listinfo/python-list

Re: Trying to use pyinstaller under python 3.11, and, recently started receiving error message about specific module/distribution

2024-03-31 Thread Barry via Python-list
> On 31 Mar 2024, at 13:24, Jacob Kruger via Python-list > wrote: > > pkg_resources.DistributionNotFound: The 'altgraph' distribution was not found > and is required by the application I think I have seen this error being discussed before… A web search for pyinsta

Trying to use pyinstaller under python 3.11, and, recently started receiving error message about specific module/distribution

2024-03-31 Thread Jacob Kruger via Python-list
ssage: pkg_resources.DistributionNotFound: The 'altgraph' distribution was not found and is required by the application The full contents of the output string when I even try to just launch pyinstaller with no commands/arguments is the following: Traceback (most recent call last):   File "", line 19

ERROR: No matching distribution found for PyQt5==5.15.4

2021-12-13 Thread CINDY PANTALUNAN
-- *The contents of this email message and any attachments **thereto** are intended solely for the addressee(s) and may contain confidential and/or privileged information and may be legally protected from disclosure. If you are not the intended recipient of this message or their agent, or if

Re: Verify independence and uniform distribution of discrete values in Python?

2021-07-09 Thread Ethan Furman
From Tim Peters: > `secrets` is just a wrapper around `random.SystemRandom`, so the > presence or absence of `secrets` doesn't matter. > > As to SystemRandom, all answers depend on the quality of the platform > os.urandom(), which Python has no control over. See my answer here, > and the comments

Verify independence and uniform distribution of discrete values in Python?

2021-07-09 Thread Dan Stromberg
I've posted a question about CPython 3.[0-9]'s random.SystemRandom().choice(list_) at https://stackoverflow.com/questions/68319071/verify-independence-and-uniform-distribution-of-discrete-values-in-python In short, we need to be able to support CPython's a little older than the

Re: Application Distribution using Embeddable Zip on Windows

2020-06-17 Thread Palash Bauri
Well , I didn't know that single scripts can be used to associate filetypes. I will test it out. Currently I'm doing an experiment with Embeddable distribution , Writing a launcher with rust. I have no idea what's the efficient or correct way to do it. Let's hope for th

Re: Application Distribution using Embeddable Zip on Windows

2020-06-17 Thread Palash Bauri
Well, that crossed my mind earlier, but as my program is a text parser and has it's own input & output source filetype, it should have those filetypes associated with the program. Just using an MSI installer will not do that trick. ~Palash Bauri On Wed, 17 Jun 2020, 7:18 pm Shakil Khan, wrote:

Re: Application Distribution using Embeddable Zip on Windows

2020-06-17 Thread Palash Bauri
Well , in some cases that is true, but in my program's case that's not true as it's targetting not-so-much tech savvy users. I would like to make an compact plug-and-play solution. And , I think using Python Embeddable zip and a custom launcher will be more suitable for my program. On 6/17/20, Ch

Re: Application Distribution using Embeddable Zip on Windows

2020-06-17 Thread Chris Angelico
On Wed, Jun 17, 2020 at 9:09 PM Palash Bauri wrote: > > > Try creating a .pyz file using the zipapp module: > > > https://docs.python.org/3/library/zipapp.html > > > It should 'just work', out of the box. > > > ChrisA > > But I will still need to build a launcher or put a Python Interpreter > at u

Re: Application Distribution using Embeddable Zip on Windows

2020-06-17 Thread Palash Bauri
> Try creating a .pyz file using the zipapp module: > https://docs.python.org/3/library/zipapp.html > It should 'just work', out of the box. > ChrisA But I will still need to build a launcher or put a Python Interpreter at users' path in order to run .pyz files. -- https://mail.python.org/mail

Re: Application Distribution using Embeddable Zip on Windows

2020-06-17 Thread Chris Angelico
oblems > , one of them which is their output distribution size is huge, a simple > "hello world" program would even cost user 30 to 50+ megabytes of storage. > Distributing on Linux is not that much of hassle with snap packages or even > Appimages. But on windows it's

Application Distribution using Embeddable Zip on Windows

2020-06-17 Thread Palash Bauri
I am developing a parser with PLY and was hoping to distribute it to users. Ofcourse there're plenty of Ways to build a executable of an Python script such as PyInstaller , Py2Exe and some others, but they have their problems , one of them which is their output distribution size is huge, a s

Re: Angular distribution rose diagram in Python

2019-09-27 Thread Peter Pearson
On Fri, 27 Sep 2019 02:13:31 -0700 (PDT), Madhavan Bomidi wrote: > > Can someone help me to make python code (with some arbitrary data) for > the angular distribution rose diagram as shown in figure 7 in the > paper accessible through the web-link: > > https://www.nat-hazards-ear

Angular distribution rose diagram in Python

2019-09-27 Thread Madhavan Bomidi
Hi, Can someone help me to make python code (with some arbitrary data) for the angular distribution rose diagram as shown in figure 7 in the paper accessible through the web-link: https://www.nat-hazards-earth-syst-sci.net/17/1425/2017/nhess-17-1425-2017.pdf Thanks in advance Madhavan

Intel Distribution for Python

2019-02-12 Thread ElChino
I just got an Intel newsletter describing "Intel Distribution for Python". Quote: With Intel® Distribution for Python, it’s not unusual to see speed-ups of 20x (or more) for numerically intensive Python codes like those that use the Numpy* and SciPy* stack. Sounds very exiting

Re: sampling from frequency distribution / histogram without replacement

2019-01-18 Thread duncan smith
solutions such as creating a list, shuffling it and > using the first n items to populate the sample (frequency distribution / > histogram). > > I note that numpy.random.hypergeometric will allow me to generate a > sample when I only have two categories, and that I could probably >

Re: sampling from frequency distribution / histogram without replacement

2019-01-15 Thread duncan smith
ep to next element. > Ah, I'm not quota sampling. I want a simple random sample without replacement. I just happen to have the data in the form of categories and frequencies, and that's the form of output that I want. > Note 1 - In most languages you can generate a pseudo-random numbe

Re: sampling from frequency distribution / histogram without replacement

2019-01-15 Thread Ian Hobson
ith a uniform distribution from 0 to Y(N)-1. Take the element if it is in range 0 to floor(X(N))-1. Note 2 - X(N) need not be integer, but you can't actually take a sample of 6.5 out of 1000. You will either run out of population having taken 6, or, if you take 7, the probability will go negati

Re: sampling from frequency distribution / histogram without replacement

2019-01-15 Thread duncan smith
On 15/01/2019 02:41, Spencer Graves wrote: > > > On 2019-01-14 18:40, duncan smith wrote: >> On 14/01/2019 22:59, Gregory Ewing wrote: >>> duncan smith wrote: Hello,    Just checking to see if anyone has attacked this problem before for cases where the population size is unfeas

Re: sampling from frequency distribution / histogram without replacement

2019-01-14 Thread Spencer Graves
On 2019-01-14 18:40, duncan smith wrote: On 14/01/2019 22:59, Gregory Ewing wrote: duncan smith wrote: Hello,   Just checking to see if anyone has attacked this problem before for cases where the population size is unfeasibly large. The fastest way I know of is to create a list of cumul

Re: sampling from frequency distribution / histogram without replacement

2019-01-14 Thread duncan smith
On 14/01/2019 22:59, Gregory Ewing wrote: > duncan smith wrote: >> Hello, >>   Just checking to see if anyone has attacked this problem before >> for cases where the population size is unfeasibly large. > > The fastest way I know of is to create a list of cumulative > frequencies, then generat

Re: sampling from frequency distribution / histogram without replacement

2019-01-14 Thread Gregory Ewing
duncan smith wrote: Hello, Just checking to see if anyone has attacked this problem before for cases where the population size is unfeasibly large. The fastest way I know of is to create a list of cumulative frequencies, then generate uniformly distributed numbers and use a binary search

sampling from frequency distribution / histogram without replacement

2019-01-14 Thread duncan smith
n items to populate the sample (frequency distribution / histogram). I note that numpy.random.hypergeometric will allow me to generate a sample when I only have two categories, and that I could probably implement some kind of iterative / partitioning approach calling this repeatedly. But before I

Re: Distribution file error

2018-06-08 Thread Cameron Simpson
On 08Jun2018 07:52, Tamara Berger wrote: I’m trying to create a distribution file for my module, but got an error message. The module, including the setup and read me files, are contained within the folder “mymodules.” I typed this command (per instructions from my workbook) from within

Distribution file error

2018-06-08 Thread T Berger
Hi, I really need help here. I’m trying to create a distribution file for my module, but got an error message. The module, including the setup and read me files, are contained within the folder “mymodules.” I typed this command (per instructions from my workbook) from within mymodules folder

Re: Automated distribution building tools to support SpamBayes

2017-12-17 Thread Skip Montanaro
Thanks. I've had a couple references to Appveyor, so will see if I can make heads or tails of it during my Christmas-to-New Year's break. Skip On Dec 15, 2017 5:43 PM, "Ned Batchelder" wrote: > On 12/15/17 2:03 PM, Skip Montanaro wrote: > >> SpamBayes (http://www.spambayes.org/) has languished

Re: Automated distribution building tools to support SpamBayes

2017-12-15 Thread Ned Batchelder
On 12/15/17 2:03 PM, Skip Montanaro wrote: SpamBayes (http://www.spambayes.org/) has languished for quite awhile, in part because nobody is around who can put together a Windows installer. Unfortunately, most users are on Windows and have to work around problems caused by the march of time and co

Automated distribution building tools to support SpamBayes

2017-12-15 Thread Skip Montanaro
SpamBayes (http://www.spambayes.org/) has languished for quite awhile, in part because nobody is around who can put together a Windows installer. Unfortunately, most users are on Windows and have to work around problems caused by the march of time and consequent beefing up of Windows security. I d

Re: EuroPython 2017: Free Intel Distribution for Python

2017-07-05 Thread Gregory Ewing
Grant Edwards wrote: That trick of hiding links has become quite fashionable -- I don't know why. Probably the result of graphic arts people who think that appearance is everything and don't really understand the web. -- Greg -- https://mail.python.org/mailman/listinfo/python-list

Re: EuroPython 2017: Free Intel Distribution for Python

2017-07-05 Thread Grant Edwards
On 2017-07-05, Terry Reedy wrote: > On 7/5/2017 9:51 AM, Grant Edwards wrote: > >> Just click on the link on the europython blog page. > > What link? The first screen has 7 links to EuroPython and no obvious > links to Intel. > > Oh, the headline is a cleverly disguised link that does not look l

Re: EuroPython 2017: Free Intel Distribution for Python

2017-07-05 Thread Terry Reedy
On 7/5/2017 9:51 AM, Grant Edwards wrote: On 2017-07-04, MRAB wrote: On 2017-07-04 23:05, Terry Reedy wrote: On 7/4/2017 10:22 AM, M.-A. Lemburg wrote: http://blog.europython.eu/post/162590522362/europython-2017-free-intel-distribution-for I looked but did not find the most important

Re: EuroPython 2017: Free Intel Distribution for Python

2017-07-05 Thread Grant Edwards
On 2017-07-04, MRAB wrote: > On 2017-07-04 23:05, Terry Reedy wrote: >> On 7/4/2017 10:22 AM, M.-A. Lemburg wrote: >> >>> http://blog.europython.eu/post/162590522362/europython-2017-free-intel-distribution-for >> >> I looked but did not find the most import

Re: EuroPython 2017: Free Intel Distribution for Python

2017-07-05 Thread M.-A. Lemburg
ortunity to chat with >> their staff. >> >> Please find below a hosted blog post from Intel, that offers us an >> exciting glimpse at the recently released free, Intel® Distribution >> for Python: >> >> http://blog.europython.eu/post/162590522362/europython-201

Re: EuroPython 2017: Free Intel Distribution for Python

2017-07-04 Thread Gregory Ewing
eek.intel.com/python-distribution I say "sort of" because you have to register and agree to let them spam you before they'll give you anything. It does say: Operating systems: Windows* 7 or later, macOS, and Linux Python* versions: 2.7.X, 3.5.X, 3.6 It doesn't say whe

Re: EuroPython 2017: Free Intel Distribution for Python

2017-07-04 Thread MRAB
. Please find below a hosted blog post from Intel, that offers us an exciting glimpse at the recently released free, Intel® Distribution for Python: http://blog.europython.eu/post/162590522362/europython-2017-free-intel-distribution-for I looked but did not find the most important thing. What

Re: EuroPython 2017: Free Intel Distribution for Python

2017-07-04 Thread Chris Angelico
a, and take the opportunity to chat with >> their staff. >> >> Please find below a hosted blog post from Intel, that offers us an >> exciting glimpse at the recently released free, Intel® Distribution >> for Python: >> >> >> http://blog.europython.eu/p

Re: EuroPython 2017: Free Intel Distribution for Python

2017-07-04 Thread Terry Reedy
from Intel, that offers us an exciting glimpse at the recently released free, Intel® Distribution for Python: http://blog.europython.eu/post/162590522362/europython-2017-free-intel-distribution-for I looked but did not find the most important thing. What version of Python? Also, if 3.6 rather

EuroPython 2017: Free Intel Distribution for Python

2017-07-04 Thread M.-A. Lemburg
at the recently released free, Intel® Distribution for Python: http://blog.europython.eu/post/162590522362/europython-2017-free-intel-distribution-for Enjoy, -- EuroPython 2017 Team http://ep2017.europython.eu/ http://www.europython-society.org/ -- https://mail.python.org/mailman/listinfo

ANN: eGenix pyOpenSSL Distribution 0.13.16

2016-11-11 Thread eGenix Team: M.-A. Lemburg
ANNOUNCING eGenix.com pyOpenSSL Distribution Version 0.13.16 An easy-to-install and easy-to-use distribution of the pyOpenSSL Python interface for

Re: Using the Windows "embedded" distribution of Python

2016-09-30 Thread Paul Moore
On Friday, 30 September 2016 12:50:45 UTC+1, eryk sun wrote: > On Fri, Sep 30, 2016 at 11:02 AM, Paul Moore wrote: > > When I run ssh.exe, it fails with the message "The program cannot start > > because > > python3.dll is missing from your computer". I tried running it with > > sxstrace active

Re: Using the Windows "embedded" distribution of Python

2016-09-30 Thread eryk sun
On Fri, Sep 30, 2016 at 11:02 AM, Paul Moore wrote: > When I run ssh.exe, it fails with the message "The program cannot start > because > python3.dll is missing from your computer". I tried running it with sxstrace > active, > but the resulting log file is empty. A manifest embedded in "ssh.ex

Re: Using the Windows "embedded" distribution of Python

2016-09-30 Thread Paul Moore
that's used by python.exe, from > PC\python.manifest. > > > >version="3.6.111.1013" > type="win32" > processorArchitecture="amd64" /> > > OK, I thought

Re: Using the Windows "embedded" distribution of Python

2016-09-29 Thread Paul Moore
On Thursday, 29 September 2016 12:56:28 UTC+1, eryk sun wrote: >> Oh, wow. Now you mention it, I recall that convention (from somewhere). >> >> I'll investigate that option (although it may not suit my use case, as >> I want multiple exes in the one "main" directory sharing a single >> "local" Py

Re: Using the Windows "embedded" distribution of Python

2016-09-29 Thread eryk sun
On Thu, Sep 29, 2016 at 10:41 AM, Paul Moore wrote: > On Thursday, 29 September 2016 10:39:10 UTC+1, eryk sun wrote: >> On Thu, Sep 29, 2016 at 8:35 AM, Paul Moore wrote: >> > PS It's a shame there's no way to put the embedded distribution in a >> > subdi

Re: Using the Windows "embedded" distribution of Python

2016-09-29 Thread Paul Moore
On Thursday, 29 September 2016 10:39:10 UTC+1, eryk sun wrote: > On Thu, Sep 29, 2016 at 8:35 AM, Paul Moore wrote: > > PS It's a shame there's no way to put the embedded distribution in a > > subdirectory > > *without* needing to use dynamic loading, but I gu

Re: Using the Windows "embedded" distribution of Python

2016-09-29 Thread eryk sun
On Thu, Sep 29, 2016 at 8:35 AM, Paul Moore wrote: > PS It's a shame there's no way to put the embedded distribution in a > subdirectory > *without* needing to use dynamic loading, but I guess that's basically an OS > limitation. There are ways to do this. T

Re: Using the Windows "embedded" distribution of Python

2016-09-29 Thread Paul Moore
I must admit I got very muddled from the various options, and ended up going back to LoadLibrary because it seemed simpler :-( Thanks for the suggestions, Paul PS It's a shame there's no way to put the embedded distribution in a subdirectory *without* needing to use dynamic loading, but I guess that's basically an OS limitation. -- https://mail.python.org/mailman/listinfo/python-list

Re: Using the Windows "embedded" distribution of Python

2016-09-28 Thread eryk sun
On Wed, Sep 28, 2016 at 2:35 PM, Paul Moore wrote: > So I thought I'd try SetDllDirectory. That works for python36.dll, but if I > load > python3.dll, it can't find Py_Main - the export shows as "(forwarded to > python36.Py_Main)", maybe the forwarding doesn't handle SetDllDirectory? It works f

Using the Windows "embedded" distribution of Python

2016-09-28 Thread Paul Moore
This is probably more of a Windows question than a Python question, but as it's related to embedding Python, I thought I'd try here anyway. I'm writing some command line applications in Python, and I want to bundle them into a standalone form using the new "embedding&quo

Re: Intel Distribution for Python

2016-06-09 Thread beliavsky--- via Python-list
Intel has released Beta Update 1 of its Python distribution: "What's New! Jupyter* notebook interface Neural network APIs support for pyDAAL Optimized random number generation features for numpy.random package" -- https://mail.python.org/mailman/listinfo/python-list

Re: Intel Distribution for Python

2016-05-11 Thread beliavsky--- via Python-list
On Tuesday, May 10, 2016 at 11:17:33 PM UTC-4, Arshpreet Singh wrote: > Thanks for the information, I just applied for program but I got one mail > about license and expiration. > > > This software license expires on October 29, 2016. > > > I am not able to understand that can anyone put some

Re: Intel Distribution for Python

2016-05-10 Thread Chris Angelico
On Wed, May 11, 2016 at 1:17 PM, Arshpreet Singh wrote: > Thanks for the information, I just applied for program but I got one mail > about license and expiration. > > > This software license expires on October 29, 2016. > > > I am not able to understand that can anyone put some light on that h

Re: Intel Distribution for Python

2016-05-10 Thread Terry Reedy
On 5/10/2016 11:12 PM, Chris Angelico wrote: On Wed, May 11, 2016 at 12:00 PM, beliavsky--- via Python-list wrote: The Intel Distribution for Python 2017 Beta https://software.intel.com/en-us/python-distribution is available for Windows, Linux, and Mac OS for Python 2.7 and 3.5. "The

Re: Intel Distribution for Python

2016-05-10 Thread Arshpreet Singh
Thanks for the information, I just applied for program but I got one mail about license and expiration. This software license expires on October 29, 2016. I am not able to understand that can anyone put some light on that how license can be expired? -- https://mail.python.org/mailman/listi

Re: Intel Distribution for Python

2016-05-10 Thread Chris Angelico
On Wed, May 11, 2016 at 12:00 PM, beliavsky--- via Python-list wrote: > The Intel Distribution for Python 2017 Beta > https://software.intel.com/en-us/python-distribution is available for > Windows, Linux, and Mac OS for Python 2.7 and 3.5. > > "The Beta product adds new

Intel Distribution for Python

2016-05-10 Thread beliavsky--- via Python-list
The Intel Distribution for Python 2017 Beta https://software.intel.com/en-us/python-distribution is available for Windows, Linux, and Mac OS for Python 2.7 and 3.5. "The Beta product adds new Python packages like scikit-learn, mpi4py, numba, conda, tbb (Python interfaces to Intel® Thre

ANN: eGenix pyOpenSSL Distribution 0.13.15

2016-05-10 Thread eGenix Team: M.-A. Lemburg
ANNOUNCING eGenix.com pyOpenSSL Distribution Version 0.13.15 An easy-to-install and easy-to-use distribution of the pyOpenSSL Python interface for

ANN: eGenix pyOpenSSL Distribution 0.13.14

2016-03-07 Thread eGenix Team: M.-A. Lemburg
ANNOUNCING eGenix.com pyOpenSSL Distribution Version 0.13.14 An easy-to-install and easy-to-use distribution of the pyOpenSSL Python interface for

Re: Could not find suitable distribution for Requirement.parse('urllib2')

2016-02-24 Thread Peter Otten
='Python Library for interfacing with Withings API', > install_requires=['simplejson', 'urllib2', 'hashlib'], > ) > > > When I run the install (sudo python setup.py install) I get an error: > > Could not find suitabl

Re: Could not find suitable distribution for Requirement.parse('urllib2')

2016-02-24 Thread Mark Lawrence
h Withings API', install_requires=['simplejson', 'urllib2', 'hashlib'], ) When I run the install (sudo python setup.py install) I get an error: Could not find suitable distribution for Requirement.parse('urllib2') Any ideas on

Could not find suitable distribution for Requirement.parse('urllib2')

2016-02-24 Thread jdege
['simplejson', 'urllib2', 'hashlib'], ) When I run the install (sudo python setup.py install) I get an error: Could not find suitable distribution for Requirement.parse('urllib2') Any ideas on how I should proceed? Is there some repository that contai

Emulating plotly's contour map color distribution

2016-02-03 Thread Larry Martell
I am using a javascript ploting package called plotly and I use that to generate a contour map. In that package you define a rangeMin, rangeMax, and binSize, and you give it a color map, e.g.: [["0", "rgb(0,0,0)"], ["0.3", "rgb(230,0,0)"], ["0.6", "rgb(255,210,0)"], ["1", "rgb(255,255,255)"]] Thi

ANN: eGenix pyOpenSSL Distribution 0.13.12

2015-12-08 Thread eGenix Team: M.-A. Lemburg
ANNOUNCING eGenix.com pyOpenSSL Distribution Version 0.13.12 An easy-to-install and easy-to-use distribution of the pyOpenSSL Python interface for

ANN: eGenix mx Base Distribution 3.2.9 (mxDateTime, mxTextTools, etc.)

2015-08-27 Thread eGenix Team: M.-A. Lemburg
ANNOUNCING eGenix.com mx Base Distribution mxDateTime, mxTextTools, mxProxy, mxURL, mxUID, mxBeeBase, mxStack, mxQueue, mxTools Version 3.2.9

ANN: eGenix pyOpenSSL Distribution 0.13.11

2015-07-30 Thread eGenix Team: M.-A. Lemburg
ANNOUNCING eGenix.com pyOpenSSL Distribution Version 0.13.11 An easy-to-install and easy-to-use distribution of the pyOpenSSL Python interface for

ANN: eGenix pyOpenSSL Distribution 0.13.10

2015-06-16 Thread eGenix Team: M.-A. Lemburg
ANNOUNCING eGenix.com pyOpenSSL Distribution Version 0.13.10 An easy-to-install and easy-to-use distribution of the pyOpenSSL Python interface for

ANN: eGenix pyOpenSSL Distribution 0.13.9

2015-06-12 Thread eGenix Team: M.-A. Lemburg
ANNOUNCING eGenix.com pyOpenSSL Distribution Version 0.13.9 An easy-to-install and easy-to-use distribution of the pyOpenSSL Python interface for

Re: [Matplotlib] Ploting an exponential distribution frequency curve

2015-04-26 Thread Mario Figueiredo
On Sun, 26 Apr 2015 18:55:27 + (UTC), Denis McMahon wrote: >The first thing you need to do is create a small self contained example >of your problem. > >State the problem: Plot does not create the output you expect. > >Give an example: > >plot( [1,11], [5,5] ) > >Explain what you expect the

Re: [Matplotlib] Ploting an exponential distribution frequency curve

2015-04-26 Thread Denis McMahon
On Sat, 25 Apr 2015 23:33:10 +0100, Mario Figueiredo wrote: > plot(list(results.keys()), list(results.values())) I found multiple plots in matplotlib. You need to specify which one you're using. The first thing you need to do is create a small self contained example of your problem. State

Re: [Matplotlib] Ploting an exponential distribution frequency curve

2015-04-26 Thread Mario Figueiredo
On Sun, 26 Apr 2015 11:17:07 +0100, Dave Farrance wrote: > >Moving average. Try: > >def movingaverage(interval, window_size): >window= numpy.ones(int(window_size))/float(window_size) >return numpy.convolve(interval, window, 'same') > >y_av = movingaverage(y,10) > >Note that you'd get prob

Re: [Matplotlib] Ploting an exponential distribution frequency curve

2015-04-26 Thread Dave Farrance
Mario Figueiredo wrote: >Other than replacing the random module with the probability density >function for the exponential distribution, do you have a suggestion of >how I could smooth the curve? Moving average. Try: def movingaverage(interval, window_size): window= numpy

Re: [Matplotlib] Ploting an exponential distribution frequency curve

2015-04-25 Thread John Ladasky
unction for the exponential distribution, do you have a suggestion of > how I could smooth the curve? Since you have a finite data set which only approximates the exponential distribution, a visual representation which connects the dots with line segments will definitely emphasize the

Re: [Matplotlib] Ploting an exponential distribution frequency curve

2015-04-25 Thread Mark Lawrence
On 25/04/2015 23:33, Mario Figueiredo wrote: I'm trying to plot the curve of an exponential distribution without much success. I'm missing something very basic I feel, but just can't figure it out after numerous tries, so I'm turning out to you. This is the function generat

Re: [Matplotlib] Ploting an exponential distribution frequency curve

2015-04-25 Thread Mario Figueiredo
On Sat, 25 Apr 2015 23:12:19 + (UTC), Denis McMahon wrote: >Sorry, but given a choice of 5 plot methods in matplotlib and no hint as >to which one you're calling, I'm not inclined to go and look at the >arguments of all of them. There's actually around 8 I think. The individual graphs type

Re: [Matplotlib] Ploting an exponential distribution frequency curve

2015-04-25 Thread Mario Figueiredo
ults) plot(x, y) This works as intended. But plots a jagged curve due to the small discrepancies normal of a random number generation. Other than replacing the random module with the probability density function for the exponential distribution, do you have a suggestion of how I could smooth

Re: [Matplotlib] Ploting an exponential distribution frequency curve

2015-04-25 Thread Denis McMahon
On Sat, 25 Apr 2015 23:33:10 +0100, Mario Figueiredo wrote: > plot(list(results.keys()), list(results.values())) matplotlib supports at least (from searching the website) 5 plot methods. Which one are you using? My first guess would be that the data format that plot expects isn't the forma

Re: [Matplotlib] Ploting an exponential distribution frequency curve

2015-04-25 Thread Mario Figueiredo
On Sat, 25 Apr 2015 23:33:10 +0100, Mario Figueiredo wrote: > >Trying to plot this data into a frequency curve is proving too >challenging and I just can't understand why. > >plot(list(results.keys()), list(results.values())) > The above should read: results = generate(1) plot(list(

[Matplotlib] Ploting an exponential distribution frequency curve

2015-04-25 Thread Mario Figueiredo
I'm trying to plot the curve of an exponential distribution without much success. I'm missing something very basic I feel, but just can't figure it out after numerous tries, so I'm turning out to you. This is the function generating the frequency of individual outcomes:

ANN: eGenix pyOpenSSL Distribution 0.13.8

2015-03-24 Thread eGenix Team: M.-A. Lemburg
ANNOUNCING eGenix.com pyOpenSSL Distribution Version 0.13.8 An easy-to-install and easy-to-use distribution of the pyOpenSSL Python interface for

python-wheel distribution, add a local dependency which is not available in PyPi

2015-03-12 Thread remisharoon
Hi I have a dependency of a local .whl file, which is not in Pypi. How can I bundle that (local .whl file) inside the wheel file, so that inner .whl will get installed as a dependency. In simple terms a wheel file inside another wheel file. Can I add it as a package_data ? , if so how can get it

Re: GDAL Installation in Enthought Python Distribution

2015-02-26 Thread Terry Reedy
On 2/26/2015 2:47 AM, Leo Kris Palao wrote: Would like to request how to install GDAL in my Enthought Python Distribution (64-bit). The best place to ask about the Enthought Python Distribution is a list devoted to the E. P. D. -- Terry Jan Reedy -- https://mail.python.org/mailman

Re: GDAL Installation in Enthought Python Distribution

2015-02-26 Thread Mark Lawrence
On 26/02/2015 07:47, Leo Kris Palao wrote: Hi Python Users, Would like to request how to install GDAL in my Enthought Python Distribution (64-bit). I am having some problems making GDAL work. Or can you point me into a blog that describes how to set up GDAL in Enthought Python Distribution

GDAL Installation in Enthought Python Distribution

2015-02-25 Thread Leo Kris Palao
Hi Python Users, Would like to request how to install GDAL in my Enthought Python Distribution (64-bit). I am having some problems making GDAL work. Or can you point me into a blog that describes how to set up GDAL in Enthought Python Distribution. Thanks for any help. -Leo -- https

ANN: eGenix pyOpenSSL Distribution 0.13.7

2015-01-09 Thread eGenix Team: M.-A. Lemburg
ANNOUNCING eGenix.com pyOpenSSL Distribution Version 0.13.7 An easy-to-install and easy-to-use distribution of the pyOpenSSL Python interface for

CFFI distribution questions

2014-11-25 Thread Israel Brewster
So I have a python module that I have written which uses CFFI to link against a C library I have compiled. Specifically, it is a Database driver for the 4th dimension database, using an open-source C library distributed by the 4D company. I have tested the module and C code on a couple of different

ANN: eGenix pyOpenSSL Distribution 0.13.6

2014-11-11 Thread eGenix Team: M.-A. Lemburg
ANNOUNCING eGenix.com pyOpenSSL Distribution Version 0.13.6 An easy-to-install and easy-to-use distribution of the pyOpenSSL Python interface for

ANN: eGenix ThreadLock Distribution 2.13.0.1

2014-11-06 Thread eGenix Team: M.-A. Lemburg
ANNOUNCING eGenix.com ThreadLock Distribution Version 2.13.0.1 eGenix is making a ThreadLock binary distribution available to simplify the setup for

ANN: eGenix pyOpenSSL Distribution 0.13.5

2014-10-24 Thread eGenix Team: M.-A. Lemburg
ANNOUNCING eGenix.com pyOpenSSL Distribution Version 0.13.5 An easy-to-install and easy-to-use distribution of the pyOpenSSL Python interface for

ANN: eGenix pyOpenSSL Distribution 0.13.4.1.0.1.9

2014-08-14 Thread eGenix Team: M.-A. Lemburg
ANNOUNCING eGenix.com pyOpenSSL Distribution Version 0.13.4.1.0.1.9 An easy-to-install and easy-to-use distribution of the pyOpenSSL Python interface

ANN: eGenix mx Base Distribution 3.2.8 (mxDateTime, mxTextTools, etc.)

2014-07-11 Thread eGenix Team: M.-A. Lemburg
ANNOUNCING eGenix.com mx Base Distribution mxDateTime, mxTextTools, mxProxy, mxURL, mxUID, mxBeeBase, mxStack, mxQueue, mxTools Version 3.2.8

ANN: eGenix pyOpenSSL Distribution 0.13.3.1.0.1.8

2014-06-09 Thread eGenix Team: M.-A. Lemburg
ANNOUNCING eGenix.com pyOpenSSL Distribution Version 0.13.3.1.0.1.8 An easy-to-install and easy-to-use distribution of the pyOpenSSL Python interface

Re: MacOS 10.9.2: threading error using python.org 2.7.6 distribution

2014-04-28 Thread Chris Angelico
On Tue, Apr 29, 2014 at 8:50 AM, Matthew Pounsett wrote: > Thanks, I'll keep all that in mind. I have to wonder how much of a problem > it is here though, since I was able to demonstrate a functioning fork inside > a new thread further up in the discussion. > Yeah, it's really hard to pin down

Re: MacOS 10.9.2: threading error using python.org 2.7.6 distribution

2014-04-28 Thread Matthew Pounsett
On Sunday, 27 April 2014 10:33:38 UTC-4, Chris Angelico wrote: > In most contexts, "thread unsafe" simply means that you can't use the > same facilities simultaneously from two threads (eg a lot of database > connection libraries are thread unsafe with regard to a single > connection, as they'll

Re: MacOS 10.9.2: threading error using python.org 2.7.6 distribution

2014-04-27 Thread Chris Angelico
On Mon, Apr 28, 2014 at 12:16 AM, Matthew Pounsett wrote: > On Friday, 25 April 2014 10:05:03 UTC-4, Chris Angelico wrote: >> First culprit I'd look at is the mixing of subprocess and threading. >> It's entirely possible that something goes messy when you fork from a >> thread. > > I liked the th

Re: MacOS 10.9.2: threading error using python.org 2.7.6 distribution

2014-04-27 Thread Matthew Pounsett
On Friday, 25 April 2014 14:58:56 UTC-4, Ned Deily wrote: > FWIW, the Python 2 version of subprocess is known to be thread-unsafe. > There is a Py2 backport available on PyPI of the improved Python 3 > subprocess module: Since that't the only thread that calls anything in subprocess, and I'm o

Re: MacOS 10.9.2: threading error using python.org 2.7.6 distribution

2014-04-27 Thread Matthew Pounsett
On Friday, 25 April 2014 10:05:03 UTC-4, Chris Angelico wrote: > First culprit I'd look at is the mixing of subprocess and threading. > It's entirely possible that something goes messy when you fork from a > thread. I liked the theory, but I've run some tests and can't reproduce the error that w

  1   2   3   4   5   >