Install glfw on macBrew doctor says: “Warning: /usr/local/include isn't writable.”Find (and kill) process locking port 3000 on MacHow do I install pip on Windows?How do I install pip on macOS or OS X?Python3 Import Error with pycurl Mac OS Xhomebrew not working on OSX'libavformat/avformat.h' file not found #include <libavformat/avformat.h>Installing OPENCV with cmake failing. Python.hMy Idle (idle3) from python installed with homebrew on a mac crasheshomebrew python@2 and python provides broken sqlite3Failed to load the native TensorFlow runtime. when running g2p-seq2seq --version

sytemctl status log output

How can I tell if a flight itinerary is fake

What is the German idiom or expression for when someone is being hypocritical against their own teachings?

Should I take out a personal loan to pay off credit card debt?

Traveling from Germany to other countries by train?

Is it allowed and safe to carry a passenger / non-pilot in the front seat of a small general aviation airplane?

Short story about a teenager who has his brain replaced with a microchip (Psychological Horror)

How do I get the =LEFT function in excel, to also take the number zero as the first number?

Is this cheap "air conditioner" able to cool a room?

Why should I "believe in" weak solutions to PDEs?

What are these mathematical groups in U.S. universities?

Where to pee in London?

Why should public servants be apolitical?

Capacitors with a "/" on schematic

Colleagues speaking another language and it impacts work

Validation and verification of mathematical models

polynomial, find the sum of the inverse roots of this equation.

Purchased new computer from DELL with pre-installed Ubuntu. Won't boot. Should assume its an error from DELL?

Double blind peer review when paper cites author's GitHub repo for code

Japanese equivalent of a brain fart

Why does putting a dot after the URL remove login information?

Need help understanding lens reach

What are these silver stripes on Cosmic Girl for?

Does this smartphone photo show Mars just below the Sun?



Install glfw on mac


Brew doctor says: “Warning: /usr/local/include isn't writable.”Find (and kill) process locking port 3000 on MacHow do I install pip on Windows?How do I install pip on macOS or OS X?Python3 Import Error with pycurl Mac OS Xhomebrew not working on OSX'libavformat/avformat.h' file not found #include <libavformat/avformat.h>Installing OPENCV with cmake failing. Python.hMy Idle (idle3) from python installed with homebrew on a mac crasheshomebrew python@2 and python provides broken sqlite3Failed to load the native TensorFlow runtime. when running g2p-seq2seq --version






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I want to install glfw and want to use glfw with python3 to finish my homework. But there is some matters when install glfw in mac terminal.



First, I input 'pip3 install glfw' in terminal.



Second, in terminal input 'python3' into python 3.x version. and input 'import glfw'. But there gave me an error message



"Traceback (most recent call last):
File "", line 1, in
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/glfw/init.py", line 34, in
raise ImportError("Failed to load GLFW3 shared library.")
ImportError: Failed to load GLFW3 shared library."



Third, I input 'brew install glfw3'. And there was an error message



"Warning: glfw 3.2.1 is already installed, it's just not linked
You can use brew link glfw to link this version.



Forth, I input 'brew link glfw' in terminal, it told me



"Linking /usr/local/Cellar/glfw/3.2.1...
Error: Could not symlink lib/cmake/glfw3
/usr/local/lib/cmake is not writable."



So I don't know how to handling this problem, can anyone help me? Thank you!










share|improve this question
























  • I tried sudo brew link glfw the error message is "Running Homebrew as root is extremely dangerous and no longer supported. As Homebrew does not drop privileges on installation you would be giving all build scripts full access to your system."

    – kw Hyun
    Mar 27 at 6:51











  • yeah, actually the command should be brew link glfw --force

    – l'L'l
    Mar 27 at 8:52

















0















I want to install glfw and want to use glfw with python3 to finish my homework. But there is some matters when install glfw in mac terminal.



First, I input 'pip3 install glfw' in terminal.



Second, in terminal input 'python3' into python 3.x version. and input 'import glfw'. But there gave me an error message



"Traceback (most recent call last):
File "", line 1, in
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/glfw/init.py", line 34, in
raise ImportError("Failed to load GLFW3 shared library.")
ImportError: Failed to load GLFW3 shared library."



Third, I input 'brew install glfw3'. And there was an error message



"Warning: glfw 3.2.1 is already installed, it's just not linked
You can use brew link glfw to link this version.



Forth, I input 'brew link glfw' in terminal, it told me



"Linking /usr/local/Cellar/glfw/3.2.1...
Error: Could not symlink lib/cmake/glfw3
/usr/local/lib/cmake is not writable."



So I don't know how to handling this problem, can anyone help me? Thank you!










share|improve this question
























  • I tried sudo brew link glfw the error message is "Running Homebrew as root is extremely dangerous and no longer supported. As Homebrew does not drop privileges on installation you would be giving all build scripts full access to your system."

    – kw Hyun
    Mar 27 at 6:51











  • yeah, actually the command should be brew link glfw --force

    – l'L'l
    Mar 27 at 8:52













0












0








0








I want to install glfw and want to use glfw with python3 to finish my homework. But there is some matters when install glfw in mac terminal.



First, I input 'pip3 install glfw' in terminal.



Second, in terminal input 'python3' into python 3.x version. and input 'import glfw'. But there gave me an error message



"Traceback (most recent call last):
File "", line 1, in
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/glfw/init.py", line 34, in
raise ImportError("Failed to load GLFW3 shared library.")
ImportError: Failed to load GLFW3 shared library."



Third, I input 'brew install glfw3'. And there was an error message



"Warning: glfw 3.2.1 is already installed, it's just not linked
You can use brew link glfw to link this version.



Forth, I input 'brew link glfw' in terminal, it told me



"Linking /usr/local/Cellar/glfw/3.2.1...
Error: Could not symlink lib/cmake/glfw3
/usr/local/lib/cmake is not writable."



So I don't know how to handling this problem, can anyone help me? Thank you!










share|improve this question














I want to install glfw and want to use glfw with python3 to finish my homework. But there is some matters when install glfw in mac terminal.



First, I input 'pip3 install glfw' in terminal.



Second, in terminal input 'python3' into python 3.x version. and input 'import glfw'. But there gave me an error message



"Traceback (most recent call last):
File "", line 1, in
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/glfw/init.py", line 34, in
raise ImportError("Failed to load GLFW3 shared library.")
ImportError: Failed to load GLFW3 shared library."



Third, I input 'brew install glfw3'. And there was an error message



"Warning: glfw 3.2.1 is already installed, it's just not linked
You can use brew link glfw to link this version.



Forth, I input 'brew link glfw' in terminal, it told me



"Linking /usr/local/Cellar/glfw/3.2.1...
Error: Could not symlink lib/cmake/glfw3
/usr/local/lib/cmake is not writable."



So I don't know how to handling this problem, can anyone help me? Thank you!







python macos terminal install glfw






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 27 at 6:03









kw Hyunkw Hyun

164 bronze badges




164 bronze badges















  • I tried sudo brew link glfw the error message is "Running Homebrew as root is extremely dangerous and no longer supported. As Homebrew does not drop privileges on installation you would be giving all build scripts full access to your system."

    – kw Hyun
    Mar 27 at 6:51











  • yeah, actually the command should be brew link glfw --force

    – l'L'l
    Mar 27 at 8:52

















  • I tried sudo brew link glfw the error message is "Running Homebrew as root is extremely dangerous and no longer supported. As Homebrew does not drop privileges on installation you would be giving all build scripts full access to your system."

    – kw Hyun
    Mar 27 at 6:51











  • yeah, actually the command should be brew link glfw --force

    – l'L'l
    Mar 27 at 8:52
















I tried sudo brew link glfw the error message is "Running Homebrew as root is extremely dangerous and no longer supported. As Homebrew does not drop privileges on installation you would be giving all build scripts full access to your system."

– kw Hyun
Mar 27 at 6:51





I tried sudo brew link glfw the error message is "Running Homebrew as root is extremely dangerous and no longer supported. As Homebrew does not drop privileges on installation you would be giving all build scripts full access to your system."

– kw Hyun
Mar 27 at 6:51













yeah, actually the command should be brew link glfw --force

– l'L'l
Mar 27 at 8:52





yeah, actually the command should be brew link glfw --force

– l'L'l
Mar 27 at 8:52












1 Answer
1






active

oldest

votes


















0














I tried



sudo chown -R $(whoami) $(brew --prefix)/*



in terminal.



I got this command in



Brew doctor says: "Warning: /usr/local/include isn't writable."



But I don't know why that command linked glfw library.






share|improve this answer
























    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55370743%2finstall-glfw-on-mac%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    I tried



    sudo chown -R $(whoami) $(brew --prefix)/*



    in terminal.



    I got this command in



    Brew doctor says: "Warning: /usr/local/include isn't writable."



    But I don't know why that command linked glfw library.






    share|improve this answer





























      0














      I tried



      sudo chown -R $(whoami) $(brew --prefix)/*



      in terminal.



      I got this command in



      Brew doctor says: "Warning: /usr/local/include isn't writable."



      But I don't know why that command linked glfw library.






      share|improve this answer



























        0












        0








        0







        I tried



        sudo chown -R $(whoami) $(brew --prefix)/*



        in terminal.



        I got this command in



        Brew doctor says: "Warning: /usr/local/include isn't writable."



        But I don't know why that command linked glfw library.






        share|improve this answer













        I tried



        sudo chown -R $(whoami) $(brew --prefix)/*



        in terminal.



        I got this command in



        Brew doctor says: "Warning: /usr/local/include isn't writable."



        But I don't know why that command linked glfw library.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 27 at 7:08









        kw Hyunkw Hyun

        164 bronze badges




        164 bronze badges





















            Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







            Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55370743%2finstall-glfw-on-mac%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

            SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

            은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현