adamerose / PandasGUI

A GUI for Pandas DataFrames
MIT No Attribution
3.18k stars 232 forks source link

Release pandasgui on conda-forge #51

Open danschef opened 3 years ago

danschef commented 3 years ago

How about releasing pandasgui on conda-forge? This might help to resolve the current installation/import issues. Here are their instructions how to contribute packages: https://conda-forge.org/docs/maintainer/adding_pkgs.html

I have some experience with that and could release it there.

Ming-D-BigData commented 3 years ago

I tried building "develop" branch. But there are lots of unresolved dependencies to PyQt5 at runtime when pandasgui is called in my code. In the Anaconda environment I am using, I believe module pyqt is the actual replacement of PyQt5.

danschef commented 3 years ago

@adamerose If you want, I can submit a recipe for pandasgui to conda-forge. I am pretty sure that this will help to resolve issues as mentioned by @Ming-D-BigData above.

adamerose commented 3 years ago

@danschef Yeah I've been meaning to look into this but kept having other priorities, I'll submit it this weekend and then get your feedback on improving the recipe from there

adamerose commented 3 years ago

@danschef I read the conda-forge docs and submitted a PR to get a recipe for pandasgui added, but it seems to be failing the build test on Linux and OSX, maybe you or someone else familiar with conda can help debug

https://github.com/conda-forge/staged-recipes/pull/13237

I noticed that conda doesn't have pyqt5-sip or pyqtwebengine which are requirements of pandasgui, they seem to be always included with pyqt5 on conda so I left them out of the recipe requirements.

danschef commented 3 years ago

@adamerose There is a first release of pandasgui 0.2.7 available on conda-forge for Linux and Windows: https://anaconda.org/conda-forge/pandasgui/files

I just installed it successfully on Linux.

Details ``` (base) danschef@geoms:~$ conda create -n pandasgui_test -c conda-forge pandasgui Collecting package metadata (current_repodata.json): done Solving environment: done ## Package Plan ## environment location: /home/gfz-fe/miniconda3/envs/pandasgui_test added / updated specs: - pandasgui The following packages will be downloaded: package | build ---------------------------|----------------- alabaster-0.7.12 | py_0 15 KB conda-forge astroid-2.4.2 | py38h32f6830_1 297 KB conda-forge babel-2.9.0 | pyhd3deb0d_0 6.2 MB conda-forge chardet-4.0.0 | py38h578d9bd_1 199 KB conda-forge dacite-1.6.0 | pyhd3deb0d_0 14 KB conda-forge dataclasses-0.7 | pyhb2cacf7_7 7 KB conda-forge dbus-1.13.18 | hb2f20db_0 504 KB docutils-0.16 | py38h578d9bd_3 738 KB conda-forge expat-2.2.10 | he6710b0_2 153 KB glib-2.58.3 |py38h73cb85d_1004 3.3 MB conda-forge imagesize-1.2.0 | py_0 8 KB conda-forge ipython-7.12.0 | py38h5ca1d4c_0 1.1 MB conda-forge isort-5.7.0 | pyhd8ed1ab_0 80 KB conda-forge jedi-0.18.0 | py38h578d9bd_2 937 KB conda-forge lazy-object-proxy-1.4.3 | py38h1e0a361_2 28 KB conda-forge mccabe-0.6.1 | py_1 8 KB conda-forge numpy-1.19.5 | py38h18fd61f_1 5.4 MB conda-forge pandas-1.2.1 | py38h51da96c_0 12.0 MB conda-forge pandasgui-0.2.7 | py38h578d9bd_0 6.3 MB conda-forge pip-21.0 | pyhd8ed1ab_1 1.1 MB conda-forge prompt-toolkit-3.0.14 | pyha770c72_0 239 KB conda-forge prompt_toolkit-3.0.14 | hd8ed1ab_0 4 KB conda-forge pylint-2.6.0 | py38h32f6830_1 454 KB conda-forge pynput-1.7.1 | py38h32f6830_1 113 KB conda-forge python-xlib-0.28 | pyh9f0ad1d_0 121 KB conda-forge setuptools-lint-0.6.0 | pyh9f0ad1d_0 7 KB conda-forge snowballstemmer-2.1.0 | pyhd8ed1ab_0 57 KB conda-forge sphinx-3.4.3 | pyhd8ed1ab_0 1.5 MB conda-forge sphinxcontrib-applehelp-1.0.2| py_0 28 KB conda-forge sphinxcontrib-devhelp-1.0.2| py_0 22 KB conda-forge sphinxcontrib-htmlhelp-1.0.3| py_0 27 KB conda-forge sphinxcontrib-jsmath-1.0.1 | py_0 7 KB conda-forge sphinxcontrib-qthelp-1.0.3 | py_0 25 KB conda-forge sphinxcontrib-serializinghtml-1.1.4| py_0 24 KB conda-forge toml-0.10.2 | pyhd8ed1ab_0 18 KB conda-forge urllib3-1.26.3 | pyhd8ed1ab_0 99 KB conda-forge wrapt-1.11.2 | py38h1e0a361_1 47 KB conda-forge ------------------------------------------------------------ Total: 41.1 MB The following NEW packages will be INSTALLED: _libgcc_mutex conda-forge/linux-64::_libgcc_mutex-0.1-conda_forge _openmp_mutex conda-forge/linux-64::_openmp_mutex-4.5-1_gnu alabaster conda-forge/noarch::alabaster-0.7.12-py_0 appdirs conda-forge/noarch::appdirs-1.4.4-pyh9f0ad1d_0 astroid conda-forge/linux-64::astroid-2.4.2-py38h32f6830_1 babel conda-forge/noarch::babel-2.9.0-pyhd3deb0d_0 backcall conda-forge/noarch::backcall-0.2.0-pyh9f0ad1d_0 backports conda-forge/noarch::backports-1.0-py_2 backports.functoo~ conda-forge/noarch::backports.functools_lru_cache-1.6.1-py_0 brotlipy conda-forge/linux-64::brotlipy-0.7.0-py38h497a2fe_1001 ca-certificates conda-forge/linux-64::ca-certificates-2020.12.5-ha878542_0 certifi conda-forge/linux-64::certifi-2020.12.5-py38h578d9bd_1 cffi conda-forge/linux-64::cffi-1.14.4-py38ha312104_0 chardet conda-forge/linux-64::chardet-4.0.0-py38h578d9bd_1 colorama conda-forge/noarch::colorama-0.4.4-pyh9f0ad1d_0 cryptography conda-forge/linux-64::cryptography-3.3.1-py38h2b97feb_1 dacite conda-forge/noarch::dacite-1.6.0-pyhd3deb0d_0 dataclasses conda-forge/noarch::dataclasses-0.7-pyhb2cacf7_7 dbus pkgs/main/linux-64::dbus-1.13.18-hb2f20db_0 decorator conda-forge/noarch::decorator-4.4.2-py_0 docutils conda-forge/linux-64::docutils-0.16-py38h578d9bd_3 expat pkgs/main/linux-64::expat-2.2.10-he6710b0_2 fontconfig conda-forge/linux-64::fontconfig-2.13.1-hba837de_1004 freetype conda-forge/linux-64::freetype-2.10.4-h0708190_1 gettext conda-forge/linux-64::gettext-0.19.8.1-hf34092f_1004 glib conda-forge/linux-64::glib-2.58.3-py38h73cb85d_1004 gst-plugins-base conda-forge/linux-64::gst-plugins-base-1.14.5-h0935bb2_2 gstreamer conda-forge/linux-64::gstreamer-1.14.5-h36ae1b5_2 icu conda-forge/linux-64::icu-64.2-he1b5a44_1 idna conda-forge/noarch::idna-2.10-pyh9f0ad1d_0 imagesize conda-forge/noarch::imagesize-1.2.0-py_0 ipython conda-forge/linux-64::ipython-7.12.0-py38h5ca1d4c_0 ipython_genutils conda-forge/noarch::ipython_genutils-0.2.0-py_1 isort conda-forge/noarch::isort-5.7.0-pyhd8ed1ab_0 jedi conda-forge/linux-64::jedi-0.18.0-py38h578d9bd_2 jinja2 conda-forge/noarch::jinja2-2.11.2-pyh9f0ad1d_0 jpeg conda-forge/linux-64::jpeg-9d-h36c2ea0_0 lazy-object-proxy conda-forge/linux-64::lazy-object-proxy-1.4.3-py38h1e0a361_2 ld_impl_linux-64 conda-forge/linux-64::ld_impl_linux-64-2.35.1-hea4e1c9_1 libblas conda-forge/linux-64::libblas-3.9.0-7_openblas libcblas conda-forge/linux-64::libcblas-3.9.0-7_openblas libffi conda-forge/linux-64::libffi-3.2.1-he1b5a44_1007 libgcc-ng conda-forge/linux-64::libgcc-ng-9.3.0-h2828fa1_18 libgfortran-ng conda-forge/linux-64::libgfortran-ng-9.3.0-hff62375_18 libgfortran5 conda-forge/linux-64::libgfortran5-9.3.0-hff62375_18 libgomp conda-forge/linux-64::libgomp-9.3.0-h2828fa1_18 libiconv conda-forge/linux-64::libiconv-1.16-h516909a_0 liblapack conda-forge/linux-64::liblapack-3.9.0-7_openblas libopenblas conda-forge/linux-64::libopenblas-0.3.12-pthreads_h4812303_1 libpng conda-forge/linux-64::libpng-1.6.37-h21135ba_2 libstdcxx-ng conda-forge/linux-64::libstdcxx-ng-9.3.0-h6de172a_18 libuuid conda-forge/linux-64::libuuid-2.32.1-h7f98852_1000 libxcb conda-forge/linux-64::libxcb-1.13-h7f98852_1003 libxml2 conda-forge/linux-64::libxml2-2.9.10-hee79883_0 markupsafe conda-forge/linux-64::markupsafe-1.1.1-py38h497a2fe_3 mccabe conda-forge/noarch::mccabe-0.6.1-py_1 ncurses conda-forge/linux-64::ncurses-6.2-h58526e2_4 numpy conda-forge/linux-64::numpy-1.19.5-py38h18fd61f_1 openssl conda-forge/linux-64::openssl-1.1.1i-h7f98852_0 packaging conda-forge/noarch::packaging-20.8-pyhd3deb0d_0 pandas conda-forge/linux-64::pandas-1.2.1-py38h51da96c_0 pandasgui conda-forge/linux-64::pandasgui-0.2.7-py38h578d9bd_0 parso conda-forge/noarch::parso-0.8.1-pyhd8ed1ab_0 pcre conda-forge/linux-64::pcre-8.44-he1b5a44_0 pexpect conda-forge/noarch::pexpect-4.8.0-pyh9f0ad1d_2 pickleshare conda-forge/noarch::pickleshare-0.7.5-py_1003 pip conda-forge/noarch::pip-21.0-pyhd8ed1ab_1 plotly conda-forge/noarch::plotly-4.14.3-pyh44b312d_0 prompt-toolkit conda-forge/noarch::prompt-toolkit-3.0.14-pyha770c72_0 prompt_toolkit conda-forge/noarch::prompt_toolkit-3.0.14-hd8ed1ab_0 pthread-stubs conda-forge/linux-64::pthread-stubs-0.4-h36c2ea0_1001 ptyprocess conda-forge/noarch::ptyprocess-0.7.0-pyhd3deb0d_0 pycparser conda-forge/noarch::pycparser-2.20-pyh9f0ad1d_2 pygments conda-forge/noarch::pygments-2.7.4-pyhd8ed1ab_0 pylint conda-forge/linux-64::pylint-2.6.0-py38h32f6830_1 pynput conda-forge/linux-64::pynput-1.7.1-py38h32f6830_1 pyopenssl conda-forge/noarch::pyopenssl-20.0.1-pyhd8ed1ab_0 pyparsing conda-forge/noarch::pyparsing-2.4.7-pyh9f0ad1d_0 pyqt pkgs/main/linux-64::pyqt-5.9.2-py38h05f1152_4 pysocks conda-forge/linux-64::pysocks-1.7.1-py38h578d9bd_3 python conda-forge/linux-64::python-3.8.6-h852b56e_0_cpython python-dateutil conda-forge/noarch::python-dateutil-2.8.1-py_0 python-xlib conda-forge/noarch::python-xlib-0.28-pyh9f0ad1d_0 python_abi conda-forge/linux-64::python_abi-3.8-1_cp38 pytz conda-forge/noarch::pytz-2020.5-pyhd8ed1ab_0 qt conda-forge/linux-64::qt-5.9.7-h0c104cb_3 readline conda-forge/linux-64::readline-8.0-he28a2e2_2 requests conda-forge/noarch::requests-2.25.1-pyhd3deb0d_0 retrying conda-forge/noarch::retrying-1.3.3-py_2 setuptools conda-forge/linux-64::setuptools-49.6.0-py38h578d9bd_3 setuptools-lint conda-forge/noarch::setuptools-lint-0.6.0-pyh9f0ad1d_0 sip pkgs/main/linux-64::sip-4.19.13-py38he6710b0_0 six conda-forge/noarch::six-1.15.0-pyh9f0ad1d_0 snowballstemmer conda-forge/noarch::snowballstemmer-2.1.0-pyhd8ed1ab_0 sphinx conda-forge/noarch::sphinx-3.4.3-pyhd8ed1ab_0 sphinxcontrib-app~ conda-forge/noarch::sphinxcontrib-applehelp-1.0.2-py_0 sphinxcontrib-dev~ conda-forge/noarch::sphinxcontrib-devhelp-1.0.2-py_0 sphinxcontrib-htm~ conda-forge/noarch::sphinxcontrib-htmlhelp-1.0.3-py_0 sphinxcontrib-jsm~ conda-forge/noarch::sphinxcontrib-jsmath-1.0.1-py_0 sphinxcontrib-qth~ conda-forge/noarch::sphinxcontrib-qthelp-1.0.3-py_0 sphinxcontrib-ser~ conda-forge/noarch::sphinxcontrib-serializinghtml-1.1.4-py_0 sqlite conda-forge/linux-64::sqlite-3.34.0-h74cdb3f_0 tk conda-forge/linux-64::tk-8.6.10-h21135ba_1 toml conda-forge/noarch::toml-0.10.2-pyhd8ed1ab_0 traitlets conda-forge/noarch::traitlets-5.0.5-py_0 urllib3 conda-forge/noarch::urllib3-1.26.3-pyhd8ed1ab_0 wcwidth conda-forge/noarch::wcwidth-0.2.5-pyh9f0ad1d_2 wheel conda-forge/noarch::wheel-0.36.2-pyhd3deb0d_0 wrapt conda-forge/linux-64::wrapt-1.11.2-py38h1e0a361_1 xorg-libxau conda-forge/linux-64::xorg-libxau-1.0.9-h7f98852_0 xorg-libxdmcp conda-forge/linux-64::xorg-libxdmcp-1.1.3-h7f98852_0 xz conda-forge/linux-64::xz-5.2.5-h516909a_1 zlib conda-forge/linux-64::zlib-1.2.11-h516909a_1010 Proceed ([y]/n)? y Downloading and Extracting Packages prompt-toolkit-3.0.1 | 239 KB | ################################################################################################################################################################################################################################################################################################################################## | 100% dataclasses-0.7 | 7 KB | ################################################################################################################################################################################################################################################################################################################################## | 100% astroid-2.4.2 | 297 KB | ################################################################################################################################################################################################################################################################################################################################## | 100% expat-2.2.10 | 153 KB | ################################################################################################################################################################################################################################################################################################################################## | 100% dacite-1.6.0 | 14 KB | ################################################################################################################################################################################################################################################################################################################################## | 100% pandas-1.2.1 | 12.0 MB | ################################################################################################################################################################################################################################################################################################################################## | 100% imagesize-1.2.0 | 8 KB | ################################################################################################################################################################################################################################################################################################################################## | 100% sphinxcontrib-appleh | 28 KB | ################################################################################################################################################################################################################################################################################################################################## | 100% docutils-0.16 | 738 KB | ################################################################################################################################################################################################################################################################################################################################## | 100% sphinxcontrib-qthelp | 25 KB | ################################################################################################################################################################################################################################################################################################################################## | 100% dbus-1.13.18 | 504 KB | ################################################################################################################################################################################################################################################################################################################################## | 100% babel-2.9.0 | 6.2 MB | ################################################################################################################################################################################################################################################################################################################################## | 100% jedi-0.18.0 | 937 KB | ################################################################################################################################################################################################################################################################################################################################## | 100% pylint-2.6.0 | 454 KB | ################################################################################################################################################################################################################################################################################################################################## | 100% ipython-7.12.0 | 1.1 MB | ################################################################################################################################################################################################################################################################################################################################## | 100% toml-0.10.2 | 18 KB | ################################################################################################################################################################################################################################################################################################################################## | 100% numpy-1.19.5 | 5.4 MB | ################################################################################################################################################################################################################################################################################################################################## | 100% wrapt-1.11.2 | 47 KB | ################################################################################################################################################################################################################################################################################################################################## | 100% sphinxcontrib-jsmath | 7 KB | ################################################################################################################################################################################################################################################################################################################################## | 100% chardet-4.0.0 | 199 KB | ################################################################################################################################################################################################################################################################################################################################## | 100% lazy-object-proxy-1. | 28 KB | ################################################################################################################################################################################################################################################################################################################################## | 100% sphinxcontrib-devhel | 22 KB | ################################################################################################################################################################################################################################################################################################################################## | 100% sphinx-3.4.3 | 1.5 MB | ################################################################################################################################################################################################################################################################################################################################## | 100% pip-21.0 | 1.1 MB | ################################################################################################################################################################################################################################################################################################################################## | 100% python-xlib-0.28 | 121 KB | ################################################################################################################################################################################################################################################################################################################################## | 100% sphinxcontrib-htmlhe | 27 KB | ################################################################################################################################################################################################################################################################################################################################## | 100% glib-2.58.3 | 3.3 MB | ################################################################################################################################################################################################################################################################################################################################## | 100% setuptools-lint-0.6. | 7 KB | ################################################################################################################################################################################################################################################################################################################################## | 100% mccabe-0.6.1 | 8 KB | ################################################################################################################################################################################################################################################################################################################################## | 100% sphinxcontrib-serial | 24 KB | ################################################################################################################################################################################################################################################################################################################################## | 100% pandasgui-0.2.7 | 6.3 MB | ################################################################################################################################################################################################################################################################################################################################## | 100% isort-5.7.0 | 80 KB | ################################################################################################################################################################################################################################################################################################################################## | 100% prompt_toolkit-3.0.1 | 4 KB | ################################################################################################################################################################################################################################################################################################################################## | 100% urllib3-1.26.3 | 99 KB | ################################################################################################################################################################################################################################################################################################################################## | 100% pynput-1.7.1 | 113 KB | ################################################################################################################################################################################################################################################################################################################################## | 100% alabaster-0.7.12 | 15 KB | ################################################################################################################################################################################################################################################################################################################################## | 100% snowballstemmer-2.1. | 57 KB | ################################################################################################################################################################################################################################################################################################################################## | 100% Preparing transaction: done Verifying transaction: done Executing transaction: done # # To activate this environment, use # # $ conda activate pandasgui_test # # To deactivate an active environment, use # # $ conda deactivate ```

Could you validate that everything works as expected on your system?

adamerose commented 3 years ago

@danschef Just installed and tested on miniconda Windows 10, 0.2.7 worked for me. Thanks for helping with this!

danschef commented 3 years ago

Very nice!

fdion commented 3 years ago

I get the same packages as you @danschef and it looks like it installs everything, but it did not work on Linux (Mint 19.3). When I try to run it it is missing pyqt5-sip.

Also, it is using qt/pyqt 5.9:

pyqt                      5.9.2            py38h05f1152_4
qt                        5.9.7                h5867ecd_1

On Windows, it pulls qt 5.12.1 and pyqt5-sip no problem and runs.

danschef commented 3 years ago

Sure that pyqt5-sip should not be listed as 'sip' in your environment? This is also installed on my machine:

sip pkgs/main/linux-64::sip-4.19.13-py38he6710b0_0

If an import error is raised, you should open an issue in the pandasgui-feedstock here - ideally including the error traceback.