Git Product home page Git Product logo

mac-brew-and-jupyter-notebook-problem's Introduction

Mac-brew-and-jupyter-notebook-problem

Records for solving the problem of reinstalling Homebrew and Jupyter notebook, relocate the python interpreter within the terminal and so on

For domestic user only:

#My mac has some problems of using Homebrew, Git and Jupyter Notebook#

First, solve the problem of homebrew. Since the brew command is no more useful, I decided not to uninstall it, just install it straight forward using

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

There's might be a problem of

curl: (7) Failed to connect to raw.githubusercontent.com port 443: Operation

Solution: Dowload this web as brew_install.rb

https://raw.githubusercontent.com/Homebrew/install/master/install

and then

ruby brew_install.rb

DON'T MESS UP WITH YOUR ./~BASH_PROFILE FILE!!!

Sometimes it requires you to replace the download source to domestic source, see the link below

https://www.jianshu.com/p/b97e7738014c

My case is that my mac can only start installing Homebrew using 4G hotspot, I don't understand why.

Second, solve the jupyter notebook problem. My case is that I can only open jupyter using

python3 -m IPython notebook

It will display "Command not found" when using "jupyter notebook"

/bin is the place to store the terminal command, so I add the /bin to system environment variable list, aka ./~bash_profile

sudo vim ./~bash_profile add following line to the profile export PATH=$PATH:/usr/local/Cellar/jupyterlab/2.1.0/bin

source ./~bash_profile

Done

mac-brew-and-jupyter-notebook-problem's People

Contributors

s1e9 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.