On Tue, 23 Oct 2012, Matthias Klose wrote:
> please note that python3.3 comes with its own pyvenv-3.3
how could I forget about those great news...
1. btw - could you share info on what 'm' is after in
/usr/include/x86_64-linux-gnu/python3.3m
?
2. any hints on how to make nose work with 3.3 now? ;)
so I did
pyvenv-3.3 --system-site-packages $HOME/python-env/python3.3
but then testing "using" installed nose doesn't work although it is
available:
(git)novo:~exppsy/mpi4py[master]git
$>
PYTHONPATH=/home/yoh/deb/gits/pkg-exppsy/mpi4py/install/lib/python3.3/site-packages/mpi4py
$HOME/python-env/python3.3/bin/python3.3 /usr/bin/nosetests mpi4py
Traceback (most recent call last):
File "/usr/bin/nosetests", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2708, in <module>
working_set.require(__requires__)
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 686, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 584, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: nose==1.1.2
$>
PYTHONPATH=/home/yoh/deb/gits/pkg-exppsy/mpi4py/install/lib/python3.3/site-packages/mpi4py
$HOME/python-env/python3.3/bin/python3.3 -c 'import nose;
print(nose.__version__)'
1.1.2
nor I succeeded to install in that virtualenv current nose
(release_1.2.1-16-gb9b6bca) which seems to not care to 2to3 before
installation:
$> $HOME/python-env/python3.3/bin/python3.3 setup.py install
/usr/lib/python3.3/distutils/dist.py:257: UserWarning: Unknown distribution
option: 'test_suite'
warnings.warn(msg)
/usr/lib/python3.3/distutils/dist.py:257: UserWarning: Unknown distribution
option: 'zip_safe'
warnings.warn(msg)
/usr/lib/python3.3/distutils/dist.py:257: UserWarning: Unknown distribution
option: 'entry_points'
warnings.warn(msg)
/usr/lib/python3.3/distutils/dist.py:257: UserWarning: Unknown distribution
option: 'use_2to3'
warnings.warn(msg)
running install
running build
running build_py
running install_lib
byte-compiling
/home/yoh/python-env/python3.3/local/lib/python3.3/dist-packages/nose/config.py
to config.cpython-33.pyc
File
"/home/yoh/python-env/python3.3/local/lib/python3.3/dist-packages/nose/config.py",
line 66
except ConfigParser.Error, exc:
^
SyntaxError: invalid syntax
...
--
Yaroslav O. Halchenko
Postdoctoral Fellow, Department of Psychological and Brain Sciences
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419
WWW: http://www.linkedin.com/in/yarik
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team