Building forzenlist failed with pip , but not with pip3
0xKarl98 opened this issue · 1 comments
0xKarl98 commented
Overall :
I just encountered with a strange error when building with frozenlist.
Story :
When i build frozenlist with pip (version : 20.2.3 ), it fails with the output :
ERROR: Command errored out with exit status 1:
command: /Users/karlyu/astraly-contracts/env/bin/python3 /Users/karlyu/astraly-contracts/env/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /private/var/folders/th/h_gk355d1kqf0tjp346k4p9m0000gn/T/pip-build-env-a_9637ax/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i http://pypi.douban.com/simple --trusted-host pypi.douban.com -- 'setuptools >= 46.4.0' 'wheel >= 0.37.0'
cwd: None
Complete output (7 lines):
Looking in indexes: http://pypi.douban.com/simple
Collecting setuptools>=46.4.0
Downloading http://pypi.doubanio.com/packages/a4/53/bfc6409447ca024558b8b19d055de94c813c3e32c0296c48a0873a161cf5/setuptools-63.2.0-py3-none-any.whl (1.2 MB)
ERROR: Could not find a version that satisfies the requirement wheel>=0.37.0 (from versions: none)
ERROR: No matching distribution found for wheel>=0.37.0
WARNING: You are using pip version 20.2.3; however, version 22.1.2 is available.
You should consider upgrading via the '/Users/karlyu/astraly-contracts/env/bin/python3 -m pip install --upgrade pip' command.
----------------------------------------
ERROR: Command errored out with exit status 1: /Users/karlyu/astraly-contracts/env/bin/python3 /Users/karlyu/astraly-contracts/env/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /private/var/folders/th/h_gk355d1kqf0tjp346k4p9m0000gn/T/pip-build-env-a_9637ax/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i http://pypi.douban.com/simple --trusted-host pypi.douban.com -- 'setuptools >= 46.4.0' 'wheel >= 0.37.0' Check the logs for full command output.
But it turns out to be successful when i've tried pip3 (with the same version) :
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Building wheels for collected packages: frozenlist
Building wheel for frozenlist (PEP 517) ... done
Created wheel for frozenlist: filename=frozenlist-1.3.0-cp38-cp38-macosx_10_14_x86_64.whl size=61803 sha256=bc9224a5c6a0f27930a948fe202d09d54d85eb0e667dd27c9ee12b50ee6856ed
Stored in directory: /Users/karlyu/Library/Caches/pip/wheels/7b/c6/b2/3844b55dde19374ac3e9a4fe6e8e0600f126a5bec7f349864a
Successfully built frozenlist
webknjaz commented
There's nothing special we do about what can and can't build the project. In fact, I'm pretty sure it's impossible to know what build front-end has been invoked. There's not enough context to guess what's different between pip
and pip3
in your case but they are either configured differently somehow or are running under different interpreter versions or something like that.
Since there's nothing actionable, I'm going to close this.