I am trying to run pyOpt tutorial located at http://www.pyopt.org/tutorial.html.
It will display the Objective function but the line
slsqp = pyOpt.SLSQP()
gives the following error.
AttributeError: 'module' object has no attribute 'SLSQP'
It is installed on the following folder
C:\Python27\pyOpt-1
Thanks, Chris. That makes sense. The len() example is great!
On Tue, May 1, 2018 at 10:37 PM, Chris Angelico wrote:
> On Wed, May 2, 2018 at 12:22 PM, C W wrote:
> > It's interesting how mean() can be implemented, but median() will break
> > other packages.
> >
> > So, the default way in numpy
Python 3.7.0b4 is the final beta preview of Python 3.7, the next feature
release of Python. Beta releases are intended to give you the
opportunity to test new features and bug fixes and to prepare your
projects to support the new feature release. We strongly encourage you
to test your projects with
Hi,
I'm trying to make a mask using a shapefile of Brazil using the
examplE:
http://basemaptutorial.readthedocs.io/en/latest/clip.html
I run my script and I had the messages:
Traceback (most recent call last):
File "mascarapy2.py", line 7, in
from osgeo import gdal
File
"/h
Thomas, thank you very very much, this was exactly what I needed.
Thanks again and best regards.
--
https://mail.python.org/mailman/listinfo/python-list
Hi All,
I'm afraid I've found quite a serious regression in the 6.x series of
testfixtures releases:
Objects that had neither __dict__ nor __slots__ would always be
considered equal by compare().
I hit this comparing datetimes, but this would also affect types
provides by extensions in other