Re: bw2ui version request conflict

26 views
Skip to first unread message

e-letter

unread,
Feb 2, 2014, 4:09:06 PM2/2/14
to brigh...@googlegroups.com
On 02/02/2014, brigh...@googlegroups.com <brigh...@googlegroups.com> wrote:
> >
> ---------- 1 of 1 ----------
> From: Christopher Mutel <cmu...@gmail.com>
> URL: http://groups.google.com/group/brightway2/msg/2b823749121d653a
>
> I don't know anything about the activestate package manager or software
> repository. There is detailed installation documentation
> here: http://brightway2.readthedocs.org/en/latest/installation.html
>
$ /path/to/activepython/bin/bw2-controller.py setup
/path/to/activepython/lib/python2.7/site-packages/bw2data/_config.py:53:
UserWarning:
Your changes will not be saved!
Set a writeable directory!
Current data directory is:
/tmp/tmplwbS1T
u"\t%s" % self.dir, UserWarning
Traceback (most recent call last):
File "/path/to/activepython/bin/bw2-controller.py", line 26, in <module>
from bw2ui import Controller, terminal_format
File "/path/to/.local/lib/python2.7/site-packages/bw2ui/__init__.py",
line 1, in <module>
from controller import Controller
File "/path/to/.local/lib/python2.7/site-packages/bw2ui/controller.py",
line 2, in <module>
from brightway2 import databases, methods, Database, Method,
config, reset_meta
File "/path/to/activepython/lib/python2.7/site-packages/brightway2/__init__.py",
line 2, in <module>
from bw2data import *
File "/path/to/activepython/lib/python2.7/site-packages/bw2data/__init__.py",
line 18, in <module>
import io
File "/path/to/activepython/lib/python2.7/site-packages/bw2data/io/__init__.py",
line 3, in <module>
from .export_gexf import DatabaseToGEXF, DatabaseSelectionToGEXF,
keyword_to_gephi_graph
File "/path/to/activepython/lib/python2.7/site-packages/bw2data/io/export_gexf.py",
line 3, in <module>
from lxml.builder import ElementMaker
File "/path/to/.local/lib/python2.7/site-packages/lxml/builder.py",
line 40, in <module>
import lxml.etree as ET
ImportError: /path/to/.local/lib/python2.7/site-packages/lxml/etree.so:
undefined symbol: clock_gettime

$ /path/to/activepython/bin/pip-2.7 install brightway2
Requirement already satisfied (use --upgrade to upgrade): brightway2
in /path/to/activepython/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): lxml in
/path/to/.local/lib/python2.7/site-packages (from brightway2)
Requirement already satisfied (use --upgrade to upgrade): numpy in
/path/to/.local/lib/python2.7/site-packages (from brightway2)
Downloading/unpacking scipy (from brightway2)
Downloading scipy-0.13.2.tar.gz (10.1MB): 10.1MB downloaded
Running setup.py egg_info for package scipy

warning: no previously-included files matching '*_subr_*.f' found
under directory 'scipy/linalg/src/id_dist/src'
no previously-included directories found matching
'scipy/special/tests/data/boost'
no previously-included directories found matching
'scipy/special/tests/data/gsl'
no previously-included directories found matching 'doc/build'
no previously-included directories found matching 'doc/source/generated'
no previously-included directories found matching '*/__pycache__'
warning: no previously-included files matching '*.pyc' found
anywhere in distribution
warning: no previously-included files matching '*~' found anywhere
in distribution
warning: no previously-included files matching '*.bak' found
anywhere in distribution
warning: no previously-included files matching '*.swp' found
anywhere in distribution
warning: no previously-included files matching '*.pyo' found
anywhere in distribution
Requirement already satisfied (use --upgrade to upgrade): nose in
/path/to/activepython/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg
(from brightway2)
Requirement already satisfied (use --upgrade to upgrade): progressbar
in /path/to/activepython/lib/python2.7/site-packages/progressbar-2.3-py2.7.egg
(from brightway2)
Requirement already satisfied (use --upgrade to upgrade): voluptuous
in /path/to/.local/lib/python2.7/site-packages (from brightway2)
Requirement already satisfied (use --upgrade to upgrade): fuzzywuzzy
in /path/to/activepython/lib/python2.7/site-packages/fuzzywuzzy-0.2-py2.7.egg
(from brightway2)
Requirement already satisfied (use --upgrade to upgrade): flask in
/path/to/activepython/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg
(from brightway2)
Requirement already satisfied (use --upgrade to upgrade): docopt in
/path/to/activepython/lib/python2.7/site-packages (from brightway2)
Requirement already satisfied (use --upgrade to upgrade):
bw2calc>=0.10.1 in /path/to/activepython/lib/python2.7/site-packages
(from brightway2)
Requirement already satisfied (use --upgrade to upgrade): bw2ui>=0.7
in /path/to/activepython/lib/python2.7/site-packages (from brightway2)
Requirement already satisfied (use --upgrade to upgrade):
bw2analyzer>=0.4 in /path/to/activepython/lib/python2.7/site-packages
(from brightway2)
Requirement already satisfied (use --upgrade to upgrade):
bw2data>=0.10.1 in /path/to/activepython/lib/python2.7/site-packages
(from brightway2)
Requirement already satisfied (use --upgrade to upgrade):
requests>=1.1.0 in /path/to/.local/lib/python2.7/site-packages (from
brightway2)
Downloading/unpacking bw-stats-toolkit>=0.7 (from brightway2)
Downloading bw-stats-toolkit-0.7.tar.gz
Running setup.py egg_info for package bw-stats-toolkit

Requirement already satisfied (use --upgrade to upgrade):
setuptools>=0.6b1 in /path/to/activepython/lib/python2.7/site-packages
(from voluptuous->brightway2)
Requirement already satisfied (use --upgrade to upgrade):
Werkzeug>=0.7 in
/path/to/activepython/lib/python2.7/site-packages/Werkzeug-0.9.4-py2.7.egg
(from flask->brightway2)
Requirement already satisfied (use --upgrade to upgrade): Jinja2>=2.4
in /path/to/activepython/lib/python2.7/site-packages/Jinja2-2.7.2-py2.7.egg
(from flask->brightway2)
Requirement already satisfied (use --upgrade to upgrade):
itsdangerous>=0.21 in
/path/to/activepython/lib/python2.7/site-packages/itsdangerous-0.23-py2.7.egg
(from flask->brightway2)
Requirement already satisfied (use --upgrade to upgrade): colorama in
/path/to/activepython/lib/python2.7/site-packages (from
bw2data>=0.10.1->brightway2)
Requirement already satisfied (use --upgrade to upgrade): stats-arrays
in /path/to/activepython/lib/python2.7/site-packages (from
bw2data>=0.10.1->brightway2)
Requirement already satisfied (use --upgrade to upgrade): markupsafe
in /path/to/activepython/lib/python2.7/site-packages/MarkupSafe-0.18-py2.7-linux-i686.egg
(from Jinja2>=2.4->flask->brightway2)
Installing collected packages: scipy, bw-stats-toolkit
Running setup.py install for scipy
blas_opt_info:
blas_mkl_info:
/path/to/.local/lib/python2.7/site-packages/numpy/distutils/system_info.py:564:
UserWarning: Specified path /home/apy/atlas/lib is invalid.
warnings.warn('Specified path %s is invalid.' % d)
/path/to/.local/lib/python2.7/site-packages/numpy/distutils/system_info.py:564:
UserWarning: Specified path /home/apy/atlas/include is invalid.
warnings.warn('Specified path %s is invalid.' % d)
libraries mkl,vml,guide not found in []
NOT AVAILABLE

atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries lapack,f77blas,cblas,atlas not found in []
NOT AVAILABLE

atlas_blas_info:
libraries lapack,f77blas,cblas,atlas not found in []
NOT AVAILABLE

/path/to/.local/lib/python2.7/site-packages/numpy/distutils/system_info.py:1494:
UserWarning:
Atlas (http://math-atlas.sourceforge.net/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [atlas]) or by setting
the ATLAS environment variable.
warnings.warn(AtlasNotFoundError.__doc__)
blas_info:
libraries blas not found in []
NOT AVAILABLE

/path/to/.local/lib/python2.7/site-packages/numpy/distutils/system_info.py:1503:
UserWarning:
Blas (http://www.netlib.org/blas/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
warnings.warn(BlasNotFoundError.__doc__)
blas_src_info:
NOT AVAILABLE

/path/to/.local/lib/python2.7/site-packages/numpy/distutils/system_info.py:1506:
UserWarning:
Blas (http://www.netlib.org/blas/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [blas_src]) or by setting
the BLAS_SRC environment variable.
warnings.warn(BlasSrcNotFoundError.__doc__)
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip_build_r/scipy/setup.py", line 230, in <module>
setup_package()
File "/tmp/pip_build_r/scipy/setup.py", line 227, in setup_package
setup(**metadata)
File "/path/to/.local/lib/python2.7/site-packages/numpy/distutils/core.py",
line 152, in setup
config = configuration()
File "/tmp/pip_build_r/scipy/setup.py", line 170, in configuration
config.add_subpackage('scipy')
File "/path/to/.local/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
line 1003, in add_subpackage
caller_level = 2)
File "/path/to/.local/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
line 972, in get_subpackage
caller_level = caller_level + 1)
File "/path/to/.local/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
line 909, in _get_configuration_from_setup_py
config = setup_module.configuration(*args)
File "scipy/setup.py", line 12, in configuration
config.add_subpackage('integrate')
File "/path/to/.local/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
line 1003, in add_subpackage
caller_level = 2)
File "/path/to/.local/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
line 972, in get_subpackage
caller_level = caller_level + 1)
File "/path/to/.local/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
line 909, in _get_configuration_from_setup_py
config = setup_module.configuration(*args)
File "scipy/integrate/setup.py", line 12, in configuration
blas_opt = get_info('blas_opt',notfound_action=2)
File "/path/to/.local/lib/python2.7/site-packages/numpy/distutils/system_info.py",
line 338, in get_info
return cl().get_info(notfound_action)
File "/path/to/.local/lib/python2.7/site-packages/numpy/distutils/system_info.py",
line 497, in get_info
raise self.notfounderror(self.notfounderror.__doc__)
numpy.distutils.system_info.BlasNotFoundError:
Blas (http://www.netlib.org/blas/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
Complete output from command /path/to/activepython/bin/python -c
"import setuptools;__file__='/tmp/pip_build_r/scipy/setup.py';exec(compile(open(__file__).read().replace('\r\n',
'\n'), __file__, 'exec'))" install --record
/tmp/pip-TQEWJA-record/install-record.txt
--single-version-externally-managed:
blas_opt_info:

blas_mkl_info:

/path/to/.local/lib/python2.7/site-packages/numpy/distutils/system_info.py:564:
UserWarning: Specified path /home/apy/atlas/lib is invalid.

warnings.warn('Specified path %s is invalid.' % d)

/path/to/.local/lib/python2.7/site-packages/numpy/distutils/system_info.py:564:
UserWarning: Specified path /home/apy/atlas/include is invalid.

warnings.warn('Specified path %s is invalid.' % d)

libraries mkl,vml,guide not found in []

NOT AVAILABLE



atlas_blas_threads_info:

Setting PTATLAS=ATLAS

libraries lapack,f77blas,cblas,atlas not found in []

NOT AVAILABLE



atlas_blas_info:

libraries lapack,f77blas,cblas,atlas not found in []

NOT AVAILABLE



/path/to/.local/lib/python2.7/site-packages/numpy/distutils/system_info.py:1494:
UserWarning:

Atlas (http://math-atlas.sourceforge.net/) libraries not found.

Directories to search for the libraries can be specified in the

numpy/distutils/site.cfg file (section [atlas]) or by setting

the ATLAS environment variable.

warnings.warn(AtlasNotFoundError.__doc__)

blas_info:

libraries blas not found in []

NOT AVAILABLE



/path/to/.local/lib/python2.7/site-packages/numpy/distutils/system_info.py:1503:
UserWarning:

Blas (http://www.netlib.org/blas/) libraries not found.

Directories to search for the libraries can be specified in the

numpy/distutils/site.cfg file (section [blas]) or by setting

the BLAS environment variable.

warnings.warn(BlasNotFoundError.__doc__)

blas_src_info:

NOT AVAILABLE



/path/to/.local/lib/python2.7/site-packages/numpy/distutils/system_info.py:1506:
UserWarning:

Blas (http://www.netlib.org/blas/) sources not found.

Directories to search for the sources can be specified in the

numpy/distutils/site.cfg file (section [blas_src]) or by setting

the BLAS_SRC environment variable.

warnings.warn(BlasSrcNotFoundError.__doc__)

Traceback (most recent call last):

File "<string>", line 1, in <module>

File "/tmp/pip_build_r/scipy/setup.py", line 230, in <module>

setup_package()

File "/tmp/pip_build_r/scipy/setup.py", line 227, in setup_package

setup(**metadata)

File "/path/to/.local/lib/python2.7/site-packages/numpy/distutils/core.py",
line 152, in setup

config = configuration()

File "/tmp/pip_build_r/scipy/setup.py", line 170, in configuration

config.add_subpackage('scipy')

File "/path/to/.local/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
line 1003, in add_subpackage

caller_level = 2)

File "/path/to/.local/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
line 972, in get_subpackage

caller_level = caller_level + 1)

File "/path/to/.local/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
line 909, in _get_configuration_from_setup_py

config = setup_module.configuration(*args)

File "scipy/setup.py", line 12, in configuration

config.add_subpackage('integrate')

File "/path/to/.local/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
line 1003, in add_subpackage

caller_level = 2)

File "/path/to/.local/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
line 972, in get_subpackage

caller_level = caller_level + 1)

File "/path/to/.local/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
line 909, in _get_configuration_from_setup_py

config = setup_module.configuration(*args)

File "scipy/integrate/setup.py", line 12, in configuration

blas_opt = get_info('blas_opt',notfound_action=2)

File "/path/to/.local/lib/python2.7/site-packages/numpy/distutils/system_info.py",
line 338, in get_info

return cl().get_info(notfound_action)

File "/path/to/.local/lib/python2.7/site-packages/numpy/distutils/system_info.py",
line 497, in get_info

raise self.notfounderror(self.notfounderror.__doc__)

numpy.distutils.system_info.BlasNotFoundError:

Blas (http://www.netlib.org/blas/) libraries not found.

Directories to search for the libraries can be specified in the

numpy/distutils/site.cfg file (section [blas]) or by setting

the BLAS environment variable.

----------------------------------------
Cleaning up...
Command /path/to/activepython/bin/python -c "import
setuptools;__file__='/tmp/pip_build_r/scipy/setup.py';exec(compile(open(__file__).read().replace('\r\n',
'\n'), __file__, 'exec'))" install --record
/tmp/pip-TQEWJA-record/install-record.txt
--single-version-externally-managed failed with error code 1 in
/tmp/pip_build_r/scipy
Storing complete log in /path/to/.pip/pip.log

e-letter

unread,
Feb 4, 2014, 6:47:13 AM2/4/14
to brigh...@googlegroups.com
On 03/02/2014, brigh...@googlegroups.com <brigh...@googlegroups.com> wrote:
> >
>> I don't know anything about the activestate package manager or software
>> repository. There is detailed installation documentation
>> here: http://brightway2.readthedocs.org/en/latest/installation.html
>

Unsuccessful for me; tried:

$ ./bw2-web.py
/path/to/activepython/lib/python2.7/site-packages/bw2data/_config.py:53:
UserWarning:
Your changes will not be saved!
Set a writeable directory!
Current data directory is:
/tmp/tmphamrS3
u"\t%s" % self.dir, UserWarning
Traceback (most recent call last):
File "./bw2-web.py", line 18, in <module>
from bw2data import config

Christopher Mutel

unread,
Feb 6, 2014, 11:34:56 AM2/6/14
to brigh...@googlegroups.com
What OS are you on? It looks like linux? If it is Linux, you should install scipy, numpy etc. with the distribution's packages. If it is OS X, install NumPy or Scipy with macports or homebrew. If the bw2data doesn't install correctly, then of course bw2web.py won't work...
Reply all
Reply to author
Forward
0 new messages