Skip to content

Instantly share code, notes, and snippets.

@fjsj
Created December 24, 2019 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fjsj/31ea05e5d02e4948293cc3b2f8c922fe to your computer and use it in GitHub Desktop.
Save fjsj/31ea05e5d02e4948293cc3b2f8c922fe to your computer and use it in GitHub Desktop.
fjsj:~/w/dedupe-3.8.1$ pyenv install 3.8.1
python-build: use openssl@1.1 from homebrew
python-build: use readline from homebrew
Downloading Python-3.8.1.tar.xz...
-> https://www.python.org/ftp/python/3.8.1/Python-3.8.1.tar.xz
Installing Python-3.8.1...
python-build: use readline from homebrew
python-build: use zlib from xcode sdk
Installed Python-3.8.1 to /Users/fjsj/.pyenv/versions/3.8.1
fjsj:~/w/dedupe-3.8.1$ pyenv local 3.8.1
fjsj:~/w/dedupe-3.8.1$ python -m venv venv
fjsj:~/w/dedupe-3.8.1$ source venv/bin/activate.fish
(venv) fjsj:~/w/dedupe-3.8.1$ pip install dedupe
Collecting dedupe
Downloading https://files.pythonhosted.org/packages/4b/a1/621cdca159d283c4cc5c63bae0f8ea7c81a52a89cd50288e253000044ac1/dedupe-1.9.9.tar.gz (59kB)
|████████████████████████████████| 61kB 265kB/s
Collecting fastcluster (from dedupe)
Downloading https://files.pythonhosted.org/packages/ff/f4/20a1578c09236272e16e650afd53841bd86dd57fea0f15e6d3a5e66f14be/fastcluster-1.1.25.tar.gz (166kB)
|████████████████████████████████| 174kB 468kB/s
Collecting dedupe-hcluster (from dedupe)
Using cached https://files.pythonhosted.org/packages/66/d1/4d04530d130a6a99e1d335a36065736ecbfbc6dd145b46414d7326a248a5/dedupe-hcluster-0.3.6.tar.gz
Installing build dependencies ... done
Getting requirements to build wheel ... error
ERROR: Command errored out with exit status 1:
command: /Users/fjsj/workspace/dedupe-3.8.1/venv/bin/python /Users/fjsj/workspace/dedupe-3.8.1/venv/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /var/folders/nw/s6lx123n073bp6_2r0vz9zcw0000gp/T/tmpfph1ynf9
cwd: /private/var/folders/nw/s6lx123n073bp6_2r0vz9zcw0000gp/T/pip-install-asrjl0ws/dedupe-hcluster
Complete output (18 lines):
Traceback (most recent call last):
File "/Users/fjsj/workspace/dedupe-3.8.1/venv/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py", line 207, in <module>
main()
File "/Users/fjsj/workspace/dedupe-3.8.1/venv/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py", line 197, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/Users/fjsj/workspace/dedupe-3.8.1/venv/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py", line 54, in get_requires_for_build_wheel
return hook(config_settings)
File "/private/var/folders/nw/s6lx123n073bp6_2r0vz9zcw0000gp/T/pip-build-env-b04_mbu3/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 146, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "/private/var/folders/nw/s6lx123n073bp6_2r0vz9zcw0000gp/T/pip-build-env-b04_mbu3/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 127, in _get_build_requires
self.run_setup()
File "/private/var/folders/nw/s6lx123n073bp6_2r0vz9zcw0000gp/T/pip-build-env-b04_mbu3/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 236, in run_setup
super(_BuildMetaLegacyBackend,
File "/private/var/folders/nw/s6lx123n073bp6_2r0vz9zcw0000gp/T/pip-build-env-b04_mbu3/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 142, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 3, in <module>
import numpy
ModuleNotFoundError: No module named 'numpy'
----------------------------------------
ERROR: Command errored out with exit status 1: /Users/fjsj/workspace/dedupe-3.8.1/venv/bin/python /Users/fjsj/workspace/dedupe-3.8.1/venv/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /var/folders/nw/s6lx123n073bp6_2r0vz9zcw0000gp/T/tmpfph1ynf9 Check the logs for full command output.
WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
(venv) fjsj:~/w/dedupe-3.8.1$ pip install numpy
Collecting numpy
Downloading https://files.pythonhosted.org/packages/85/7c/a870abc411a46b90b3c38b1e609e3bdae97fc87bc4c7e49dc3ac98df36d1/numpy-1.18.0-cp38-cp38-macosx_10_9_x86_64.whl (15.2MB)
|████████████████████████████████| 15.2MB 1.5MB/s
Installing collected packages: numpy
Successfully installed numpy-1.18.0
WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
(venv) fjsj:~/w/dedupe-3.8.1$ pip install dedupe
Collecting dedupe
Using cached https://files.pythonhosted.org/packages/4b/a1/621cdca159d283c4cc5c63bae0f8ea7c81a52a89cd50288e253000044ac1/dedupe-1.9.9.tar.gz
Collecting fastcluster (from dedupe)
Using cached https://files.pythonhosted.org/packages/ff/f4/20a1578c09236272e16e650afd53841bd86dd57fea0f15e6d3a5e66f14be/fastcluster-1.1.25.tar.gz
Collecting dedupe-hcluster (from dedupe)
Using cached https://files.pythonhosted.org/packages/66/d1/4d04530d130a6a99e1d335a36065736ecbfbc6dd145b46414d7326a248a5/dedupe-hcluster-0.3.6.tar.gz
Installing build dependencies ... done
Getting requirements to build wheel ... error
ERROR: Command errored out with exit status 1:
command: /Users/fjsj/workspace/dedupe-3.8.1/venv/bin/python /Users/fjsj/workspace/dedupe-3.8.1/venv/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /var/folders/nw/s6lx123n073bp6_2r0vz9zcw0000gp/T/tmp0ir5ghcr
cwd: /private/var/folders/nw/s6lx123n073bp6_2r0vz9zcw0000gp/T/pip-install-ffifargy/dedupe-hcluster
Complete output (18 lines):
Traceback (most recent call last):
File "/Users/fjsj/workspace/dedupe-3.8.1/venv/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py", line 207, in <module>
main()
File "/Users/fjsj/workspace/dedupe-3.8.1/venv/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py", line 197, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/Users/fjsj/workspace/dedupe-3.8.1/venv/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py", line 54, in get_requires_for_build_wheel
return hook(config_settings)
File "/private/var/folders/nw/s6lx123n073bp6_2r0vz9zcw0000gp/T/pip-build-env-o_0_i92j/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 146, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "/private/var/folders/nw/s6lx123n073bp6_2r0vz9zcw0000gp/T/pip-build-env-o_0_i92j/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 127, in _get_build_requires
self.run_setup()
File "/private/var/folders/nw/s6lx123n073bp6_2r0vz9zcw0000gp/T/pip-build-env-o_0_i92j/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 236, in run_setup
super(_BuildMetaLegacyBackend,
File "/private/var/folders/nw/s6lx123n073bp6_2r0vz9zcw0000gp/T/pip-build-env-o_0_i92j/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 142, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 3, in <module>
import numpy
ModuleNotFoundError: No module named 'numpy'
----------------------------------------
ERROR: Command errored out with exit status 1: /Users/fjsj/workspace/dedupe-3.8.1/venv/bin/python /Users/fjsj/workspace/dedupe-3.8.1/venv/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /var/folders/nw/s6lx123n073bp6_2r0vz9zcw0000gp/T/tmp0ir5ghcr Check the logs for full command output.
WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment