Installing Python library in notebook

When i run the command (mentioned in the tutorial)

! pip install bloom-filter -t "/tmp" > /dev/null 2>&1

to install a python library in notebook i get the following error:

/bin/sh: 1: Syntax error: Bad fd number

 

I tried to run the command in Python 3.6 and 2.7. I also tried in Chrome and Firefox with the same error message.

1reply Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • Hi Julian Smidek -  thanks for writing in and apologies for the delayed response.

    You may be running this command within your terminal/shell; you will need to run this command within your Mode python notebook as shown below:

    I hope this answer helps. Please don't hesitate to write into our in-product chat if you have any additional questions.

    Reply Like
Like Follow
  • Status Answered
  • 1 mth agoLast active
  • 1Replies
  • 47Views
  • 2 Following