-
Notifications
You must be signed in to change notification settings - Fork 4.7k
issue of pip install fasttext #1075
Comments
The need of |
RIght @davidefiocco it's in requirement but when user install the fasttext library all the necessary requirement libraries should automatically be downloaded. As far as the above error concerns @zonghui0228 , based on the above log traces there is a network issue seems. I tried to reproduce it but didn't faced any challenges, If you are still facing the same issue I urge you to clean the package first then update the setup tools and try to install it again. Sometimes this issue might be caused by outdated setup tools. Post that if you still facing the issue, please share the steps to reproduce and the OS details where it is happening. Note: It's not a potential bug |
Hi @zonghui0228 and @parulgarg123, This does not work for me. I am using windows. |
Works fine for me ... I remove pybind11 from my requirements.txt and leave the line with fasttest. |
python-poetry/poetry#6113 (comment) :
There is already an open pull request for this: #1270 |
In command line, I input :
pip install fasttext
show following error:
Collecting fasttext
_Downloading https://files.pythonhosted.org/packages/f8/85/e2b368ab6d3528827b147fdb814f8189acc981a4bc2f99ab894650e05c40/fasttext-0.9.2.tar.gz (68kB)
100% |████████████████████████████████| 71kB 331kB/s
Complete output from command python setup.py egg_info:
Collecting pybind11
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f64faa6d6a0>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/pybind11/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f64faa6d7b8>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/pybind11/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f64faa6d898>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/pybind11/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f64faa6d978>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/pybind11/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f64faa6da20>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/pybind11/
Could not find a version that satisfies the requirement pybind11 (from versions: )
No matching distribution found for pybind11
Traceback (most recent call last):
File "/tmp/pip-build-gx0dlpvh/fasttext/setup.py", line 38, in init
import pybind11
ModuleNotFoundError: No module named 'pybind11'
So, I installed pybind11 first
pip install pybind11
and, installed fasttext, it worked.
Installing collected packages: pybind11, setuptools, numpy, fasttext
Successfully installed fasttext-0.9.2 numpy-1.18.4 pybind11-2.5.0 setuptools-46.4.0
The text was updated successfully, but these errors were encountered: