pipenv sync failed in new install
Opened this issue · 10 comments
I just set a new EC2 instance to test pxl. It's using Ubuntu 22.
This is my history:
sudo apt install software-properties-common git
sudo add-apt-repository ppa:deadsnakes
sudo apt update
sudo apt install python3.7 python3.7-dev python3-pip
pip3 install --user --upgrade pipenv
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
git clone https://github.com/svsticky/pxl.git
cd pxl
pipenv sync
And I got in the last step:
An error occurred while installing boto3==1.9.134 --hash=sha256:9c789a775f0499743b083ffd63e0e87dae9a727511bb37f2529da52ccd25a360 --hash=sha256:883f7143bcb081a834f7c09659524059b66745ea043fffd40420e88ef0143feb! Will try again.
An error occurred while installing botocore==1.12.134 --hash=sha256:5c4d9ea1b0fbb1dc98b6a06ed8780096fca981a1c3599bf8f03f338e6aa389ae --hash=sha256:c59a74539eb081f4b3a307fc5c3d69d8459e30bfaf4b94aa78e74a9a05583764! Will try again.
An error occurred while installing click==7.0 --hash=sha256:2335065e6395b9e67ca716de5f7526736bfa6ceead690adf616d925bdc622b13 --hash=sha256:5b94b49521f6456670fdb30cd82a4eca9412788a93fa6dd6df72c94d5a8ff2d7! Will try again.
An error occurred while installing docutils==0.14 --hash=sha256:02aec4bd92ab067f6ff27a38a38a41173bf01bed8f89157768c1573f53e474a6 --hash=sha256:51e64ef2ebfb29cae1faa133b3710143496eca21c530f3f71424d77687764274 --hash=sha256:7a4bd47eaf6596e1295ecb11361139febe29b084a87bf005bf899f9a42edc3c6! Will try again.
An error occurred while installing jinja2==2.10.1 --hash=sha256:065c4f02ebe7f7cf559e49ee5a95fb800a9e4528727aec6f24402a5374c65013 --hash=sha256:14dd6caf1527abb21f08f86c784eac40853ba93edb79552aa1e4b8aef1b61c7b! Will try again.
An error occurred while installing jmespath==0.9.4 --hash=sha256:3720a4b1bd659dd2eecad0666459b9788813e032b83e7ba58578e48254e0a0e6 --hash=sha256:bde2aef6f44302dfb30320115b17d030798de8c4110e28d5cf6cf91a7a31074c! Will try again.
An error occurred while installing markupsafe==1.1.1 --hash=sha256:62fe6c95e3ec8a7fad637b7f3d372c15ec1caa01ab47926cfdf7a75b40e0eac1 --hash=sha256:00bc623926325b26bb9605ae9eae8a215691f33cae5df11ca5424f06f2d1f473 --hash=sha256:29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b --hash=sha256:6dd73240d2af64df90aa7c4e7481e23825ea70af4b4922f8ede5b9e35f78a3b1 --hash=sha256:09c4b7f37d6c648cb13f9230d847adf22f8171b1ccc4d5682398e77f40309235 --hash=sha256:535f6fc4d397c1563d08b88e485c3496cf5784e927af890fb3c3aac7f933ec66 --hash=sha256:98c7086708b163d425c67c7a91bad6e466bb99d797aa64f965e9d25c12111a5e --hash=sha256:7c1699dfe0cf8ff607dbdcc1e9b9af1755371f92a68f706051cc8c37d447c905 --hash=sha256:46c99d2de99945ec5cb54f23c8cd5689f6d7177305ebff350a58ce5f8de1669e --hash=sha256:24982cc2533820871eba85ba648cd53d8623687ff11cbb805be4ff7b4c971aff --hash=sha256:09027a7803a62ca78792ad89403b1b7a73a01c8cb65909cd876f7fcebd79b161 --hash=sha256:cd5df75523866410809ca100dc9681e301e3c27567cf498077e8551b6d20e42f --hash=sha256:43a55c2930bbc139570ac2452adf3d70cdbb3cfe5912c71cdce1c2c6bbd9c5d1 --hash=sha256:1027c282dad077d0bae18be6794e6b6b8c91d58ed8a8d89a89d59693b9131db5 --hash=sha256:ba59edeaa2fc6114428f1637ffff42da1e311e29382d81b339c1817d37ec93c6 --hash=sha256:c8716a48d94b06bb3b2524c2b77e055fb313aeb4ea620c8dd03a105574ba704f --hash=sha256:79855e1c5b8da654cf486b830bd42c06e8780cea587384cf6545b7d9ac013a0b --hash=sha256:9bf40443012702a1d2070043cb6291650a0841ece432556f784f004937f0f32c --hash=sha256:500d4957e52ddc3351cabf489e79c91c17f6e0899158447047588650b5e69183 --hash=sha256:ade5e387d2ad0d7ebf59146cc00c8044acbd863725f887353a10df825fc8ae21 --hash=sha256:e249096428b3ae81b08327a63a485ad0878de3fb939049038579ac0ef61e17e7 --hash=sha256:8defac2f2ccd6805ebf65f5eeb132adcf2ab57aa11fdf4c0dd5169a004710e7d --hash=sha256:9add70b36c5666a2ed02b43b335fe19002ee5235efd4b8a89bfcf9005bebac0d --hash=sha256:b1282f8c00509d99fef04d8ba936b156d419be841854fe901d8ae224c59f0be5 --hash=sha256:717ba8fe3ae9cc0006d7c451f0bb265ee07739daf76355d06366154ee68d221e --hash=sha256:b00c1de48212e4cc9603895652c5c410df699856a2853135b3967591e4beebc2 --hash=sha256:88e5fcfb52ee7b911e8bb6d6aa2fd21fbecc674eadd44118a9cc3863f938e735 --hash=sha256:b2051432115498d3562c084a49bba65d97cf251f5a331c64a12ee7e04dacc51b! Will try again.
An error occurred while installing pillow==6.0.0 --hash=sha256:9aa4f3827992288edd37c9df345783a69ef58bd20cc02e64b36e44bcd157bbf1 --hash=sha256:c6a842537f887be1fe115d8abb5daa9bc8cc124e455ff995830cc785624a97af --hash=sha256:de7aedc85918c2f887886442e50f52c1b93545606317956d65f342bd81cb4fc3 --hash=sha256:1a4e06ba4f74494ea0c58c24de2bb752818e9d504474ec95b0aa94f6b0a7e479 --hash=sha256:44e5240e8f4f8861d748f2a58b3f04daadab5e22bfec896bf5434745f788f33f --hash=sha256:15c056bfa284c30a7f265a41ac4cbbc93bdbfc0dfe0613b9cb8a8581b51a9e55 --hash=sha256:809c0a2ce9032cbcd7b5313f71af4bdc5c8c771cb86eb7559afd954cab82ebb5 --hash=sha256:258d886a49b6b058cd7abb0ab4b2b85ce78669a857398e83e8b8e28b317b5abb --hash=sha256:367385fc797b2c31564c427430c7a8630db1a00bd040555dfc1d5c52e39fcd72 --hash=sha256:9218d81b9fca98d2c47d35d688a0cea0c42fd473159dfd5612dcb0483c63e40b --hash=sha256:3c1884ff078fb8bf5f63d7d86921838b82ed4a7d0c027add773c2f38b3168754 --hash=sha256:74d90d499c9c736d52dd6d9b7221af5665b9c04f1767e35f5dd8694324bd4601 --hash=sha256:8c3889c7681af77ecfa4431cd42a2885d093ecb811e81fbe5e203abc07e0995b --hash=sha256:1fd0b290203e3b0882d9605d807b03c0f47e3440f97824586c173eca0aadd99d --hash=sha256:e6c0bbf8e277b74196e3140c35f9a1ae3eafd818f7f2d3a15819c49135d6c062 --hash=sha256:c4c78e2c71c257c136cdd43869fd3d5e34fc2162dc22e4a5406b0ebe86958239 --hash=sha256:cf0a2e040fdf5a6d95f4c286c6ef1df6b36c218b528c8a9158ec2452a804b9b8 --hash=sha256:dca5660e25932771460d4688ccbb515677caaf8595f3f3240ec16c117deff89a --hash=sha256:1c3c707c76be43c9e99cb7e3d5f1bee1c8e5be8b8a2a5eeee665efbf8ddde91a --hash=sha256:cfd28aad6fc61f7a5d4ee556a997dc6e5555d9381d1390c00ecaf984d57e4232 --hash=sha256:9d80f44137a70b6f84c750d11019a3419f409c944526a95219bea0ac31f4dd91 --hash=sha256:24114e4a6e1870c5a24b1da8f60d0ba77a0b4027907860188ea82bd3508c80eb --hash=sha256:46aa988e15f3ea72dddd81afe3839437b755fffddb5e173886f11460be909dce --hash=sha256:b7ebd36128a2fe93991293f997e44be9286503c7530ace6a55b938b20be288d8 --hash=sha256:33c79b6dd6bc7f65079ab9ca5bebffb5f5d1141c689c9c6a7855776d1b09b7e8 --hash=sha256:85d1ef2cdafd5507c4221d201aaf62fc9276f8b0f71bd3933363e62a33abc734! Will try again.
An error occurred while installing python-dateutil==2.8.0 ; python_version >= '2.7' --hash=sha256:7e6584c74aeed623791615e26efd690f29817a27c73085b78e4bad02493df2fb --hash=sha256:c89805f6f4d64db21ed966fda138f8a5ed7a4fdbc1a8ee329ce1b74e3c74da9e! Will try again.
An error occurred while installing s3transfer==0.2.0 --hash=sha256:f23d5cb7d862b104401d9021fc82e5fa0e0cf57b7660a1331425aab0c691d021 --hash=sha256:7b9ad3213bff7d357f888e0fab5101b56fa1a0548ee77d121c3a3dbfbef4cb2e! Will try again.
An error occurred while installing six==1.12.0 --hash=sha256:3350809f0555b11f552448330d0b52d5f24c91a322ea4a15ef22629740f3761c --hash=sha256:d16a0141ec1a18405cd4ce8b4613101da75da0e9a7aec5bdd4fa804d0e0eba73! Will try again.
An error occurred while installing urllib3==1.24.2 ; python_version >= '3.4' --hash=sha256:9a247273df709c4fedb38c711e44292304f73f39ab01beda9f6b9fc375669ac3 --hash=sha256:4c291ca23bbb55c76518905869ef34bdd5f0e46af7afe6861e8375643ffee1a0! Will try again.
Installing initially failed dependencies...
[pipenv.exceptions.InstallError]: Traceback (most recent call last):
[pipenv.exceptions.InstallError]: File "/home/ubuntu/.local/lib/python3.10/site-packages/pipenv/patched/pip/__pip-runner__.py", line 50, in <module>
[pipenv.exceptions.InstallError]: runpy.run_module("pip", run_name="__main__", alter_sys=True)
[pipenv.exceptions.InstallError]: File "/usr/lib/python3.7/runpy.py", line 205, in run_module
[pipenv.exceptions.InstallError]: return _run_module_code(code, init_globals, run_name, mod_spec)
[pipenv.exceptions.InstallError]: File "/usr/lib/python3.7/runpy.py", line 96, in _run_module_code
[pipenv.exceptions.InstallError]: mod_name, mod_spec, pkg_name, script_name)
[pipenv.exceptions.InstallError]: File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
[pipenv.exceptions.InstallError]: exec(code, run_globals)
[pipenv.exceptions.InstallError]: File "/home/ubuntu/.local/lib/python3.10/site-packages/pipenv/patched/pip/__main__.py", line 35, in <module>
[pipenv.exceptions.InstallError]: spec.loader.exec_module(pipenv)
[pipenv.exceptions.InstallError]: File "<frozen importlib._bootstrap_external>", line 728, in exec_module
[pipenv.exceptions.InstallError]: File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
[pipenv.exceptions.InstallError]: File "/home/ubuntu/.local/lib/python3.10/site-packages/pipenv/__init__.py", line 58, in <module>
[pipenv.exceptions.InstallError]: from .cli import cli
[pipenv.exceptions.InstallError]: File "/home/ubuntu/.local/lib/python3.10/site-packages/pipenv/cli/__init__.py", line 1, in <module>
[pipenv.exceptions.InstallError]: from .command import cli # noqa
[pipenv.exceptions.InstallError]: File "/home/ubuntu/.local/lib/python3.10/site-packages/pipenv/cli/command.py", line 7, in <module>
[pipenv.exceptions.InstallError]: from pipenv.cli.options import (
[pipenv.exceptions.InstallError]: File "/home/ubuntu/.local/lib/python3.10/site-packages/pipenv/cli/options.py", line 3, in <module>
[pipenv.exceptions.InstallError]: from pipenv.project import Project
[pipenv.exceptions.InstallError]: File "/home/ubuntu/.local/lib/python3.10/site-packages/pipenv/project.py", line 19, in <module>
[pipenv.exceptions.InstallError]: from pipenv.environment import Environment
[pipenv.exceptions.InstallError]: File "/home/ubuntu/.local/lib/python3.10/site-packages/pipenv/environment.py", line 17, in <module>
[pipenv.exceptions.InstallError]: from pipenv.patched.pip._internal.commands.install import InstallCommand
[pipenv.exceptions.InstallError]: File "/home/ubuntu/.local/lib/python3.10/site-packages/pipenv/patched/pip/_internal/commands/__init__.py", line 9, in <module>
[pipenv.exceptions.InstallError]: from pipenv.patched.pip._internal.cli.base_command import Command
[pipenv.exceptions.InstallError]: File "/home/ubuntu/.local/lib/python3.10/site-packages/pipenv/patched/pip/_internal/cli/base_command.py", line 15, in <module>
[pipenv.exceptions.InstallError]: from pipenv.patched.pip._internal.cli import cmdoptions
[pipenv.exceptions.InstallError]: File "/home/ubuntu/.local/lib/python3.10/site-packages/pipenv/patched/pip/_internal/cli/cmdoptions.py", line 24, in <module>
[pipenv.exceptions.InstallError]: from pipenv.patched.pip._internal.cli.parser import ConfigOptionParser
[pipenv.exceptions.InstallError]: File "/home/ubuntu/.local/lib/python3.10/site-packages/pipenv/patched/pip/_internal/cli/parser.py", line 12, in <module>
[pipenv.exceptions.InstallError]: from pipenv.patched.pip._internal.configuration import Configuration, ConfigurationError
[pipenv.exceptions.InstallError]: File "/home/ubuntu/.local/lib/python3.10/site-packages/pipenv/patched/pip/_internal/configuration.py", line 26, in <module>
[pipenv.exceptions.InstallError]: from pipenv.patched.pip._internal.utils.logging import getLogger
[pipenv.exceptions.InstallError]: File "/home/ubuntu/.local/lib/python3.10/site-packages/pipenv/patched/pip/_internal/utils/logging.py", line 29, in <module>
[pipenv.exceptions.InstallError]: from pipenv.patched.pip._internal.utils.misc import ensure_dir
[pipenv.exceptions.InstallError]: File "/home/ubuntu/.local/lib/python3.10/site-packages/pipenv/patched/pip/_internal/utils/misc.py", line 42, in <module>
[pipenv.exceptions.InstallError]: from pipenv.patched.pip._internal.locations import get_major_minor_version
[pipenv.exceptions.InstallError]: File "/home/ubuntu/.local/lib/python3.10/site-packages/pipenv/patched/pip/_internal/locations/__init__.py", line 67, in <module>
[pipenv.exceptions.InstallError]: from . import _distutils
[pipenv.exceptions.InstallError]: File "/home/ubuntu/.local/lib/python3.10/site-packages/pipenv/patched/pip/_internal/locations/_distutils.py", line 20, in <module>
[pipenv.exceptions.InstallError]: from distutils.cmd import Command as DistutilsCommand
[pipenv.exceptions.InstallError]: ModuleNotFoundError: No module named 'distutils.cmd'
ERROR: Couldn't install package: [Requirement(_name='boto3', vcs=None, req=NamedRequirement(name='boto3', version='==1.9.134', req=Requirement.parse('boto3==1.9.134'), extras=[], editable=False, _parsed_line=<Line (editable=False, name=boto3, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===1.9.134, pyproject=None, pyproject_requires=None, pyproject_backend=None, ireq=boto3==1.9.134)>), markers=None, _specifiers='==1.9.134', index='pypi', editable=False, hashes=frozenset({'sha256:9c789a775f0499743b083ffd63e0e87dae9a727511bb37f2529da52ccd25a360', 'sha256:883f7143bcb081a834f7c09659524059b66745ea043fffd40420e88ef0143feb'}), extras=(), abstract_dep=None, _line_instance=<Line (editable=False, name=boto3, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===1.9.134, pyproject=None, pyproject_requires=None, pyproject_backend=None, ireq=boto3==1.9.134)>, _ireq=None), Requirement(_name='botocore', vcs=None, req=NamedRequirement(name='botocore', version='==1.12.134', req=Requirement.parse('botocore==1.12.134'), extras=[], editable=False, _parsed_line=<Line (editable=False, name=botocore, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===1.12.134, pyproject=None, pyproject_requires=None, pyproject_backend=None, ireq=botocore==1.12.134)>), markers=None, _specifiers='==1.12.134', index=None, editable=False, hashes=frozenset({'sha256:5c4d9ea1b0fbb1dc98b6a06ed8780096fca981a1c3599bf8f03f338e6aa389ae', 'sha256:c59a74539eb081f4b3a307fc5c3d69d8459e30bfaf4b94aa78e74a9a05583764'}), extras=(), abstract_dep=None, _line_instance=<Line (editable=False, name=botocore, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===1.12.134, pyproject=None, pyproject_requires=None, pyproject_backend=None, ireq=botocore==1.12.134)>, _ireq=None), Requirement(_name='click', vcs=None, req=NamedRequirement(name='click', version='==7.0', req=Requirement.parse('click==7.0'), extras=[], editable=False, _parsed_line=<Line (editable=False, name=click, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===7.0, pyproject=None, pyproject_requires=None, pyproject_backend=None, ireq=click==7.0)>), markers=None, _specifiers='==7.0', index='pypi', editable=False, hashes=frozenset({'sha256:2335065e6395b9e67ca716de5f7526736bfa6ceead690adf616d925bdc622b13', 'sha256:5b94b49521f6456670fdb30cd82a4eca9412788a93fa6dd6df72c94d5a8ff2d7'}), extras=(), abstract_dep=None, _line_instance=<Line (editable=False, name=click, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===7.0, pyproject=None, pyproject_requires=None, pyproject_backend=None, ireq=click==7.0)>, _ireq=None), Requirement(_name='docutils', vcs=None, req=NamedRequirement(name='docutils', version='==0.14', req=Requirement.parse('docutils==0.14'), extras=[], editable=False, _parsed_line=<Line (editable=False, name=docutils, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===0.14, pyproject=None, pyproject_requires=None, pyproject_backend=None, ireq=docutils==0.14)>), markers=None, _specifiers='==0.14', index=None, editable=False, hashes=frozenset({'sha256:02aec4bd92ab067f6ff27a38a38a41173bf01bed8f89157768c1573f53e474a6', 'sha256:51e64ef2ebfb29cae1faa133b3710143496eca21c530f3f71424d77687764274', 'sha256:7a4bd47eaf6596e1295ecb11361139febe29b084a87bf005bf899f9a42edc3c6'}), extras=(), abstract_dep=None, _line_instance=<Line (editable=False, name=docutils, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===0.14, pyproject=None, pyproject_requires=None, pyproject_backend=None, ireq=docutils==0.14)>, _ireq=None), Requirement(_name='jinja2', vcs=None, req=NamedRequirement(name='jinja2', version='==2.10.1', req=Requirement.parse('jinja2==2.10.1'), extras=[], editable=False, _parsed_line=<Line (editable=False, name=jinja2, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===2.10.1, pyproject=None, pyproject_requires=None, pyproject_backend=None, ireq=jinja2==2.10.1)>), markers=None, _specifiers='==2.10.1', index='pypi', editable=False, hashes=frozenset({'sha256:065c4f02ebe7f7cf559e49ee5a95fb800a9e4528727aec6f24402a5374c65013', 'sha256:14dd6caf1527abb21f08f86c784eac40853ba93edb79552aa1e4b8aef1b61c7b'}), extras=(), abstract_dep=None, _line_instance=<Line (editable=False, name=jinja2, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===2.10.1, pyproject=None, pyproject_requires=None, pyproject_backend=None, ireq=jinja2==2.10.1)>, _ireq=None), Requirement(_name='jmespath', vcs=None, req=NamedRequirement(name='jmespath', version='==0.9.4', req=Requirement.parse('jmespath==0.9.4'), extras=[], editable=False, _parsed_line=<Line (editable=False, name=jmespath, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===0.9.4, pyproject=None, pyproject_requires=None, pyproject_backend=None, ireq=jmespath==0.9.4)>), markers=None, _specifiers='==0.9.4', index=None, editable=False, hashes=frozenset({'sha256:3720a4b1bd659dd2eecad0666459b9788813e032b83e7ba58578e48254e0a0e6', 'sha256:bde2aef6f44302dfb30320115b17d030798de8c4110e28d5cf6cf91a7a31074c'}), extras=(), abstract_dep=None, _line_instance=<Line (editable=False, name=jmespath, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===0.9.4, pyproject=None, pyproject_requires=None, pyproject_backend=None, ireq=jmespath==0.9.4)>, _ireq=None), Requirement(_name='markupsafe', vcs=None, req=NamedRequirement(name='markupsafe', version='==1.1.1', req=Requirement.parse('markupsafe==1.1.1'), extras=[], editable=False, _parsed_line=<Line (editable=False, name=markupsafe, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===1.1.1, pyproject=None, pyproject_requires=None, pyproject_backend=None, ireq=markupsafe==1.1.1)>), markers=None, _specifiers='==1.1.1', index=None, editable=False, hashes=frozenset({'sha256:62fe6c95e3ec8a7fad637b7f3d372c15ec1caa01ab47926cfdf7a75b40e0eac1', 'sha256:00bc623926325b26bb9605ae9eae8a215691f33cae5df11ca5424f06f2d1f473', 'sha256:29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b', 'sha256:6dd73240d2af64df90aa7c4e7481e23825ea70af4b4922f8ede5b9e35f78a3b1', 'sha256:09c4b7f37d6c648cb13f9230d847adf22f8171b1ccc4d5682398e77f40309235', 'sha256:535f6fc4d397c1563d08b88e485c3496cf5784e927af890fb3c3aac7f933ec66', 'sha256:98c7086708b163d425c67c7a91bad6e466bb99d797aa64f965e9d25c12111a5e', 'sha256:7c1699dfe0cf8ff607dbdcc1e9b9af1755371f92a68f706051cc8c37d447c905', 'sha256:46c99d2de99945ec5cb54f23c8cd5689f6d7177305ebff350a58ce5f8de1669e', 'sha256:24982cc2533820871eba85ba648cd53d8623687ff11cbb805be4ff7b4c971aff', 'sha256:09027a7803a62ca78792ad89403b1b7a73a01c8cb65909cd876f7fcebd79b161', 'sha256:cd5df75523866410809ca100dc9681e301e3c27567cf498077e8551b6d20e42f', 'sha256:43a55c2930bbc139570ac2452adf3d70cdbb3cfe5912c71cdce1c2c6bbd9c5d1', 'sha256:1027c282dad077d0bae18be6794e6b6b8c91d58ed8a8d89a89d59693b9131db5', 'sha256:ba59edeaa2fc6114428f1637ffff42da1e311e29382d81b339c1817d37ec93c6', 'sha256:c8716a48d94b06bb3b2524c2b77e055fb313aeb4ea620c8dd03a105574ba704f', 'sha256:79855e1c5b8da654cf486b830bd42c06e8780cea587384cf6545b7d9ac013a0b', 'sha256:9bf40443012702a1d2070043cb6291650a0841ece432556f784f004937f0f32c', 'sha256:500d4957e52ddc3351cabf489e79c91c17f6e0899158447047588650b5e69183', 'sha256:ade5e387d2ad0d7ebf59146cc00c8044acbd863725f887353a10df825fc8ae21', 'sha256:e249096428b3ae81b08327a63a485ad0878de3fb939049038579ac0ef61e17e7', 'sha256:8defac2f2ccd6805ebf65f5eeb132adcf2ab57aa11fdf4c0dd5169a004710e7d', 'sha256:9add70b36c5666a2ed02b43b335fe19002ee5235efd4b8a89bfcf9005bebac0d', 'sha256:b1282f8c00509d99fef04d8ba936b156d419be841854fe901d8ae224c59f0be5', 'sha256:717ba8fe3ae9cc0006d7c451f0bb265ee07739daf76355d06366154ee68d221e', 'sha256:b00c1de48212e4cc9603895652c5c410df699856a2853135b3967591e4beebc2', 'sha256:88e5fcfb52ee7b911e8bb6d6aa2fd21fbecc674eadd44118a9cc3863f938e735', 'sha256:b2051432115498d3562c084a49bba65d97cf251f5a331c64a12ee7e04dacc51b'}), extras=(), abstract_dep=None, _line_instance=<Line (editable=False, name=markupsafe, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===1.1.1, pyproject=None, pyproject_requires=None, pyproject_backend=None, ireq=markupsafe==1.1.1)>, _ireq=None), Requirement(_name='pillow', vcs=None, req=NamedRequirement(name='pillow', version='==6.0.0', req=Requirement.parse('pillow==6.0.0'), extras=[], editable=False, _parsed_line=<Line (editable=False, name=pillow, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===6.0.0, pyproject=None, pyproject_requires=None, pyproject_backend=None, ireq=pillow==6.0.0)>), markers=None, _specifiers='==6.0.0', index='pypi', editable=False, hashes=frozenset({'sha256:9aa4f3827992288edd37c9df345783a69ef58bd20cc02e64b36e44bcd157bbf1', 'sha256:c6a842537f887be1fe115d8abb5daa9bc8cc124e455ff995830cc785624a97af', 'sha256:de7aedc85918c2f887886442e50f52c1b93545606317956d65f342bd81cb4fc3', 'sha256:1a4e06ba4f74494ea0c58c24de2bb752818e9d504474ec95b0aa94f6b0a7e479', 'sha256:44e5240e8f4f8861d748f2a58b3f04daadab5e22bfec896bf5434745f788f33f', 'sha256:15c056bfa284c30a7f265a41ac4cbbc93bdbfc0dfe0613b9cb8a8581b51a9e55', 'sha256:809c0a2ce9032cbcd7b5313f71af4bdc5c8c771cb86eb7559afd954cab82ebb5', 'sha256:258d886a49b6b058cd7abb0ab4b2b85ce78669a857398e83e8b8e28b317b5abb', 'sha256:367385fc797b2c31564c427430c7a8630db1a00bd040555dfc1d5c52e39fcd72', 'sha256:9218d81b9fca98d2c47d35d688a0cea0c42fd473159dfd5612dcb0483c63e40b', 'sha256:3c1884ff078fb8bf5f63d7d86921838b82ed4a7d0c027add773c2f38b3168754', 'sha256:74d90d499c9c736d52dd6d9b7221af5665b9c04f1767e35f5dd8694324bd4601', 'sha256:8c3889c7681af77ecfa4431cd42a2885d093ecb811e81fbe5e203abc07e0995b', 'sha256:1fd0b290203e3b0882d9605d807b03c0f47e3440f97824586c173eca0aadd99d', 'sha256:e6c0bbf8e277b74196e3140c35f9a1ae3eafd818f7f2d3a15819c49135d6c062', 'sha256:c4c78e2c71c257c136cdd43869fd3d5e34fc2162dc22e4a5406b0ebe86958239', 'sha256:cf0a2e040fdf5a6d95f4c286c6ef1df6b36c218b528c8a9158ec2452a804b9b8', 'sha256:dca5660e25932771460d4688ccbb515677caaf8595f3f3240ec16c117deff89a', 'sha256:1c3c707c76be43c9e99cb7e3d5f1bee1c8e5be8b8a2a5eeee665efbf8ddde91a', 'sha256:cfd28aad6fc61f7a5d4ee556a997dc6e5555d9381d1390c00ecaf984d57e4232', 'sha256:9d80f44137a70b6f84c750d11019a3419f409c944526a95219bea0ac31f4dd91', 'sha256:24114e4a6e1870c5a24b1da8f60d0ba77a0b4027907860188ea82bd3508c80eb', 'sha256:46aa988e15f3ea72dddd81afe3839437b755fffddb5e173886f11460be909dce', 'sha256:b7ebd36128a2fe93991293f997e44be9286503c7530ace6a55b938b20be288d8', 'sha256:33c79b6dd6bc7f65079ab9ca5bebffb5f5d1141c689c9c6a7855776d1b09b7e8', 'sha256:85d1ef2cdafd5507c4221d201aaf62fc9276f8b0f71bd3933363e62a33abc734'}), extras=(), abstract_dep=None, _line_instance=<Line (editable=False, name=pillow, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===6.0.0, pyproject=None, pyproject_requires=None, pyproject_backend=None, ireq=pillow==6.0.0)>, _ireq=None), Requirement(_name='python-dateutil', vcs=None, req=NamedRequirement(name='python-dateutil', version='==2.8.0', req=Requirement.parse('python-dateutil==2.8.0; python_version >= "2.7"'), extras=[], editable=False, _parsed_line=<Line (editable=False, name=python-dateutil, path=None, uri=None, extras=(), markers=python_version >= '2.7', vcs=None, specifier===2.8.0, pyproject=None, pyproject_requires=None, pyproject_backend=None, ireq=python-dateutil==2.8.0)>), markers='python_version >= "2.7"', _specifiers='==2.8.0', index=None, editable=False, hashes=frozenset({'sha256:7e6584c74aeed623791615e26efd690f29817a27c73085b78e4bad02493df2fb', 'sha256:c89805f6f4d64db21ed966fda138f8a5ed7a4fdbc1a8ee329ce1b74e3c74da9e'}), extras=(), abstract_dep=None, _line_instance=<Line (editable=False, name=python-dateutil, path=None, uri=None, extras=(), markers=python_version >= '2.7', vcs=None, specifier===2.8.0, pyproject=None, pyproject_requires=None, pyproject_backend=None, ireq=python-dateutil==2.8.0)>, _ireq=None), Requirement(_name='s3transfer', vcs=None, req=NamedRequirement(name='s3transfer', version='==0.2.0', req=Requirement.parse('s3transfer==0.2.0'), extras=[], editable=False, _parsed_line=<Line (editable=False, name=s3transfer, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===0.2.0, pyproject=None, pyproject_requires=None, pyproject_backend=None, ireq=s3transfer==0.2.0)>), markers=None, _specifiers='==0.2.0', index=None, editable=False, hashes=frozenset({'sha256:f23d5cb7d862b104401d9021fc82e5fa0e0cf57b7660a1331425aab0c691d021', 'sha256:7b9ad3213bff7d357f888e0fab5101b56fa1a0548ee77d121c3a3dbfbef4cb2e'}), extras=(), abstract_dep=None, _line_instance=<Line (editable=False, name=s3transfer, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===0.2.0, pyproject=None, pyproject_requires=None, pyproject_backend=None, ireq=s3transfer==0.2.0)>, _ireq=None), Requirement(_name='six', vcs=None, req=NamedRequirement(name='six', version='==1.12.0', req=Requirement.parse('six==1.12.0'), extras=[], editable=False, _parsed_line=<Line (editable=False, name=six, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===1.12.0, pyproject=None, pyproject_requires=None, pyproject_backend=None, ireq=six==1.12.0)>), markers=None, _specifiers='==1.12.0', index=None, editable=False, hashes=frozenset({'sha256:3350809f0555b11f552448330d0b52d5f24c91a322ea4a15ef22629740f3761c', 'sha256:d16a0141ec1a18405cd4ce8b4613101da75da0e9a7aec5bdd4fa804d0e0eba73'}), extras=(), abstract_dep=None, _line_instance=<Line (editable=False, name=six, path=None, uri=None, extras=(), markers=None, vcs=None, specifier===1.12.0, pyproject=None, pyproject_requires=None, pyproject_backend=None, ireq=six==1.12.0)>, _ireq=None), Requirement(_name='urllib3', vcs=None, req=NamedRequirement(name='urllib3', version='==1.24.2', req=Requirement.parse('urllib3==1.24.2; python_version >= "3.4"'), extras=[], editable=False, _parsed_line=<Line (editable=False, name=urllib3, path=None, uri=None, extras=(), markers=python_version >= '3.4', vcs=None, specifier===1.24.2, pyproject=None, pyproject_requires=None, pyproject_backend=None, ireq=urllib3==1.24.2)>), markers='python_version >= "3.4"', _specifiers='==1.24.2', index=None, editable=False, hashes=frozenset({'sha256:9a247273df709c4fedb38c711e44292304f73f39ab01beda9f6b9fc375669ac3', 'sha256:4c291ca23bbb55c76518905869ef34bdd5f0e46af7afe6861e8375643ffee1a0'}), extras=(), abstract_dep=None, _line_instance=<Line (editable=False, name=urllib3, path=None, uri=None, extras=(), markers=python_version >= '3.4', vcs=None, specifier===1.24.2, pyproject=None, pyproject_requires=None, pyproject_backend=None, ireq=urllib3==1.24.2)>, _ireq=None)]
It happened the same with new instances using Ubuntu 18 and 20.
Mm, it seems that distutils is missing. Perhaps give this a shot:
sudo apt install python3-distutils
Thank you for your answer. In another newly created instance, I'm getting:
sudo apt install python3-distutils
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-distutils is already the newest version (3.10.4-0ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
It appears similar to this problem: pypa/get-pip#124. Likely it can be fixed by installing for python3.7 specifically python3.7-distutils
but it seems like that is not available from apt anymore. You could try to bump the python version of this project to 3.10 (in the Pipfile) and hope that nothing breaks.
We should probally migrate to 3.10 soon
I got the same error trying:
sudo apt install software-properties-common git python3-distutils
sudo add-apt-repository ppa:deadsnakes
sudo apt update
sudo apt install python3.10 python3.10-dev python3-pip python3.10-distutils
pip3 install --user --upgrade pipenv
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
git clone https://github.com/svsticky/pxl.git
cd pxl
vim Pipfile # using 3.10
pipenv sync
Ugh, I can't reproduce this issue because I get another Pipenv error all together. I've already stopped using Pipenv for my own projects because it breaks so often. I hope we can ditch it in the future. You can monkey patch it by creating a requirements.txt
file listing all the dependencies from the pipfile and manually installing them using pip3 install -r requirements.txt
(preferrably in your virtual environment).
I tried, but it didn't work for me. I'd like to have a Dockerfile or a branch using it as a simple Python code.
I know now to avoid projects using pipenv. Unfortunately, is full of issues.
By the way, did you follow the instructions at https://pxl-docs.svsticky.nl/installation/?
Yes, I did.
I'd like to know what the changes are using a requirements.txt
file.
I installed it using pyenv first, using pyenv local 3.7
, on Manjaro. Everything worked flawlessly then.