Hi,

I'm attempting to install Gwyddion on Ubuntu with pygwy support, so I am 
installing from source rather than just using the apt-installed package. I set 
up a virtual environment with miniconda, and I was able to find package 
versions that seemingly aligned with python 2.7; i.e., I created the 
environment using:

$ conda create -n gwyd python=2.7 numpy=1.15 pango=1.50.7 
BioBuilds::py2cairo=1.10.0 jochym::pygobject2=2.28 jochym::pygtk

As best as I could figure out, I still had to install the following outside the 
virtual environment:

$ sudo apt-get install libgtk2.0-dev libfftw3-dev libpython2.7-dev

With this, I am able to succeed with `./configure` and `make` such that pygwy 
will be supported, but things fail with an error during `make install`:

$ ./configure --prefix=/home/jds/miniconda3/envs/gwyd/
$ make
$ make install

The output is as follows:
...
make[1]: Entering directory '/home/jds/Desktop/gwyd/gwyddion-2.66/python'
make[2]: Entering directory '/home/jds/Desktop/gwyd/gwyddion-2.66/python'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/home/jds/miniconda3/envs/gwyd/lib/gwyddion/python/Gwyddion'
 /usr/bin/install -c -m 644 Gwyddion/dump.py Gwyddion/__init__.py 
'/home/jds/miniconda3/envs/gwyd/lib/gwyddion/python/Gwyddion'
../py-compile: line 125: test: Inc: integer expression expected
Byte-compiling python modules...
dump.pyTraceback (most recent call last):
  File "<string>", line 15, in <module>
AttributeError: 'module' object has no attribute 'implementation'
make[2]: *** [Makefile:469: install-GwyddionPYTHON] Error 1
make[2]: Leaving directory '/home/jds/Desktop/gwyd/gwyddion-2.66/python'
make[1]: *** [Makefile:562: install-am] Error 2
make[1]: Leaving directory '/home/jds/Desktop/gwyd/gwyddion-2.66/python'
make: *** [Makefile:631: install-recursive] Error 1

Could someone please help steer me in the right direction? Thanks!
_______________________________________________
Gwyddion-users mailing list
Gwyddion-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gwyddion-users

Reply via email to