Open victordomingos opened 3 years ago
It used to install ok with older pip versions, but now using pip 21.3 it only installs v.0.1.0:
pip
python -m pip install pelican-advthumbnailer Collecting pelican-advthumbnailer Using cached pelican-advthumbnailer-0.7.0.tar.gz (9.8 kB) Preparing metadata (setup.py) ... error ERROR: Command errored out with exit status 1: command: /Users/victor/dev/Pelican-stuff/teste/venv/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/xf/39kpd2dj5697yc5rc35v7xgc0000gn/T/pip-install-rwveh22a/pelican-advthumbnailer_504709deeafa4e8d972ebddb1a672a9b/setup.py'"'"'; __file__='"'"'/private/var/folders/xf/39kpd2dj5697yc5rc35v7xgc0000gn/T/pip-install-rwveh22a/pelican-advthumbnailer_504709deeafa4e8d972ebddb1a672a9b/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/xf/39kpd2dj5697yc5rc35v7xgc0000gn/T/pip-pip-egg-info-83bmlirp cwd: /private/var/folders/xf/39kpd2dj5697yc5rc35v7xgc0000gn/T/pip-install-rwveh22a/pelican-advthumbnailer_504709deeafa4e8d972ebddb1a672a9b/ Complete output (1 lines): error in pelican-advthumbnailer setup command: use_2to3 is invalid. ---------------------------------------- WARNING: Discarding https://files.pythonhosted.org/packages/48/03/e877bf5f4c7b7d7e327603f1a460a35a3fbef570dead9a3a700cadaadd91/pelican-advthumbnailer-0.7.0.tar.gz#sha256=36ecd86edea1f57d3bd3d3b1e760d22026ecd23e4ba569025fe6c474f50d896c (from https://pypi.org/simple/pelican-advthumbnailer/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. Downloading pelican-advthumbnailer-0.6.0.zip (14 kB) Preparing metadata (setup.py) ... error ERROR: Command errored out with exit status 1: command: /Users/victor/dev/Pelican-stuff/teste/venv/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/xf/39kpd2dj5697yc5rc35v7xgc0000gn/T/pip-install-rwveh22a/pelican-advthumbnailer_b66fbe75fb284513bc9fada7fce6b40a/setup.py'"'"'; __file__='"'"'/private/var/folders/xf/39kpd2dj5697yc5rc35v7xgc0000gn/T/pip-install-rwveh22a/pelican-advthumbnailer_b66fbe75fb284513bc9fada7fce6b40a/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/xf/39kpd2dj5697yc5rc35v7xgc0000gn/T/pip-pip-egg-info-90o46o0v cwd: /private/var/folders/xf/39kpd2dj5697yc5rc35v7xgc0000gn/T/pip-install-rwveh22a/pelican-advthumbnailer_b66fbe75fb284513bc9fada7fce6b40a/ Complete output (1 lines): error in pelican-advthumbnailer setup command: use_2to3 is invalid. ---------------------------------------- WARNING: Discarding https://files.pythonhosted.org/packages/c5/85/171cc664d0eab79fac55f34325bdf29b4ff174559fdfae8e146d8446fed7/pelican-advthumbnailer-0.6.0.zip#sha256=507786d33429efbbd428a3c10541251ecf6cfcbb0ccd8bdb4cfdecc31fdc3ec3 (from https://pypi.org/simple/pelican-advthumbnailer/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. Downloading pelican-advthumbnailer-0.5.0.zip (14 kB) Preparing metadata (setup.py) ... error ERROR: Command errored out with exit status 1: command: /Users/victor/dev/Pelican-stuff/teste/venv/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/xf/39kpd2dj5697yc5rc35v7xgc0000gn/T/pip-install-rwveh22a/pelican-advthumbnailer_13124af27b8a4ddfbe72254fda3136dd/setup.py'"'"'; __file__='"'"'/private/var/folders/xf/39kpd2dj5697yc5rc35v7xgc0000gn/T/pip-install-rwveh22a/pelican-advthumbnailer_13124af27b8a4ddfbe72254fda3136dd/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/xf/39kpd2dj5697yc5rc35v7xgc0000gn/T/pip-pip-egg-info-0sw44xdm cwd: /private/var/folders/xf/39kpd2dj5697yc5rc35v7xgc0000gn/T/pip-install-rwveh22a/pelican-advthumbnailer_13124af27b8a4ddfbe72254fda3136dd/ Complete output (1 lines): error in pelican-advthumbnailer setup command: use_2to3 is invalid. ---------------------------------------- WARNING: Discarding https://files.pythonhosted.org/packages/48/84/824db1944b6d98824ae82775a26bc0957aec9a75e8fe412a9595e1c66f3c/pelican-advthumbnailer-0.5.0.zip#sha256=5555fd56928aeb3b456b4535f7ce40ac2dc7d0681fc2aeeb9968ed1feef318a0 (from https://pypi.org/simple/pelican-advthumbnailer/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. Downloading pelican-advthumbnailer-0.4.0.zip (14 kB) Preparing metadata (setup.py) ... error ERROR: Command errored out with exit status 1: command: /Users/victor/dev/Pelican-stuff/teste/venv/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/xf/39kpd2dj5697yc5rc35v7xgc0000gn/T/pip-install-rwveh22a/pelican-advthumbnailer_ef9d3ff72b124c29a2422657f29778d7/setup.py'"'"'; __file__='"'"'/private/var/folders/xf/39kpd2dj5697yc5rc35v7xgc0000gn/T/pip-install-rwveh22a/pelican-advthumbnailer_ef9d3ff72b124c29a2422657f29778d7/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/xf/39kpd2dj5697yc5rc35v7xgc0000gn/T/pip-pip-egg-info-476dykbz cwd: /private/var/folders/xf/39kpd2dj5697yc5rc35v7xgc0000gn/T/pip-install-rwveh22a/pelican-advthumbnailer_ef9d3ff72b124c29a2422657f29778d7/ Complete output (1 lines): error in pelican-advthumbnailer setup command: use_2to3 is invalid. ---------------------------------------- WARNING: Discarding https://files.pythonhosted.org/packages/b8/49/964a464972217bca7a7e2dfb3cbe07f2ec7438b0267eb81ca972a1ef465b/pelican-advthumbnailer-0.4.0.zip#sha256=ee843dca5245fb568f8ce139c929cdba7238ee2b2ece27f0074877d222ace0e8 (from https://pypi.org/simple/pelican-advthumbnailer/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. Downloading pelican-advthumbnailer-0.3.0.tar.gz (9.2 kB) Preparing metadata (setup.py) ... error ERROR: Command errored out with exit status 1: command: /Users/victor/dev/Pelican-stuff/teste/venv/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/xf/39kpd2dj5697yc5rc35v7xgc0000gn/T/pip-install-rwveh22a/pelican-advthumbnailer_1d90f598728c4ddab329921d12c46481/setup.py'"'"'; __file__='"'"'/private/var/folders/xf/39kpd2dj5697yc5rc35v7xgc0000gn/T/pip-install-rwveh22a/pelican-advthumbnailer_1d90f598728c4ddab329921d12c46481/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/xf/39kpd2dj5697yc5rc35v7xgc0000gn/T/pip-pip-egg-info-08l97ebl cwd: /private/var/folders/xf/39kpd2dj5697yc5rc35v7xgc0000gn/T/pip-install-rwveh22a/pelican-advthumbnailer_1d90f598728c4ddab329921d12c46481/ Complete output (1 lines): error in pelican-advthumbnailer setup command: use_2to3 is invalid. ---------------------------------------- WARNING: Discarding https://files.pythonhosted.org/packages/c5/dd/cbe7cba3b9ed8c4b29507bcf9d3519abdcd17f7385e84f23ecd2c97d39eb/pelican-advthumbnailer-0.3.0.tar.gz#sha256=7f07b7a00a46c68c1afb834907d472dcab132bbb612164eae4758a1694492a6a (from https://pypi.org/simple/pelican-advthumbnailer/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. Downloading pelican-advthumbnailer-0.2.0.tar.gz (9.1 kB) Preparing metadata (setup.py) ... error ERROR: Command errored out with exit status 1: command: /Users/victor/dev/Pelican-stuff/teste/venv/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/xf/39kpd2dj5697yc5rc35v7xgc0000gn/T/pip-install-rwveh22a/pelican-advthumbnailer_fa0d760f04d245ddac9a36e6334fb638/setup.py'"'"'; __file__='"'"'/private/var/folders/xf/39kpd2dj5697yc5rc35v7xgc0000gn/T/pip-install-rwveh22a/pelican-advthumbnailer_fa0d760f04d245ddac9a36e6334fb638/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/xf/39kpd2dj5697yc5rc35v7xgc0000gn/T/pip-pip-egg-info-fa39y_5n cwd: /private/var/folders/xf/39kpd2dj5697yc5rc35v7xgc0000gn/T/pip-install-rwveh22a/pelican-advthumbnailer_fa0d760f04d245ddac9a36e6334fb638/ Complete output (1 lines): error in pelican-advthumbnailer setup command: use_2to3 is invalid. ---------------------------------------- WARNING: Discarding https://files.pythonhosted.org/packages/e7/2c/95ad09ab15f3ad723a3191767d6ec522dbb0469761f4faa18b60729fd2e4/pelican-advthumbnailer-0.2.0.tar.gz#sha256=787d70d9e54d939d9e0e29e01e29a7c22f45010319774b5fd2e9c04f3de73486 (from https://pypi.org/simple/pelican-advthumbnailer/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. Downloading pelican-advthumbnailer-0.1.0.tar.gz (8.7 kB) Preparing metadata (setup.py) ... done Requirement already satisfied: pelican>=3.4.0 in ./venv/lib/python3.9/site-packages (from pelican-advthumbnailer) (4.7.1) Requirement already satisfied: beautifulsoup4>=4.3.2 in ./venv/lib/python3.9/site-packages (from pelican-advthumbnailer) (4.10.0) Requirement already satisfied: Pillow>=2.5.3 in ./venv/lib/python3.9/site-packages (from pelican-advthumbnailer) (8.4.0) Requirement already satisfied: soupsieve>1.2 in ./venv/lib/python3.9/site-packages (from beautifulsoup4>=4.3.2->pelican-advthumbnailer) (2.2.1) Requirement already satisfied: docutils>=0.16 in ./venv/lib/python3.9/site-packages (from pelican>=3.4.0->pelican-advthumbnailer) (0.17.1) Requirement already satisfied: feedgenerator>=1.9 in ./venv/lib/python3.9/site-packages (from pelican>=3.4.0->pelican-advthumbnailer) (2.0.0) Requirement already satisfied: unidecode>=1.1 in ./venv/lib/python3.9/site-packages (from pelican>=3.4.0->pelican-advthumbnailer) (1.3.2) Requirement already satisfied: pygments>=2.6 in ./venv/lib/python3.9/site-packages (from pelican>=3.4.0->pelican-advthumbnailer) (2.10.0) Requirement already satisfied: pytz>=2020.1 in ./venv/lib/python3.9/site-packages (from pelican>=3.4.0->pelican-advthumbnailer) (2021.3) Requirement already satisfied: rich>=10.1 in ./venv/lib/python3.9/site-packages (from pelican>=3.4.0->pelican-advthumbnailer) (10.12.0) Requirement already satisfied: blinker>=1.4 in ./venv/lib/python3.9/site-packages (from pelican>=3.4.0->pelican-advthumbnailer) (1.4) Requirement already satisfied: python-dateutil>=2.8 in ./venv/lib/python3.9/site-packages (from pelican>=3.4.0->pelican-advthumbnailer) (2.8.2) Requirement already satisfied: jinja2>=2.7 in ./venv/lib/python3.9/site-packages (from pelican>=3.4.0->pelican-advthumbnailer) (3.0.2) Requirement already satisfied: MarkupSafe>=2.0 in ./venv/lib/python3.9/site-packages (from jinja2>=2.7->pelican>=3.4.0->pelican-advthumbnailer) (2.0.1) Requirement already satisfied: six>=1.5 in ./venv/lib/python3.9/site-packages (from python-dateutil>=2.8->pelican>=3.4.0->pelican-advthumbnailer) (1.16.0) Requirement already satisfied: commonmark<0.10.0,>=0.9.0 in ./venv/lib/python3.9/site-packages (from rich>=10.1->pelican>=3.4.0->pelican-advthumbnailer) (0.9.1) Requirement already satisfied: colorama<0.5.0,>=0.4.0 in ./venv/lib/python3.9/site-packages (from rich>=10.1->pelican>=3.4.0->pelican-advthumbnailer) (0.4.4) Building wheels for collected packages: pelican-advthumbnailer Building wheel for pelican-advthumbnailer (setup.py) ... done Created wheel for pelican-advthumbnailer: filename=pelican_advthumbnailer-0.1.0-py3-none-any.whl size=8853 sha256=da58dee5fa5695689d6818e59ab062a4f09ba02d4cf877718b56dfb6d2d49c05 Stored in directory: /Users/victor/Library/Caches/pip/wheels/2e/5e/f0/2f3097b93b7a463e3daf499be0d181f7e7db0d22b01d078789 Successfully built pelican-advthumbnailer Installing collected packages: pelican-advthumbnailer Successfully installed pelican-advthumbnailer-0.1.0
I have found this issue in both macOS and Linux.
Also having this issue.
It used to install ok with older
pip
versions, but now using pip 21.3 it only installs v.0.1.0:I have found this issue in both macOS and Linux.