mila-iqia / blocks

A Theano framework for building and training neural networks
Other
1.16k stars 351 forks source link

Installation fails with no such option: --allow-external #1200

Open dzieciou opened 5 years ago

dzieciou commented 5 years ago

I have followed installation instructions from https://blocks.readthedocs.io/en/latest/setup.html but the installation fails with

pip install git+git://github.com/mila-udem/blocks.git@stable -r https://raw.githubusercontent.com/mila-udem/blocks/stable/requirements.txt
Usage: pip [options]

ERROR: Invalid requirement: --allow-external theano
pip: error: no such option: --allow-external

I've run it on on Windows 10 for Python 3.7 and pip 19.1.1 (higher than the required 1.5)

What am I missing?

ossacomu commented 5 years ago

Same here.

Also install master will have following error:

Using cached https://files.pythonhosted.org/packages/9e/b0/47e994b3b370087d388 d2bb9dfc97c7e901b801265ccd1e8e9fd16eda1b8/toolz-0.8.0.tar.gz ERROR: Complete output from command python setup.py egg_info: ERROR: Traceback (most recent call last): File "", line 1, in File "C:\Users\wli\AppData\Local\Temp\pip-install-xig1lsrw\toolz\setup.py" , line 5, in import toolz File "C:\Users\wli\AppData\Local\Temp\pip-install-xig1lsrw\toolz\toolz__i nit.py", line 3, in from .functoolz import * File "C:\Users\wli\AppData\Local\Temp\pip-install-xig1lsrw\toolz\toolz\fun ctoolz.py", line 467 f.name__ for f in reversed((self.first,) + self.funcs), ^ SyntaxError: Generator expression must be parenthesized

Amarkr1 commented 5 years ago

Same issue happened with me. 1) Install fuel. 2) Just clone the git and change the requirement.txt to the include the same numpy version as installed by the fuel. The problem is resolved.

ghost commented 4 years ago

Still having this issue June 2020.

gchhablani commented 3 years ago

Same issue in Oct 2021.

sezar543 commented 1 year ago

Same issue on June 2023