pip install numpy fail in virtualenv
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-virtualenv (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python-virtualenv
pip install numpy fails when i trying to run it in virtualenv
-system info:
virhilo@
Description: Ubuntu 11.04
Release: 11.04
virhilo@
python:
Installed: 2.7.1-0ubuntu5
Candidate: 2.7.1-0ubuntu5
Version table:
*** 2.7.1-0ubuntu5 0
500 http://
100 /var/lib/
virhilo@
python-virtualenv:
Installed: 1.4.9-3ubuntu1
Candidate: 1.4.9-3ubuntu1
Version table:
*** 1.4.9-3ubuntu1 0
500 http://
100 /var/lib/
-steps to reproduce:
virhilo@
New python executable in my_env/bin/python
Installing distribute.
virhilo@
virhilo@
(my_env)
Downloading/
Downloading numpy-1.5.1.tar.gz (2.3Mb): 2.3Mb downloaded
Running setup.py egg_info for package numpy
Running from numpy source directory.
F2PY Version 1
blas_opt_info:
blas_mkl_info:
libraries mkl,vml,guide not found in /tmp/my_env/lib
libraries mkl,vml,guide not found in /usr/local/lib
libraries mkl,vml,guide not found in /usr/lib64
libraries mkl,vml,guide not found in /usr/lib
NOT AVAILABLE
atlas_
Setting PTATLAS=ATLAS
libraries ptf77blas,
libraries ptf77blas,
Setting PTATLAS=ATLAS
Setting PTATLAS=ATLAS
FOUND:
libraries = ['ptf77blas', 'ptcblas', 'atlas']
language = c
FOUND:
libraries = ['ptf77blas', 'ptcblas', 'atlas']
language = c
lapack_
lapack_
mkl_info:
libraries mkl,vml,guide not found in /tmp/my_env/lib
libraries mkl,vml,guide not found in /usr/local/lib
libraries mkl,vml,guide not found in /usr/lib64
libraries mkl,vml,guide not found in /usr/lib
NOT AVAILABLE
NOT AVAILABLE
atlas_
Setting PTATLAS=ATLAS
libraries ptf77blas,
libraries lapack_atlas not found in /tmp/my_env/lib
libraries ptf77blas,
libraries lapack_atlas not found in /usr/local/lib
libraries lapack not found in /usr/lib64/
numpy.
Setting PTATLAS=ATLAS
Setting PTATLAS=ATLAS
FOUND:
libraries = ['lapack', 'ptf77blas', 'ptcblas', 'atlas']
language = f77
FOUND:
libraries = ['lapack', 'ptf77blas', 'ptcblas', 'atlas']
language = f77
build_src
building py_modules sources
building library "npymath" sources
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/tmp/my_
File "/tmp/my_
File "/tmp/my_
return old_setup(
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
File "/tmp/my_
File "/usr/lib/
File "/usr/lib/
File "/tmp/my_
File "/tmp/my_
File "/tmp/my_
sources = self.generate_
File "/tmp/my_
source = func(extension, build_dir)
File "numpy/
st = config_
File "/usr/lib/
File "/tmp/my_
File "/usr/lib/
File "/usr/lib/
cpp = cc + " -E" # not always
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
Complete output from command python setup.py egg_info:
Running from numpy source directory.
F2PY Version 1
blas_opt_info:
blas_mkl_info:
libraries mkl,vml,guide not found in /tmp/my_env/lib
libraries mkl,vml,guide not found in /usr/local/lib
libraries mkl,vml,guide not found in /usr/lib64
libraries mkl,vml,guide not found in /usr/lib
NOT AVAILABLE
atlas_blas_
Setting PTATLAS=ATLAS
libraries ptf77blas,
libraries ptf77blas,
Setting PTATLAS=ATLAS
Setting PTATLAS=ATLAS
FOUND:
libraries = ['ptf77blas', 'ptcblas', 'atlas']
library_dirs = ['/usr/
language = c
include_dirs = ['/usr/
FOUND:
libraries = ['ptf77blas', 'ptcblas', 'atlas']
library_dirs = ['/usr/
language = c
define_macros = [('ATLAS_INFO', '"\\"?.?.?\\""')]
include_dirs = ['/usr/
lapack_opt_info:
lapack_mkl_info:
mkl_info:
libraries mkl,vml,guide not found in /tmp/my_env/lib
libraries mkl,vml,guide not found in /usr/local/lib
libraries mkl,vml,guide not found in /usr/lib64
libraries mkl,vml,guide not found in /usr/lib
NOT AVAILABLE
NOT AVAILABLE
atlas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,
libraries lapack_atlas not found in /tmp/my_env/lib
libraries ptf77blas,
libraries lapack_atlas not found in /usr/local/lib
libraries lapack not found in /usr/lib64/
numpy.distutils
Setting PTATLAS=ATLAS
Setting PTATLAS=ATLAS
FOUND:
libraries = ['lapack', 'ptf77blas', 'ptcblas', 'atlas']
library_dirs = ['/usr/
language = f77
include_dirs = ['/usr/
FOUND:
libraries = ['lapack', 'ptf77blas', 'ptcblas', 'atlas']
library_dirs = ['/usr/
language = f77
define_macros = [('ATLAS_INFO', '"\\"?.?.?\\""')]
include_dirs = ['/usr/
running egg_info
running build_src
build_src
building py_modules sources
creating build
creating build/src.
creating build/src.
creating build/src.
building library "npymath" sources
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/tmp/my_
setup_package()
File "/tmp/my_
configurati
File "/tmp/my_
return old_setup(
File "/usr/lib/
dist.
File "/usr/lib/
self.
File "/usr/lib/
cmd_obj.run()
File "/tmp/my_
self.
File "/usr/lib/
self.
File "/usr/lib/
cmd_obj.run()
File "/tmp/my_
self.
File "/tmp/my_
self.
File "/tmp/my_
sources = self.generate_
File "/tmp/my_
source = func(extension, build_dir)
File "numpy/
st = config_
File "/usr/lib/
self.
File "/tmp/my_
old_
File "/usr/lib/
customize_
File "/usr/lib/
cpp = cc + " -E" # not always
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
-------
Command python setup.py egg_info failed with error code 1
Storing complete log in /home/virhilo/
(my_env)
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: python-virtualenv 1.4.9-3ubuntu1
ProcVersionSign
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
Date: Tue May 10 01:52:34 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
PackageArchitec
ProcEnviron:
LANGUAGE=pl:en
LANG=pl_PL.UTF-8
SHELL=/bin/bash
SourcePackage: python-virtualenv
UpgradeStatus: No upgrade log present (probably fresh install)
simmilar problem can be found here: http://<email address hidden> /msg30960. html