after i cloned parlai
when i trying to "pip install -r requirements.txt"
i get problem here:
Collecting pyzmq==18.1.0
Using cached pyzmq-18.1.0-0_py38h16f9016-cp38-cp38-win_amd64.whl (17.8 MB)
ERROR: pyzmq has an invalid wheel, multiple .dist-info directories found: pyzmq-18.1.0.dist-info, libsodium-1.0.17.dist-info
by the way: i use python==3.8.2
Looks like you have a bad cache.
assume i understand you correctly, i open requirements.txt file and remove this package, so all other packages installed very well, and i install this package of version pyzmq-18.0.0 , so it's installed correctly, i also try in other python versions , the same
Try pip install --no-cache-dir -r requirements.txt
Unfortunately, the same error pop up
Hmm, I just tried bumping our CI to python 3.8. It installs just fine.
Perhaps try creating a conda environment or a new virtual env.
mkdir ~/venv
virtualenv --python=python3 ~/venv
source ~/venv/bin/activate
cd ~/ParlAI
pip install -r requirements.txt
the issue solved by :
pip install --no-binary=:all: pyzmq==18.1.0
for more information:
https://github.com/pypa/pip/issues/1891
https://pypi.org/project/pyzmq/18.1.0/
https://pypi.org/project/pyzmq/19.0.0/
Glad to hear, thanks for posting the solution!
Most helpful comment
the issue solved by :
pip install --no-binary=:all: pyzmq==18.1.0for more information:
https://github.com/pypa/pip/issues/1891
https://pypi.org/project/pyzmq/18.1.0/
https://pypi.org/project/pyzmq/19.0.0/