[how to install 0.5.2 with python2.7?]

Thomas De Schampheleire patrickdepinguin at gmail.com
Sat Aug 15 09:24:58 UTC 2020


Hi Uwe,

On Sat, Aug 15, 2020, 09:27 Uwe Brauer <oub at mat.ucm.es> wrote:

> >>> "TDS" == Thomas De Schampheleire <patrickdepinguin at gmail.com> writes:
>
> Thanks
>
>    > virtualenv -p python2.7 ../kallithea-venv
>
> You are not going to believe this:
>
> virtualenv -p python2.7 ../kallithea-venv
>
> ,----
> |
> | Traceback (most recent call last):
> |   File "/usr/bin/virtualenv", line 5, in <module>
> |     from pkg_resources import load_entry_point
> |   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
> 2927, in <module>
> |     @_call_aside
> |   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
> 2913, in _call_aside
> |     f(*args, **kwargs)
> |   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
> 2952, in _initialize_master_working_set
> |     add_activation_listener(lambda dist: dist.activate())
> |   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
> 956, in subscribe
> |     callback(dist)
> |   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
> 2952, in <lambda>
> |     add_activation_listener(lambda dist: dist.activate())
> |   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
> 2515, in activate
> |     declare_namespace(pkg)
> |   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
> 2097, in declare_namespace
> |     _handle_ns(packageName, path_item)
> |   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
> 2047, in _handle_ns
> |     _rebuild_mod_path(path, packageName, module)
> |   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
> 2066, in _rebuild_mod_path
> |     orig_path.sort(key=position_in_sys_path)
> | AttributeError: '_NamespacePath' object has no attribute 'sort'
> `----
>

Can you do:

which python2.7
python2.7 --version
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sfconservancy.org/pipermail/kallithea-general/attachments/20200815/5b8d8fc5/attachment-0001.html>


More information about the kallithea-general mailing list