I was wondering if anybody knows where such an information is readily available.
Installing an UN-compiled version of QuantLib on Windows is such a hassle that I would rather
modify my python version in order to pip install Quantlib.
Thank You.
You can see the wheels available from PyPI at https://pypi.org/project/QuantLib/#files. Look for the ones with a "win" in their name (e.g., QuantLib-1.16.1-cp37-cp37m-win_amd64.whl, where the cp37 part stands for CPython 3.7 and the amd64 part indicates 64-bit architecture). As of now, there are wheels for 64-bit Python 3.5, 3.6 and 3.7.
Related
I was wondering in which scenarios I can use pipwin instead of pip? I am aware that pip is the standard.
From pipwin it states
pipwin is like pip, but it installs precompiled Windows binaries provided by Christoph Gohlke.
Does it offer any advantage if we are sharing our programs after packaging into a EXE with others - using windows?
pip installs from PyPI. pipwin installs from Christoph Gohlke's Unofficial Windows Binaries for Python Extension Packages. Quite often there are more and better compiled wheels at the Christoph's Unofficial site.
Compare, for example, PyAudio (one of the most problematic packages, see how many question there are). At PyPI there're currently wheels for Python 2.7 and 3.4-3.6. At the Christoph's Unofficial site there are wheels for Python 2.7 and 3.4-3.10.
The bottom line is: always consider Christoph's Unofficial site and pipwin when pip install failed to install a package for Windows.
As the description says here https://pypi.org/project/pipwin/
pipwin installs unofficial python package binaries for windows provided by Christoph Gohlke
Always trust the official sources and don't go for unofficial resources especially while working on enterprise applications. Please use only pip
Just checking if anyone knows whether Anaconda Project has released TensorFlow 2.2 and above for macOS users? From my understanding, this version of TF exists for all platforms except Mac.
Thanks for the help
you have the option to check things like this on the anaconda website. Just go to https://anaconda.org/anaconda/tensorflow and you will see:
linux-64 v2.2.0
win-64 v2.1.0
osx-64 v2.0.0
so the newest version available for macOS from the anaconda channel is (currently) 2.0.0
Alternatively you can also always run
conda search tensorflow
to see which versions are available for your platform
Note
From my understanding, this version of TF exists for all platforms except Mac
From anaconda, yes, but you are definately able to find this version on pypi, i.e. use pip install to install it
I want to install Julia 1.0.
I have Anaconda installed.
Information found:
In https://anaconda.org/conda-forge/julia, I see at the top of the page conda-forge / packages / julia 1.0.0. Therefore they have the latest version, released on August 8th. Below, one reads: Home: http://julialang.org/. Below the title "Installers", one reads linux-64 and osx-64. (No Windows version is mentioned). To install this package with conda run: conda install -c conda-forge julia. I am a Windows user, so I cannot install Julia 1.0 from Anaconda yet.
JuliaPro can be intalled for free from https://juliacomputing.com/products/juliapro.html.
Question:
For when they become available, what are the relative advantages of the following procedures?: (1) Install JuliaPro independently of Anaconda or (2) Install Julia 1.0 from Anaconda.
At the moment, your best bet is to download the official binary from https://julialang.org/downloads/. As far as I'm aware, the Anaconda version is more or less the same (i.e. it doesn't bundle any packages or IDE). Julia itself doesn't make use of Anaconda (it has its own package manager), so there is no real benefit to installing via Anaconda.
The new JuliaPro should be available in a few weeks, and will include a bundled IDE and pre-installed packages. Until then, you can manually install the Juno IDE yourself to work with the above build.
I tried to install ZODB3 for 64 bit Python 2.7 with pip. This installation requires a local compiler to compile the BTrees extension. As I do not have the needed MS compiler installed:
Is there a binary 64 bit Windows installer for ZODB on Python 2.7 ? I used Google but did not succeed
Is BTrees really required or can I install ZODB3 without BTrees ?
Cherrs, Uwe.
The ZODB3 package comes with pre-compiled eggs for Windows, see the PyPI page for ZODB3.
You need to tell pip explicitly that it needs to install an egg; it normally does not support installing from an egg:
pip install --egg ZODB3
Alternatively, you could use easy_install instead.
Struggling with ZODB3 easy_install/pip/compiler woes on Windows? Try Christoph Gohlke's "Unofficial Windows Binaries for Python Extension Packages" download page:
64 and 32 bit ZODB3 binaries packaged as .exe installers are available for python 2.5/2.6/2.7: http://www.lfd.uci.edu/~gohlke/pythonlibs/#zodb3
You will need to run the appropriate zope.interface installer from the same source first: http://www.lfd.uci.edu/~gohlke/pythonlibs/#Zope.interface
I have the python package in Cygwin on Windows 7. However, typing
python -V
returns
Python 2.6.8
This is a pretty low version of Python... I could use Python 3.x (whatever version is newest, preferably). I've seen some people say you have to download a .zip or .tar manually to get it (similar to this question). My questions are as follows (please note this is NOT a duplicate of the linked question):
Can I get Python 3.x somehow using the Cygwin package manager?
Can/should I get rid of Python 2.6 if I manage to get Python 3.x running? None of my code runs on anything specific to Python 2.6.
Thanks
As others have noted, the version of Python 2.6 that's installed with Cygwin is recent; Python release numbers are not linear with respect to time. The Python releases page details which versions were released on which date.
You can install Python3 if you want, using Cygwin Ports. This is a collection of Cygwin packages that are not ready for general release on the main Cygwin mirrors, but have been compiled ready to be used on Cygwin. I've written some instructions over on SuperUser which describe in more detail how to do this.
(I'd avoid installing from source, as Lennart suggests, as I'd expect this will require non-trivial fixes to make it work on Cygwin.)
As noted in the above-linked SuperUser question, there's no need to uninstall Python 2.6 to install Python 3; the two run happily side-by-side.
That said, beware your claim that "None of my code runs on anything specific to Python 2.6": Python 3.x is not back compatible with Python 2.x, and code written for Python 2.x will generally not work on Python 3.x without work to adapt it. The Python 3.0.1 What's New Guide has a good overview of the changes in Python 3.x.
Update: As of Wed 25 July 2012, Python 3.2.3 is included in the standard Cygwin installer. Just run Cygwin's setup.exe again (download it from cygwin.com again if you need to), and you should be able to select and install it like any other package.