Welcome to ask.woodem.org. You may post when you login through your GitHub account.

virtual enviroment set up - fail to install minieigen

0 votes
asked Feb 12 by trucgiao91 (500 points)
Hi Vaclav,


I have tried to install virtual enviroment so that we can run simulation with the cluster. I wonder if this script in the installation link  is up-to-date?


at the step

pip install minieigen: it failed with the following error

 Failed building wheel for minieigen


    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1


Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-95xTIb/minieigen/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-AG5jJS-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-95xTIb/minieigen/

also for the command pip install --egg scons i got the error that there is no such --egg option

Could you have a look into this error? thank you so much...


Best regards,


1 Answer

0 votes
answered Feb 18 by eudoxos (49,150 points)

Hi Giao, that is an older leftover code. The pypi version of minieigen is dated (I will look into how to update it), the best is to simply compile from git directly, using pip3 install git+https://github.com/eudoxos/minieigen.git . That should work. The boost::is_complex which causes the error was later replaced by Eigen's type traits. HTH, Vaclav

commented Feb 18 by eudoxos (49,150 points)

PS that part of the doc is terribly outdated. It still uses python2.7 (don't do that, really!) and qt4. I think you don't need to worry about the --egg option (also deprecated, IIRC). I will check if I can update the instructions there. v

commented Feb 19 by trucgiao91 (500 points)

Hi Vaclav!

Yes I figured it out that it is outdated. I am new to open source and linux system, it is always a challenge when i tried to compile something from source. I just got access to the cluster, with my laptop it is hard to make good progress with the analysis...
I am looking forward to your instructions. Thanks a million :)