blocks icon indicating copy to clipboard operation
blocks copied to clipboard

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

Open dzieciou opened this issue 5 years ago • 5 comments

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?

dzieciou avatar Jun 12 '19 10:06 dzieciou

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 ----------------------------------------

ossacomu avatar Aug 13 '19 21:08 ossacomu

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.

Amarkr1 avatar Oct 16 '19 06:10 Amarkr1

Still having this issue June 2020.

ghost avatar Jun 17 '20 20:06 ghost

Same issue in Oct 2021.

gchhablani avatar Oct 08 '21 13:10 gchhablani

Same issue on June 2023

sezar543 avatar Jun 17 '23 22:06 sezar543