RSS <== blog page - 2/9 ==> Blog module (68) python (3)


blog page - 2/9

m2r as a replacement of recommonmark

2018-03-01

recommonmark was not recently updated and fails with the latest version of Sphinx (1.7.1). See ‘Values’ object has no attribute ‘pep_references’ missing with 1.7.0b1. You should use m2r.

post

Install spacy on Windows

2018-02-21

It is not difficult to install spacy on Windows. The site Unofficial Windows Binaries for Python Extension Packages hosted a compiled version. But I tried:

post

Build cvxopt on Windows, cvxopt 1.1.9 not compatible with numpy 1.14

2018-01-17

I recently started to have an issue with cvxopt.

post

Python 3.6 and Visual Studio 2017

2017-11-29

It does not work unless you install the missing parts. Python 3.6 is compiled with Visual Studio 2015 and this specific compiler needs to be installed. There is a way with 2017, instructions are provided at Creating a C++ extension for Python. I copy paste the line:

post

ete3 and PyQt5

2017-11-11

ete3 now works with PyQt5 due to the pull request #284.

post

Install pytorch on Windows

2017-11-08

You can go there peterjc123/pytorch or type conda install -c peterjc123 pytorch. the setup can be created after unzipping the sources and running example Create a setup from installed packages.

post

Create a wheel with an installed package

2017-11-08

It happens sometimes you install package but you don’t remember exactly you did it. However, you would like to make a wheel from what is installed in folder site-packages. There is probably a better way but I created a local folder orgnized this way:

post

A few interesting modules

2017-11-04

  • GPAW : GPAW is a density-functional theory (DFT) Python code based on the projector-augmented wave (PAW) method and the atomic simulation environment (ASE). It uses plane-waves, atom-centered basis-functions or real-space uniform grids combined with multigrid methods.

  • mypy : an experimental optional static type checker for Python that aims to combine the benefits of dynamic (or “duck”) typing and static typing.

  • scapy : networks, IP, protocols

  • sympy-live : web server to run custom examples

  • wooey : website to execute python script

  • zc.async : processus synchronization

  • zentyal : small business server, includes mails

post

Issue with scipy 1.0 and statsmodels 0.8

2017-11-01

It is difficult to fix a package when there is no error but silent warnings. statsmodels fails with scipy 1.0 because some deprecated functions were removed: chisqprob. I sometimes look into warnings but many packages do not fix them and this is quite difficult to notice yours in that long list. I created a function which fixes it. The documentation contains more information about it.

post

Last release of basemap.

2017-10-26

basemap is discontinued and should be replaced by cartopy. I wonder how long it will take me to replace that dependency by the new one in all the notebooks using it. It won’t disappear before a couple of years but still… Cartopy, New Management, and EoL Announcement.

post


RSS <== blog page - 2/9 ==> 2018-07 (2) 2018-08 (2) 2018-12 (2) 2019-01 (1) 2019-08 (1)