I'm trying to set up a Python 3 environment that has access to the png module. When I list the installed packages, I get this:
(Python3_Env) me@gimli:~$ conda list
# packages in environment at /home/me/anaconda2/envs/Python3_Env:
#
# Name Version Build Channel
ca-certificates 2018.03.07 0
certifi 2018.4.16 py37_0 anaconda
click 6.7 py37_0
flask 1.0.2 py37_1
itsdangerous 0.24 py37_1
jinja2 2.10 py37_0
libedit 3.1.20170329 h6b74fdf_2
libffi 3.2.1 hd88cf55_4
libgcc-ng 7.2.0 hdf63c60_3
libpng 1.6.34 hb9fc6fc_0 anaconda
libstdcxx-ng 7.2.0 hdf63c60_3
markupsafe 1.0 py37h14c3975_1
ncurses 6.1 hf484d3e_0
openssl 1.0.2o h20670df_0 anaconda
pip 10.0.1 py37_0
png 1.2.39 0 sssdgc
pypng 0.0.18 0 eaton-lab
python 3.7.0 hc3d631a_0
readline 7.0 ha6073c6_4
setuptools 39.2.0 py37_0
sqlite 3.24.0 h84994c4_0
tk 8.6.7 hc745277_3
werkzeug 0.14.1 py37_0
wheel 0.31.1 py37_0
xz 5.2.4 h14c3975_4
zlib 1.2.11 ha838bed_2
Since I have png, pypng and libpng I was really expecting to be able to import png, but when I try, I get this:
(Python3_Env) me@gimli:~$ python
Python 3.7.0 (default, Jun 28 2018, 13:15:42)
[GCC 7.2.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import png
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'png'
>>>
Is there something else I need to install, or is there something I need to understand about installing into a conda environment?