PermissionError : cannot access the file because it is being used by another process, even when admin












-2















I'm trying to install a library named newspaper. Yet I had issues of permissions errors as it seemed another process was used a package which was being uninstalled : package 'defaults::qt-5.9.6-vc14h1e9a669_2'.



(base) C:Usersantoi>conda install -c conda-forge newspaper3k
Solving environment: done

## Package Plan ##
...

Proceed ([y]/n)? y

Preparing transaction: done
Verifying transaction: done
Executing transaction: failed
ERROR conda.core.link:_execute(502): An error occurred while uninstalling package 'defaults::qt-5.9.6-vc14h1e9a669_2'.
PermissionError(13, 'The process cannot access the file because it is being used by another process')
Attempting to roll back.

Rolling back transaction: done

PermissionError(13, 'The process cannot access the file because it is being used by another process')


I launched the Annaconda command terminal as an Administrator but it didn't worked either.










share|improve this question



























    -2















    I'm trying to install a library named newspaper. Yet I had issues of permissions errors as it seemed another process was used a package which was being uninstalled : package 'defaults::qt-5.9.6-vc14h1e9a669_2'.



    (base) C:Usersantoi>conda install -c conda-forge newspaper3k
    Solving environment: done

    ## Package Plan ##
    ...

    Proceed ([y]/n)? y

    Preparing transaction: done
    Verifying transaction: done
    Executing transaction: failed
    ERROR conda.core.link:_execute(502): An error occurred while uninstalling package 'defaults::qt-5.9.6-vc14h1e9a669_2'.
    PermissionError(13, 'The process cannot access the file because it is being used by another process')
    Attempting to roll back.

    Rolling back transaction: done

    PermissionError(13, 'The process cannot access the file because it is being used by another process')


    I launched the Annaconda command terminal as an Administrator but it didn't worked either.










    share|improve this question

























      -2












      -2








      -2








      I'm trying to install a library named newspaper. Yet I had issues of permissions errors as it seemed another process was used a package which was being uninstalled : package 'defaults::qt-5.9.6-vc14h1e9a669_2'.



      (base) C:Usersantoi>conda install -c conda-forge newspaper3k
      Solving environment: done

      ## Package Plan ##
      ...

      Proceed ([y]/n)? y

      Preparing transaction: done
      Verifying transaction: done
      Executing transaction: failed
      ERROR conda.core.link:_execute(502): An error occurred while uninstalling package 'defaults::qt-5.9.6-vc14h1e9a669_2'.
      PermissionError(13, 'The process cannot access the file because it is being used by another process')
      Attempting to roll back.

      Rolling back transaction: done

      PermissionError(13, 'The process cannot access the file because it is being used by another process')


      I launched the Annaconda command terminal as an Administrator but it didn't worked either.










      share|improve this question














      I'm trying to install a library named newspaper. Yet I had issues of permissions errors as it seemed another process was used a package which was being uninstalled : package 'defaults::qt-5.9.6-vc14h1e9a669_2'.



      (base) C:Usersantoi>conda install -c conda-forge newspaper3k
      Solving environment: done

      ## Package Plan ##
      ...

      Proceed ([y]/n)? y

      Preparing transaction: done
      Verifying transaction: done
      Executing transaction: failed
      ERROR conda.core.link:_execute(502): An error occurred while uninstalling package 'defaults::qt-5.9.6-vc14h1e9a669_2'.
      PermissionError(13, 'The process cannot access the file because it is being used by another process')
      Attempting to roll back.

      Rolling back transaction: done

      PermissionError(13, 'The process cannot access the file because it is being used by another process')


      I launched the Annaconda command terminal as an Administrator but it didn't worked either.







      conda python-newspaper






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 28 '18 at 12:21









      ThePassengerThePassenger

      236422




      236422
























          2 Answers
          2






          active

          oldest

          votes


















          1














          You are getting this error because qt is being used by your Anaconda Navigator, I have had the same problem, it can be solved by various means reaching the same end.



          You can run your Anaconda Navigator, switch to your environment -if you are using default do not switch- then run console through the Environments menu, close Anaconda Navigator, install your package.



          You can run your Anaconda Console directly, switch to your environment and install your package.



          These two ways should work, first one is a confirmed solution.






          share|improve this answer
























          • i had Spyder running even after closing Anaconda, and worked for me after closing Spyder as well. Thank you!

            – Dee
            Mar 1 at 9:23



















          0














          I was able to solve this by installing the package with pip rather than conda.






          share|improve this answer


























          • Please don't add "thank you" as an answer. Instead, accept the answer that you found most helpful. - From Review

            – bobbyrne01
            Nov 30 '18 at 11:05






          • 2





            @bobbyrne01, This is not a thank you, it's an anwser : install the package with pip rather than conda. Furthermore I asked the question, it would be weird to thanks myself

            – ThePassenger
            Nov 30 '18 at 12:05











          • It doesn't really read like an answer. You may want to consider explicitly describing the steps involved and reduce the 'conversational' tone.

            – Mark Rotteveel
            Nov 30 '18 at 14:00











          • @MarkRotteveel Thanks for the insight, done.

            – ThePassenger
            Nov 30 '18 at 14:05











          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%2f53519380%2fpermissionerror-cannot-access-the-file-because-it-is-being-used-by-another-pro%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          You are getting this error because qt is being used by your Anaconda Navigator, I have had the same problem, it can be solved by various means reaching the same end.



          You can run your Anaconda Navigator, switch to your environment -if you are using default do not switch- then run console through the Environments menu, close Anaconda Navigator, install your package.



          You can run your Anaconda Console directly, switch to your environment and install your package.



          These two ways should work, first one is a confirmed solution.






          share|improve this answer
























          • i had Spyder running even after closing Anaconda, and worked for me after closing Spyder as well. Thank you!

            – Dee
            Mar 1 at 9:23
















          1














          You are getting this error because qt is being used by your Anaconda Navigator, I have had the same problem, it can be solved by various means reaching the same end.



          You can run your Anaconda Navigator, switch to your environment -if you are using default do not switch- then run console through the Environments menu, close Anaconda Navigator, install your package.



          You can run your Anaconda Console directly, switch to your environment and install your package.



          These two ways should work, first one is a confirmed solution.






          share|improve this answer
























          • i had Spyder running even after closing Anaconda, and worked for me after closing Spyder as well. Thank you!

            – Dee
            Mar 1 at 9:23














          1












          1








          1







          You are getting this error because qt is being used by your Anaconda Navigator, I have had the same problem, it can be solved by various means reaching the same end.



          You can run your Anaconda Navigator, switch to your environment -if you are using default do not switch- then run console through the Environments menu, close Anaconda Navigator, install your package.



          You can run your Anaconda Console directly, switch to your environment and install your package.



          These two ways should work, first one is a confirmed solution.






          share|improve this answer













          You are getting this error because qt is being used by your Anaconda Navigator, I have had the same problem, it can be solved by various means reaching the same end.



          You can run your Anaconda Navigator, switch to your environment -if you are using default do not switch- then run console through the Environments menu, close Anaconda Navigator, install your package.



          You can run your Anaconda Console directly, switch to your environment and install your package.



          These two ways should work, first one is a confirmed solution.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 17 at 10:12









          Salih F. CanpolatSalih F. Canpolat

          215




          215













          • i had Spyder running even after closing Anaconda, and worked for me after closing Spyder as well. Thank you!

            – Dee
            Mar 1 at 9:23



















          • i had Spyder running even after closing Anaconda, and worked for me after closing Spyder as well. Thank you!

            – Dee
            Mar 1 at 9:23

















          i had Spyder running even after closing Anaconda, and worked for me after closing Spyder as well. Thank you!

          – Dee
          Mar 1 at 9:23





          i had Spyder running even after closing Anaconda, and worked for me after closing Spyder as well. Thank you!

          – Dee
          Mar 1 at 9:23













          0














          I was able to solve this by installing the package with pip rather than conda.






          share|improve this answer


























          • Please don't add "thank you" as an answer. Instead, accept the answer that you found most helpful. - From Review

            – bobbyrne01
            Nov 30 '18 at 11:05






          • 2





            @bobbyrne01, This is not a thank you, it's an anwser : install the package with pip rather than conda. Furthermore I asked the question, it would be weird to thanks myself

            – ThePassenger
            Nov 30 '18 at 12:05











          • It doesn't really read like an answer. You may want to consider explicitly describing the steps involved and reduce the 'conversational' tone.

            – Mark Rotteveel
            Nov 30 '18 at 14:00











          • @MarkRotteveel Thanks for the insight, done.

            – ThePassenger
            Nov 30 '18 at 14:05
















          0














          I was able to solve this by installing the package with pip rather than conda.






          share|improve this answer


























          • Please don't add "thank you" as an answer. Instead, accept the answer that you found most helpful. - From Review

            – bobbyrne01
            Nov 30 '18 at 11:05






          • 2





            @bobbyrne01, This is not a thank you, it's an anwser : install the package with pip rather than conda. Furthermore I asked the question, it would be weird to thanks myself

            – ThePassenger
            Nov 30 '18 at 12:05











          • It doesn't really read like an answer. You may want to consider explicitly describing the steps involved and reduce the 'conversational' tone.

            – Mark Rotteveel
            Nov 30 '18 at 14:00











          • @MarkRotteveel Thanks for the insight, done.

            – ThePassenger
            Nov 30 '18 at 14:05














          0












          0








          0







          I was able to solve this by installing the package with pip rather than conda.






          share|improve this answer















          I was able to solve this by installing the package with pip rather than conda.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 30 '18 at 17:06









          Mozahler

          2,19151927




          2,19151927










          answered Nov 28 '18 at 14:00









          ThePassengerThePassenger

          236422




          236422













          • Please don't add "thank you" as an answer. Instead, accept the answer that you found most helpful. - From Review

            – bobbyrne01
            Nov 30 '18 at 11:05






          • 2





            @bobbyrne01, This is not a thank you, it's an anwser : install the package with pip rather than conda. Furthermore I asked the question, it would be weird to thanks myself

            – ThePassenger
            Nov 30 '18 at 12:05











          • It doesn't really read like an answer. You may want to consider explicitly describing the steps involved and reduce the 'conversational' tone.

            – Mark Rotteveel
            Nov 30 '18 at 14:00











          • @MarkRotteveel Thanks for the insight, done.

            – ThePassenger
            Nov 30 '18 at 14:05



















          • Please don't add "thank you" as an answer. Instead, accept the answer that you found most helpful. - From Review

            – bobbyrne01
            Nov 30 '18 at 11:05






          • 2





            @bobbyrne01, This is not a thank you, it's an anwser : install the package with pip rather than conda. Furthermore I asked the question, it would be weird to thanks myself

            – ThePassenger
            Nov 30 '18 at 12:05











          • It doesn't really read like an answer. You may want to consider explicitly describing the steps involved and reduce the 'conversational' tone.

            – Mark Rotteveel
            Nov 30 '18 at 14:00











          • @MarkRotteveel Thanks for the insight, done.

            – ThePassenger
            Nov 30 '18 at 14:05

















          Please don't add "thank you" as an answer. Instead, accept the answer that you found most helpful. - From Review

          – bobbyrne01
          Nov 30 '18 at 11:05





          Please don't add "thank you" as an answer. Instead, accept the answer that you found most helpful. - From Review

          – bobbyrne01
          Nov 30 '18 at 11:05




          2




          2





          @bobbyrne01, This is not a thank you, it's an anwser : install the package with pip rather than conda. Furthermore I asked the question, it would be weird to thanks myself

          – ThePassenger
          Nov 30 '18 at 12:05





          @bobbyrne01, This is not a thank you, it's an anwser : install the package with pip rather than conda. Furthermore I asked the question, it would be weird to thanks myself

          – ThePassenger
          Nov 30 '18 at 12:05













          It doesn't really read like an answer. You may want to consider explicitly describing the steps involved and reduce the 'conversational' tone.

          – Mark Rotteveel
          Nov 30 '18 at 14:00





          It doesn't really read like an answer. You may want to consider explicitly describing the steps involved and reduce the 'conversational' tone.

          – Mark Rotteveel
          Nov 30 '18 at 14:00













          @MarkRotteveel Thanks for the insight, done.

          – ThePassenger
          Nov 30 '18 at 14:05





          @MarkRotteveel Thanks for the insight, done.

          – ThePassenger
          Nov 30 '18 at 14:05


















          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%2f53519380%2fpermissionerror-cannot-access-the-file-because-it-is-being-used-by-another-pro%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

          A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

          Calculate evaluation metrics using cross_val_predict sklearn

          Insert data from modal to MySQL (multiple modal on website)