You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cannot get string_grouper to work in jupyter notebook as it is not building the sparse_dot_topn module, wondering if anyone could help?
`Collecting string-grouper
Using cached string_grouper-0.5.0-py3-none-any.whl (20 kB)
Requirement already satisfied: scikit-learn in /opt/conda/lib/python3.9/site-packages (from string-grouper) (0.24.2)
Collecting sparse-dot-topn>=0.3.1
Using cached sparse_dot_topn-0.3.1.tar.gz (17 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing wheel metadata ... done
Requirement already satisfied: pandas>=0.25.3 in /opt/conda/lib/python3.9/site-packages (from string-grouper) (1.3.2)
Requirement already satisfied: numpy in /opt/conda/lib/python3.9/site-packages (from string-grouper) (1.20.3)
Requirement already satisfied: scipy in /opt/conda/lib/python3.9/site-packages (from string-grouper) (1.7.1)
Requirement already satisfied: python-dateutil>=2.7.3 in /opt/conda/lib/python3.9/site-packages (from pandas>=0.25.3->string-grouper) (2.8.2)
Requirement already satisfied: pytz>=2017.3 in /opt/conda/lib/python3.9/site-packages (from pandas>=0.25.3->string-grouper) (2021.1)
Requirement already satisfied: six>=1.5 in /opt/conda/lib/python3.9/site-packages (from python-dateutil>=2.7.3->pandas>=0.25.3->string-grouper) (1.16.0)
Requirement already satisfied: cython>=0.29.15 in /opt/conda/lib/python3.9/site-packages (from sparse-dot-topn>=0.3.1->string-grouper) (0.29.24)
Requirement already satisfied: setuptools>=42 in /opt/conda/lib/python3.9/site-packages (from sparse-dot-topn>=0.3.1->string-grouper) (57.4.0)
Requirement already satisfied: joblib>=0.11 in /opt/conda/lib/python3.9/site-packages (from scikit-learn->string-grouper) (1.0.1)
Requirement already satisfied: threadpoolctl>=2.0.0 in /opt/conda/lib/python3.9/site-packages (from scikit-learn->string-grouper) (2.2.0)
Building wheels for collected packages: sparse-dot-topn
Building wheel for sparse-dot-topn (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /opt/conda/bin/python3.9 /opt/conda/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmpi5pog1_w
cwd: /tmp/pip-install-z5tecldu/sparse-dot-topn_829b4cf792fa4587a955c95bc64c1bbb
Complete output (38 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.9
creating build/lib.linux-x86_64-3.9/sparse_dot_topn
copying sparse_dot_topn/awesome_cossim_topn.py -> build/lib.linux-x86_64-3.9/sparse_dot_topn
copying sparse_dot_topn/init.py -> build/lib.linux-x86_64-3.9/sparse_dot_topn
running egg_info
writing sparse_dot_topn.egg-info/PKG-INFO
writing dependency_links to sparse_dot_topn.egg-info/dependency_links.txt
writing requirements to sparse_dot_topn.egg-info/requires.txt
writing top-level names to sparse_dot_topn.egg-info/top_level.txt
reading manifest file 'sparse_dot_topn.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'sparse_dot_topn.egg-info/SOURCES.txt'
copying sparse_dot_topn/array_wrappers.pxd -> build/lib.linux-x86_64-3.9/sparse_dot_topn
copying sparse_dot_topn/array_wrappers.pyx -> build/lib.linux-x86_64-3.9/sparse_dot_topn
copying sparse_dot_topn/sparse_dot_topn.pyx -> build/lib.linux-x86_64-3.9/sparse_dot_topn
copying sparse_dot_topn/sparse_dot_topn_parallel.h -> build/lib.linux-x86_64-3.9/sparse_dot_topn
copying sparse_dot_topn/sparse_dot_topn_source.h -> build/lib.linux-x86_64-3.9/sparse_dot_topn
copying sparse_dot_topn/sparse_dot_topn_threaded.pyx -> build/lib.linux-x86_64-3.9/sparse_dot_topn
running build_ext
cythoning ./sparse_dot_topn/array_wrappers.pyx to ./sparse_dot_topn/array_wrappers.cpp
/tmp/pip-build-env-93__ikic/normal/lib/python3.9/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-install-z5tecldu/sparse-dot-topn_829b4cf792fa4587a955c95bc64c1bbb/sparse_dot_topn/array_wrappers.pxd
tree = Parsing.p_module(s, pxd, full_module_name)
cythoning ./sparse_dot_topn/sparse_dot_topn.pyx to ./sparse_dot_topn/sparse_dot_topn.cpp
/tmp/pip-build-env-93__ikic/normal/lib/python3.9/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-install-z5tecldu/sparse-dot-topn_829b4cf792fa4587a955c95bc64c1bbb/sparse_dot_topn/sparse_dot_topn.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
cythoning ./sparse_dot_topn/sparse_dot_topn_threaded.pyx to ./sparse_dot_topn/sparse_dot_topn_threaded.cpp
/tmp/pip-build-env-93__ikic/normal/lib/python3.9/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-install-z5tecldu/sparse-dot-topn_829b4cf792fa4587a955c95bc64c1bbb/sparse_dot_topn/sparse_dot_topn_threaded.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
building 'sparse_dot_topn.array_wrappers' extension
creating build/temp.linux-x86_64-3.9
creating build/temp.linux-x86_64-3.9/sparse_dot_topn
gcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/include/python3.9 -I/tmp/pip-build-env-93__ikic/normal/lib/python3.9/site-packages/numpy/core/include -c ./sparse_dot_topn/array_wrappers.cpp -o build/temp.linux-x86_64-3.9/./sparse_dot_topn/array_wrappers.o -std=c++0x -pthread -O3
error: command 'gcc' failed: No such file or directory
ERROR: Failed building wheel for sparse-dot-topn
Failed to build sparse-dot-topn
ERROR: Could not build wheels for sparse-dot-topn which use PEP 517 and cannot be installed directly`
The text was updated successfully, but these errors were encountered:
I cannot get string_grouper to work in jupyter notebook as it is not building the sparse_dot_topn module, wondering if anyone could help?
`Collecting string-grouper
Using cached string_grouper-0.5.0-py3-none-any.whl (20 kB)
Requirement already satisfied: scikit-learn in /opt/conda/lib/python3.9/site-packages (from string-grouper) (0.24.2)
Collecting sparse-dot-topn>=0.3.1
Using cached sparse_dot_topn-0.3.1.tar.gz (17 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing wheel metadata ... done
Requirement already satisfied: pandas>=0.25.3 in /opt/conda/lib/python3.9/site-packages (from string-grouper) (1.3.2)
Requirement already satisfied: numpy in /opt/conda/lib/python3.9/site-packages (from string-grouper) (1.20.3)
Requirement already satisfied: scipy in /opt/conda/lib/python3.9/site-packages (from string-grouper) (1.7.1)
Requirement already satisfied: python-dateutil>=2.7.3 in /opt/conda/lib/python3.9/site-packages (from pandas>=0.25.3->string-grouper) (2.8.2)
Requirement already satisfied: pytz>=2017.3 in /opt/conda/lib/python3.9/site-packages (from pandas>=0.25.3->string-grouper) (2021.1)
Requirement already satisfied: six>=1.5 in /opt/conda/lib/python3.9/site-packages (from python-dateutil>=2.7.3->pandas>=0.25.3->string-grouper) (1.16.0)
Requirement already satisfied: cython>=0.29.15 in /opt/conda/lib/python3.9/site-packages (from sparse-dot-topn>=0.3.1->string-grouper) (0.29.24)
Requirement already satisfied: setuptools>=42 in /opt/conda/lib/python3.9/site-packages (from sparse-dot-topn>=0.3.1->string-grouper) (57.4.0)
Requirement already satisfied: joblib>=0.11 in /opt/conda/lib/python3.9/site-packages (from scikit-learn->string-grouper) (1.0.1)
Requirement already satisfied: threadpoolctl>=2.0.0 in /opt/conda/lib/python3.9/site-packages (from scikit-learn->string-grouper) (2.2.0)
Building wheels for collected packages: sparse-dot-topn
Building wheel for sparse-dot-topn (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /opt/conda/bin/python3.9 /opt/conda/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmpi5pog1_w
cwd: /tmp/pip-install-z5tecldu/sparse-dot-topn_829b4cf792fa4587a955c95bc64c1bbb
Complete output (38 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.9
creating build/lib.linux-x86_64-3.9/sparse_dot_topn
copying sparse_dot_topn/awesome_cossim_topn.py -> build/lib.linux-x86_64-3.9/sparse_dot_topn
copying sparse_dot_topn/init.py -> build/lib.linux-x86_64-3.9/sparse_dot_topn
running egg_info
writing sparse_dot_topn.egg-info/PKG-INFO
writing dependency_links to sparse_dot_topn.egg-info/dependency_links.txt
writing requirements to sparse_dot_topn.egg-info/requires.txt
writing top-level names to sparse_dot_topn.egg-info/top_level.txt
reading manifest file 'sparse_dot_topn.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'sparse_dot_topn.egg-info/SOURCES.txt'
copying sparse_dot_topn/array_wrappers.pxd -> build/lib.linux-x86_64-3.9/sparse_dot_topn
copying sparse_dot_topn/array_wrappers.pyx -> build/lib.linux-x86_64-3.9/sparse_dot_topn
copying sparse_dot_topn/sparse_dot_topn.pyx -> build/lib.linux-x86_64-3.9/sparse_dot_topn
copying sparse_dot_topn/sparse_dot_topn_parallel.h -> build/lib.linux-x86_64-3.9/sparse_dot_topn
copying sparse_dot_topn/sparse_dot_topn_source.h -> build/lib.linux-x86_64-3.9/sparse_dot_topn
copying sparse_dot_topn/sparse_dot_topn_threaded.pyx -> build/lib.linux-x86_64-3.9/sparse_dot_topn
running build_ext
cythoning ./sparse_dot_topn/array_wrappers.pyx to ./sparse_dot_topn/array_wrappers.cpp
/tmp/pip-build-env-93__ikic/normal/lib/python3.9/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-install-z5tecldu/sparse-dot-topn_829b4cf792fa4587a955c95bc64c1bbb/sparse_dot_topn/array_wrappers.pxd
tree = Parsing.p_module(s, pxd, full_module_name)
cythoning ./sparse_dot_topn/sparse_dot_topn.pyx to ./sparse_dot_topn/sparse_dot_topn.cpp
/tmp/pip-build-env-93__ikic/normal/lib/python3.9/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-install-z5tecldu/sparse-dot-topn_829b4cf792fa4587a955c95bc64c1bbb/sparse_dot_topn/sparse_dot_topn.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
cythoning ./sparse_dot_topn/sparse_dot_topn_threaded.pyx to ./sparse_dot_topn/sparse_dot_topn_threaded.cpp
/tmp/pip-build-env-93__ikic/normal/lib/python3.9/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-install-z5tecldu/sparse-dot-topn_829b4cf792fa4587a955c95bc64c1bbb/sparse_dot_topn/sparse_dot_topn_threaded.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
building 'sparse_dot_topn.array_wrappers' extension
creating build/temp.linux-x86_64-3.9
creating build/temp.linux-x86_64-3.9/sparse_dot_topn
gcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/include/python3.9 -I/tmp/pip-build-env-93__ikic/normal/lib/python3.9/site-packages/numpy/core/include -c ./sparse_dot_topn/array_wrappers.cpp -o build/temp.linux-x86_64-3.9/./sparse_dot_topn/array_wrappers.o -std=c++0x -pthread -O3
error: command 'gcc' failed: No such file or directory
ERROR: Failed building wheel for sparse-dot-topn
Failed to build sparse-dot-topn
ERROR: Could not build wheels for sparse-dot-topn which use PEP 517 and cannot be installed directly`
The text was updated successfully, but these errors were encountered: