[moin-user] Prob with cirtualenv

Lars Kruse lists at sumpfralle.de
Sat Apr 6 13:01:36 EDT 2019

Hello Renato,

Am Sat, 6 Apr 2019 12:45:38 +0200
schrieb Renato Pontefice <renato.pontefice at gmail.com>:

> I receive the follow error:
> (moin) (python27) iMac-di-Renato:moin renato$ pip install moin
> Collecting moin
>   Using cached https://files.pythonhosted.org/packages/db/c4/58872c31f3c242c2cec3a35f493628182979b664645858dafba4071b9cb5/moin-1.9.10.tar.gz
>     Complete output from command python setup.py egg_info:
>     Traceback (most recent call last):
>       File "<string>", line 1, in <module>
>       File "/private/var/folders/yd/mcb18m1n3q1gb7rv4cc9hsxh0000gn/T/pip-install-gsh58_7y/moin/setup.py", line 68
>         def visit((prefix, strip, found), dirname, names):
>                   ^
>     SyntaxError: invalid syntax

the above "tuple argument" ('(prefix, strip, found)') was only allowed in
python2. It fails with the above error in python3.

Thus somehow your virtualenv seems to use python3.
At least I see no other reason, how the above error could appear.


More information about the moin-user mailing list