Instalation problem

Bug #1400231 reported by Daniele Bigoni on 2014-12-08
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
UQToolbox - Python
Undecided
Daniele Bigoni

Bug Description

I am having problems with installing your UQToolbox. I installed the version without the mpi support. However when I issue the command "import UQToolbox", the following error results.

>>> import UQToolbox
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "UQToolbox\__init__.py", line 31, in <module>
    import aux
ImportError: DLL load failed: The specified module could not be found.
>>>

It cannot find the aux module apparently. Am I missing something here?
Any help would be appreciated.

Related branches

Revision history for this message
Daniele Bigoni (daniele-bigoni) wrote :

I'm not able to reproduce the problem. The installation works smoothly on a clean virtualenv with python 2.7 on Linux.

Which version of Python are you using?

Revision history for this message
IP (i-pan11) wrote :
Download full text (8.4 KiB)

I'm using Python 2.7 on Windows, anaconda distribution.

I reinstalled the UQToolbox again without the mpi support. The following is the log

====================

D:\ip_python\UQToolbox\UQToolbox-0.1.11.tar>python setup.py install --without-mp
i4py
running install
running bdist_egg
running egg_info
writing requirements to UQToolbox.egg-info\requires.txt
writing UQToolbox.egg-info\PKG-INFO
writing top-level names to UQToolbox.egg-info\top_level.txt
writing dependency_links to UQToolbox.egg-info\dependency_links.txt
reading manifest file 'UQToolbox.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files found matching '.hgignore'
writing manifest file 'UQToolbox.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
creating build\bdist.win-amd64\egg
creating build\bdist.win-amd64\egg\UQToolbox
copying build\lib\UQToolbox\CutANOVA.py -> build\bdist.win-amd64\egg\UQToolbox
copying build\lib\UQToolbox\gPC.py -> build\bdist.win-amd64\egg\UQToolbox
copying build\lib\UQToolbox\mcmc.py -> build\bdist.win-amd64\egg\UQToolbox
copying build\lib\UQToolbox\ModelReduction.py -> build\bdist.win-amd64\egg\UQToo
lbox
copying build\lib\UQToolbox\RandomSampling.py -> build\bdist.win-amd64\egg\UQToo
lbox
copying build\lib\UQToolbox\sobol_lib.py -> build\bdist.win-amd64\egg\UQToolbox
creating build\bdist.win-amd64\egg\UQToolbox\unittests
copying build\lib\UQToolbox\unittests\run_unit_tests.py -> build\bdist.win-amd64
\egg\UQToolbox\unittests
copying build\lib\UQToolbox\unittests\TestKL1D.py -> build\bdist.win-amd64\egg\U
QToolbox\unittests
copying build\lib\UQToolbox\unittests\TestKL2D.py -> build\bdist.win-amd64\egg\U
QToolbox\unittests
copying build\lib\UQToolbox\unittests\TestRandomSampling.py -> build\bdist.win-a
md64\egg\UQToolbox\unittests
copying build\lib\UQToolbox\unittests\TestTimingPreFit.py -> build\bdist.win-amd
64\egg\UQToolbox\unittests
copying build\lib\UQToolbox\unittests\_aux.py -> build\bdist.win-amd64\egg\UQToo
lbox\unittests
copying build\lib\UQToolbox\unittests\__init__.py -> build\bdist.win-amd64\egg\U
QToolbox\unittests
copying build\lib\UQToolbox\_aux.py -> build\bdist.win-amd64\egg\UQToolbox
copying build\lib\UQToolbox\_version.py -> build\bdist.win-amd64\egg\UQToolbox
copying build\lib\UQToolbox\__init__.py -> build\bdist.win-amd64\egg\UQToolbox
byte-compiling build\bdist.win-amd64\egg\UQToolbox\CutANOVA.py to CutANOVA.pyc
byte-compiling build\bdist.win-amd64\egg\UQToolbox\gPC.py to gPC.pyc
byte-compiling build\bdist.win-amd64\egg\UQToolbox\mcmc.py to mcmc.pyc
byte-compiling build\bdist.win-amd64\egg\UQToolbox\ModelReduction.py to ModelRed
uction.pyc
byte-compiling build\bdist.win-amd64\egg\UQToolbox\RandomSampling.py to RandomSa
mpling.pyc
byte-compiling build\bdist.win-amd64\egg\UQToolbox\sobol_lib.py to sobol_lib.pyc

byte-compiling build\bdist.win-amd64\egg\UQToolbox\unittests\run_unit_tests.py t
o run_unit_tests.pyc
byte-compiling build\bdist.win-amd64\egg\UQToolbox\unittests\TestKL1D.py to Test
KL1D.pyc
byte-compiling build\bdist.win-amd64\egg\UQToolbox\unittests\TestKL2D.py to Test
KL2D.pyc
byte-compiling build\bdist.win-amd64\e...

Read more...

Changed in uqtoolbox:
status: New → Confirmed
status: Confirmed → Fix Released
assignee: nobody → Daniele Bigoni (daniele-bigoni)
status: Fix Released → Fix Committed
Revision history for this message
Daniele Bigoni (daniele-bigoni) wrote :

IP,

 I just committed a fix for the problem. I figured out that the name aux.py is not allowed on windows, and this might be the problem.

The new package is available on pypi.

Revision history for this message
IP (i-pan11) wrote :

thanks, its working now!

Cheers!

Changed in uqtoolbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions