Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Installation error on mac OS using pip install fasttext command #1111

Closed
akkefa opened this issue Aug 6, 2020 · 8 comments
Closed

Installation error on mac OS using pip install fasttext command #1111

akkefa opened this issue Aug 6, 2020 · 8 comments

Comments

@akkefa
Copy link

akkefa commented Aug 6, 2020

My system info:

platform: Darwin-19.6.0-x86_64-i386-64bit
'python_version': '3.7.3'

Using this command

pip install fasttext

Error

Collecting fasttext
Using cached fasttext-0.9.2.tar.gz (68 kB)
Requirement already satisfied: pybind11>=2.2 in /Users/ikram/.pyenv/versions/3.6.6/envs/kayak3.6/lib/python3.6/site-packages (from fasttext) (2.5.0)
Requirement already satisfied: setuptools>=0.7.0 in /Users/ikram/.pyenv/versions/3.6.6/envs/kayak3.6/lib/python3.6/site-packages (from fasttext) (49.2.0)
Requirement already satisfied: numpy in /Users/ikram/.pyenv/versions/3.6.6/envs/kayak3.6/lib/python3.6/site-packages (from fasttext) (1.18.1)
Building wheels for collected packages: fasttext
Building wheel for fasttext (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /Users/ikram/.pyenv/versions/3.6.6/envs/kayak3.6/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/y3/zc4_rg517ns0r9z7153y2mxw0000gp/T/pip-install-wzhphwhe/fasttext/setup.py'"'"'; file='"'"'/private/var/folders/y3/zc4_rg517ns0r9z7153y2mxw0000gp/T/pip-install-wzhphwhe/fasttext/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/y3/zc4_rg517ns0r9z7153y2mxw0000gp/T/pip-wheel-50cv8ic_
cwd: /private/var/folders/y3/zc4_rg517ns0r9z7153y2mxw0000gp/T/pip-install-wzhphwhe/fasttext/
Complete output (104 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.14-x86_64-3.6
creating build/lib.macosx-10.14-x86_64-3.6/fasttext
copying python/fasttext_module/fasttext/init.py -> build/lib.macosx-10.14-x86_64-3.6/fasttext
copying python/fasttext_module/fasttext/FastText.py -> build/lib.macosx-10.14-x86_64-3.6/fasttext
creating build/lib.macosx-10.14-x86_64-3.6/fasttext/util
copying python/fasttext_module/fasttext/util/util.py -> build/lib.macosx-10.14-x86_64-3.6/fasttext/util
copying python/fasttext_module/fasttext/util/init.py -> build/lib.macosx-10.14-x86_64-3.6/fasttext/util
creating build/lib.macosx-10.14-x86_64-3.6/fasttext/tests
copying python/fasttext_module/fasttext/tests/test_script.py -> build/lib.macosx-10.14-x86_64-3.6/fasttext/tests
copying python/fasttext_module/fasttext/tests/init.py -> build/lib.macosx-10.14-x86_64-3.6/fasttext/tests
copying python/fasttext_module/fasttext/tests/test_configurations.py -> build/lib.macosx-10.14-x86_64-3.6/fasttext/tests
running build_ext
creating var
creating var/folders
creating var/folders/y3
creating var/folders/y3/zc4_rg517ns0r9z7153y2mxw0000gp
creating var/folders/y3/zc4_rg517ns0r9z7153y2mxw0000gp/T
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include -I/Users/ikram/.pyenv/versions/3.6.6/envs/kayak3.6/include -I/Users/ikram/.pyenv/versions/3.6.6/include/python3.6m -c /var/folders/y3/zc4_rg517ns0r9z7153y2mxw0000gp/T/tmpr76fs2h4.cpp -o var/folders/y3/zc4_rg517ns0r9z7153y2mxw0000gp/T/tmpr76fs2h4.o -stdlib=libc++
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include -I/Users/ikram/.pyenv/versions/3.6.6/envs/kayak3.6/include -I/Users/ikram/.pyenv/versions/3.6.6/include/python3.6m -c /var/folders/y3/zc4_rg517ns0r9z7153y2mxw0000gp/T/tmpsmb2cc35.cpp -o var/folders/y3/zc4_rg517ns0r9z7153y2mxw0000gp/T/tmpsmb2cc35.o -std=c++14
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include -I/Users/ikram/.pyenv/versions/3.6.6/envs/kayak3.6/include -I/Users/ikram/.pyenv/versions/3.6.6/include/python3.6m -c /var/folders/y3/zc4_rg517ns0r9z7153y2mxw0000gp/T/tmpos2gyluv.cpp -o var/folders/y3/zc4_rg517ns0r9z7153y2mxw0000gp/T/tmpos2gyluv.o -fvisibility=hidden
building 'fasttext_pybind' extension
creating build/temp.macosx-10.14-x86_64-3.6
creating build/temp.macosx-10.14-x86_64-3.6/python
creating build/temp.macosx-10.14-x86_64-3.6/python/fasttext_module
creating build/temp.macosx-10.14-x86_64-3.6/python/fasttext_module/fasttext
creating build/temp.macosx-10.14-x86_64-3.6/python/fasttext_module/fasttext/pybind
creating build/temp.macosx-10.14-x86_64-3.6/src
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include -I/Users/ikram/.pyenv/versions/3.6.6/envs/kayak3.6/lib/python3.6/site-packages/pybind11/include -I/Users/ikram/.pyenv/versions/3.6.6/envs/kayak3.6/lib/python3.6/site-packages/pybind11/include -Isrc -I/Users/ikram/.pyenv/versions/3.6.6/envs/kayak3.6/include -I/Users/ikram/.pyenv/versions/3.6.6/include/python3.6m -c python/fasttext_module/fasttext/pybind/fasttext_pybind.cc -o build/temp.macosx-10.14-x86_64-3.6/python/fasttext_module/fasttext/pybind/fasttext_pybind.o -stdlib=libc++ -DVERSION_INFO="0.9.2" -std=c++14 -fvisibility=hidden
In file included from python/fasttext_module/fasttext/pybind/fasttext_pybind.cc:9:
In file included from src/args.h:14:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/unordered_set:363:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__hash_table:19:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:314:9: error: no member named 'signbit' in the global namespace
using ::signbit;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:315:9: error: no member named 'fpclassify' in the global namespace
using ::fpclassify;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:316:9: error: no member named 'isfinite' in the global namespace; did you mean 'finite'?
using ::isfinite;
~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/math.h:749:12: note: 'finite' declared here
extern int finite(double)
^
In file included from python/fasttext_module/fasttext/pybind/fasttext_pybind.cc:9:
In file included from src/args.h:14:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/unordered_set:363:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__hash_table:19:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:317:9: error: no member named 'isinf' in the global namespace
using ::isinf;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:318:9: error: no member named 'isnan' in the global namespace
using ::isnan;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:319:9: error: no member named 'isnormal' in the global namespace
using ::isnormal;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:320:7: error: no member named 'isgreater' in the global namespace; did you mean '::std::greater'?
using ::isgreater;
^~
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/functional:728:29: note: '::std::greater' declared here
struct _LIBCPP_TEMPLATE_VIS greater : binary_function<_Tp, _Tp, bool>
^
In file included from python/fasttext_module/fasttext/pybind/fasttext_pybind.cc:9:
In file included from src/args.h:14:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/unordered_set:363:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__hash_table:19:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:321:7: error: no member named 'isgreaterequal' in the global namespace; did you mean '::std::greater_equal'?
using ::isgreaterequal;
^~
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/functional:757:29: note: '::std::greater_equal' declared here
struct _LIBCPP_TEMPLATE_VIS greater_equal : binary_function<_Tp, _Tp, bool>
^
In file included from python/fasttext_module/fasttext/pybind/fasttext_pybind.cc:9:
In file included from src/args.h:14:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/unordered_set:363:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__hash_table:19:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:322:9: error: no member named 'isless' in the global namespace
using ::isless;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:323:9: error: no member named 'islessequal' in the global namespace
using ::islessequal;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:324:9: error: no member named 'islessgreater' in the global namespace
using ::islessgreater;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:325:9: error: no member named 'isunordered' in the global namespace
using ::isunordered;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:326:9: error: no member named 'isunordered' in the global namespace
using ::isunordered;
~~^
python/fasttext_module/fasttext/pybind/fasttext_pybind.cc:345:35: warning: comparison of integers of different signs: 'int32_t' (aka 'int') and 'std::__1::vector<long long, std::__1::allocator >::size_type' (aka 'unsigned long') [-Wsign-compare]
for (int32_t i = 0; i < vocab_freq.size(); i++) {
~ ^ ~~~~~~~~~~~~~~~~~
python/fasttext_module/fasttext/pybind/fasttext_pybind.cc:359:35: warning: comparison of integers of different signs: 'int32_t' (aka 'int') and 'std::__1::vector<long long, std::__1::allocator >::size_type' (aka 'unsigned long') [-Wsign-compare]
for (int32_t i = 0; i < labels_freq.size(); i++) {
~ ^ ~~~~~~~~~~~~~~~~~~
2 warnings and 13 errors generated.
error: command 'clang' failed with exit status 1

ERROR: Failed building wheel for fasttext
Running setup.py clean for fasttext
Failed to build fasttext
DEPRECATION: Could not build wheels for fasttext which do not use PEP 517. pip will fall back to legacy 'setup.py install' for these. pip 21.0 will remove support for this functionality. A possible replacement is to fix the wheel build issue reported above. You can find discussion regarding this at pypa/pip#8368.
Installing collected packages: fasttext
Running setup.py install for fasttext ... error
ERROR: Command errored out with exit status 1:
command: /Users/ikram/.pyenv/versions/3.6.6/envs/kayak3.6/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/y3/zc4_rg517ns0r9z7153y2mxw0000gp/T/pip-install-wzhphwhe/fasttext/setup.py'"'"'; file='"'"'/private/var/folders/y3/zc4_rg517ns0r9z7153y2mxw0000gp/T/pip-install-wzhphwhe/fasttext/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/y3/zc4_rg517ns0r9z7153y2mxw0000gp/T/pip-record-l4a25b_4/install-record.txt --single-version-externally-managed --compile --install-headers /Users/ikram/.pyenv/versions/3.6.6/envs/kayak3.6/include/site/python3.6/fasttext
cwd: /private/var/folders/y3/zc4_rg517ns0r9z7153y2mxw0000gp/T/pip-install-wzhphwhe/fasttext/
Complete output (99 lines):
running install
running build
running build_py
creating build
creating build/lib.macosx-10.14-x86_64-3.6
creating build/lib.macosx-10.14-x86_64-3.6/fasttext
copying python/fasttext_module/fasttext/init.py -> build/lib.macosx-10.14-x86_64-3.6/fasttext
copying python/fasttext_module/fasttext/FastText.py -> build/lib.macosx-10.14-x86_64-3.6/fasttext
creating build/lib.macosx-10.14-x86_64-3.6/fasttext/util
copying python/fasttext_module/fasttext/util/util.py -> build/lib.macosx-10.14-x86_64-3.6/fasttext/util
copying python/fasttext_module/fasttext/util/init.py -> build/lib.macosx-10.14-x86_64-3.6/fasttext/util
creating build/lib.macosx-10.14-x86_64-3.6/fasttext/tests
copying python/fasttext_module/fasttext/tests/test_script.py -> build/lib.macosx-10.14-x86_64-3.6/fasttext/tests
copying python/fasttext_module/fasttext/tests/init.py -> build/lib.macosx-10.14-x86_64-3.6/fasttext/tests
copying python/fasttext_module/fasttext/tests/test_configurations.py -> build/lib.macosx-10.14-x86_64-3.6/fasttext/tests
running build_ext
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include -I/Users/ikram/.pyenv/versions/3.6.6/envs/kayak3.6/include -I/Users/ikram/.pyenv/versions/3.6.6/include/python3.6m -c /var/folders/y3/zc4_rg517ns0r9z7153y2mxw0000gp/T/tmptedqolwn.cpp -o var/folders/y3/zc4_rg517ns0r9z7153y2mxw0000gp/T/tmptedqolwn.o -stdlib=libc++
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include -I/Users/ikram/.pyenv/versions/3.6.6/envs/kayak3.6/include -I/Users/ikram/.pyenv/versions/3.6.6/include/python3.6m -c /var/folders/y3/zc4_rg517ns0r9z7153y2mxw0000gp/T/tmp05ez09b8.cpp -o var/folders/y3/zc4_rg517ns0r9z7153y2mxw0000gp/T/tmp05ez09b8.o -std=c++14
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include -I/Users/ikram/.pyenv/versions/3.6.6/envs/kayak3.6/include -I/Users/ikram/.pyenv/versions/3.6.6/include/python3.6m -c /var/folders/y3/zc4_rg517ns0r9z7153y2mxw0000gp/T/tmpt2aoepgx.cpp -o var/folders/y3/zc4_rg517ns0r9z7153y2mxw0000gp/T/tmpt2aoepgx.o -fvisibility=hidden
building 'fasttext_pybind' extension
creating build/temp.macosx-10.14-x86_64-3.6
creating build/temp.macosx-10.14-x86_64-3.6/python
creating build/temp.macosx-10.14-x86_64-3.6/python/fasttext_module
creating build/temp.macosx-10.14-x86_64-3.6/python/fasttext_module/fasttext
creating build/temp.macosx-10.14-x86_64-3.6/python/fasttext_module/fasttext/pybind
creating build/temp.macosx-10.14-x86_64-3.6/src
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include -I/Users/ikram/.pyenv/versions/3.6.6/envs/kayak3.6/lib/python3.6/site-packages/pybind11/include -I/Users/ikram/.pyenv/versions/3.6.6/envs/kayak3.6/lib/python3.6/site-packages/pybind11/include -Isrc -I/Users/ikram/.pyenv/versions/3.6.6/envs/kayak3.6/include -I/Users/ikram/.pyenv/versions/3.6.6/include/python3.6m -c python/fasttext_module/fasttext/pybind/fasttext_pybind.cc -o build/temp.macosx-10.14-x86_64-3.6/python/fasttext_module/fasttext/pybind/fasttext_pybind.o -stdlib=libc++ -DVERSION_INFO="0.9.2" -std=c++14 -fvisibility=hidden
In file included from python/fasttext_module/fasttext/pybind/fasttext_pybind.cc:9:
In file included from src/args.h:14:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/unordered_set:363:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__hash_table:19:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:314:9: error: no member named 'signbit' in the global namespace
using ::signbit;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:315:9: error: no member named 'fpclassify' in the global namespace
using ::fpclassify;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:316:9: error: no member named 'isfinite' in the global namespace; did you mean 'finite'?
using ::isfinite;
~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/math.h:749:12: note: 'finite' declared here
extern int finite(double)
^
In file included from python/fasttext_module/fasttext/pybind/fasttext_pybind.cc:9:
In file included from src/args.h:14:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/unordered_set:363:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__hash_table:19:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:317:9: error: no member named 'isinf' in the global namespace
using ::isinf;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:318:9: error: no member named 'isnan' in the global namespace
using ::isnan;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:319:9: error: no member named 'isnormal' in the global namespace
using ::isnormal;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:320:7: error: no member named 'isgreater' in the global namespace; did you mean '::std::greater'?
using ::isgreater;
^~
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/functional:728:29: note: '::std::greater' declared here
struct _LIBCPP_TEMPLATE_VIS greater : binary_function<_Tp, _Tp, bool>
^
In file included from python/fasttext_module/fasttext/pybind/fasttext_pybind.cc:9:
In file included from src/args.h:14:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/unordered_set:363:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__hash_table:19:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:321:7: error: no member named 'isgreaterequal' in the global namespace; did you mean '::std::greater_equal'?
using ::isgreaterequal;
^~
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/functional:757:29: note: '::std::greater_equal' declared here
struct _LIBCPP_TEMPLATE_VIS greater_equal : binary_function<_Tp, _Tp, bool>
^
In file included from python/fasttext_module/fasttext/pybind/fasttext_pybind.cc:9:
In file included from src/args.h:14:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/unordered_set:363:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__hash_table:19:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:322:9: error: no member named 'isless' in the global namespace
using ::isless;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:323:9: error: no member named 'islessequal' in the global namespace
using ::islessequal;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:324:9: error: no member named 'islessgreater' in the global namespace
using ::islessgreater;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:325:9: error: no member named 'isunordered' in the global namespace
using ::isunordered;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:326:9: error: no member named 'isunordered' in the global namespace
using ::isunordered;
~~^
python/fasttext_module/fasttext/pybind/fasttext_pybind.cc:345:35: warning: comparison of integers of different signs: 'int32_t' (aka 'int') and 'std::__1::vector<long long, std::__1::allocator >::size_type' (aka 'unsigned long') [-Wsign-compare]
for (int32_t i = 0; i < vocab_freq.size(); i++) {
~ ^ ~~~~~~~~~~~~~~~~~
python/fasttext_module/fasttext/pybind/fasttext_pybind.cc:359:35: warning: comparison of integers of different signs: 'int32_t' (aka 'int') and 'std::__1::vector<long long, std::__1::allocator >::size_type' (aka 'unsigned long') [-Wsign-compare]
for (int32_t i = 0; i < labels_freq.size(); i++) {
~ ^ ~~~~~~~~~~~~~~~~~~
2 warnings and 13 errors generated.
error: command 'clang' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /Users/ikram/.pyenv/versions/3.6.6/envs/kayak3.6/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/y3/zc4_rg517ns0r9z7153y2mxw0000gp/T/pip-install-wzhphwhe/fasttext/setup.py'"'"'; file='"'"'/private/var/folders/y3/zc4_rg517ns0r9z7153y2mxw0000gp/T/pip-install-wzhphwhe/fasttext/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/y3/zc4_rg517ns0r9z7153y2mxw0000gp/T/pip-record-l4a25b_4/install-record.txt --single-version-externally-managed --compile --install-headers /Users/ikram/.pyenv/versions/3.6.6/envs/kayak3.6/include/site/python3.6/fasttext Check the logs for full command output.

@akkefa akkefa closed this as completed Aug 17, 2020
@agmontilla
Copy link

Is there any solution for this? I'm facing the same problem and I don't figure out what it happens ..

@akkefa
Copy link
Author

akkefa commented Sep 15, 2020

@agmontilla Install py3.7.8 using pyenv then this error will solve.

@agmontilla
Copy link

@akkefa Thank you very much for your answer, I`ll give a try it later.

@ydennisy
Copy link

ydennisy commented Nov 4, 2020

@akkefa I am on python 3.7.8 and I am seeing this same issue

@akkefa
Copy link
Author

akkefa commented Nov 5, 2020

@ydennisy You should reinstall the latest 3.7 python using pyenv. It will solve the problem.

@ydennisy
Copy link

@akkefa I am already using pyenv

@mmaybeno
Copy link

@ydennisy try reinstalling your python version using pyenv and try again. I had this issue but I believe it was because the python version compiled/built was using an older version of command line tools. Rebuilt python using the current version of command line tools and then installed fasttext with no problem.

@ydennisy
Copy link

ydennisy commented Dec 15, 2020 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants