-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation errors using Python 3.6 #24
Comments
The pre installed gcc on Mac OS did not work for me too. You can install one with brew:
after that you have to tell pip which compiler to use by setting a flag:
The path |
The solution from @GeorgesAlkhouri almost worked for me, but I also had to specify the C++ compiler path. This worked:
|
Had errors with cysignals $ pip install cysignals Failed building wheel for cysignals
Command "/home/et/anaconda3/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-16kxaadc/cysignals/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-56s6_g5p-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-16kxaadc/cysignals/ Similar errors with fasttext package as well - https://github.com/salestock/fastText.py/issues/161 |
|
Georges solution worked for me. But I spent way too much time before stumbling on this... |
I have error install pyfasttext, pls help me.
This is the error output: https://anotepad.com/notes/xsqqnw |
use
|
When I tried to install pyfasttext using Python 3.6 on mac and I got a long error message; the followings show the last part of the message:
It seems like the error is caused by importing
random
(also give the warning for using the depreciated numpy API). Any hint? Thanks!The text was updated successfully, but these errors were encountered: