libNVVM cannot be found











up vote
2
down vote

favorite












I am trying to @vectorize some python through CUDA. I'm running Python3 in atom with Cuda9.1, Anaconda3, and have a similar problem to this:



Cuda: library nvvm not found



but that solution is for linux and I'm on windows.



I gather from that solution above I need to add an Environment Variable. I tried to do just that by searching from the nvvm file which i found in:



C:UsersMEAppDataLocalProgramsPythonPython36Libsite-packagesnumbacudatestscudadrv__pycache__



but adding that didn't help.
I tried 'conda install cudatoolkit' as well as updating it.



Is my problem that the OS doesn't know where this library is? How to I point python to the library that it needs?










share|improve this question


























    up vote
    2
    down vote

    favorite












    I am trying to @vectorize some python through CUDA. I'm running Python3 in atom with Cuda9.1, Anaconda3, and have a similar problem to this:



    Cuda: library nvvm not found



    but that solution is for linux and I'm on windows.



    I gather from that solution above I need to add an Environment Variable. I tried to do just that by searching from the nvvm file which i found in:



    C:UsersMEAppDataLocalProgramsPythonPython36Libsite-packagesnumbacudatestscudadrv__pycache__



    but adding that didn't help.
    I tried 'conda install cudatoolkit' as well as updating it.



    Is my problem that the OS doesn't know where this library is? How to I point python to the library that it needs?










    share|improve this question
























      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      I am trying to @vectorize some python through CUDA. I'm running Python3 in atom with Cuda9.1, Anaconda3, and have a similar problem to this:



      Cuda: library nvvm not found



      but that solution is for linux and I'm on windows.



      I gather from that solution above I need to add an Environment Variable. I tried to do just that by searching from the nvvm file which i found in:



      C:UsersMEAppDataLocalProgramsPythonPython36Libsite-packagesnumbacudatestscudadrv__pycache__



      but adding that didn't help.
      I tried 'conda install cudatoolkit' as well as updating it.



      Is my problem that the OS doesn't know where this library is? How to I point python to the library that it needs?










      share|improve this question













      I am trying to @vectorize some python through CUDA. I'm running Python3 in atom with Cuda9.1, Anaconda3, and have a similar problem to this:



      Cuda: library nvvm not found



      but that solution is for linux and I'm on windows.



      I gather from that solution above I need to add an Environment Variable. I tried to do just that by searching from the nvvm file which i found in:



      C:UsersMEAppDataLocalProgramsPythonPython36Libsite-packagesnumbacudatestscudadrv__pycache__



      but adding that didn't help.
      I tried 'conda install cudatoolkit' as well as updating it.



      Is my problem that the OS doesn't know where this library is? How to I point python to the library that it needs?







      python python-3.x cuda anaconda






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 28 at 3:19









      DaveP

      255




      255
























          3 Answers
          3






          active

          oldest

          votes

















          up vote
          4
          down vote



          accepted










          These are the environmental variables I set to get some pyCUDA example code running on Windows:



          NUMBAPRO_NVVM = C:Program FilesNVIDIA GPU Computing ToolkitCUDAv9.1nvvmbinnvvm64_32_0.dll



          NUMBAPRO_LIBDEVICE = C:Program FilesNVIDIA GPU Computing ToolkitCUDAv9.1nvvmlibdevice






          share|improve this answer





















          • did that, then I get Install package by: conda install cudatoolkit=7.5
            – DaveP
            Mar 2 at 22:40












          • Weirdly, I have to downgrade from cudatoolkit=8.0, but after a restart, I get an answer. thanks.
            – DaveP
            Mar 2 at 22:52


















          up vote
          2
          down vote













          You must remove the bar from the end.



          NUMBAPRO_LIBDEVICE = C:Program FilesNVIDIA GPU Computing ToolkitCUDAv9.1nvvmlibdevice





          share|improve this answer






























            up vote
            0
            down vote













            Python 3.7.0(x64 on AMD) on Windows 10(x64). Cuda 10



            pip install --upgrade pip  
            pip install numba
            pip install numpy
            pip install six


            Also need to set system variable path as:



            NUMBAPRO_NVVM=c:Program FilesNVIDIA GPU Computing ToolkitCUDAv10.0nvvmbinnvvm64_33_0.dll
            NUMBAPRO_LIBDEVICE=c:Program FilesNVIDIA GPU Computing ToolkitCUDAv10.0nvvmlibdevice


            Restart computer! (seems that is important for some reasons).
            This Works for me.






            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',
              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%2f49021437%2flibnvvm-cannot-be-found%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              4
              down vote



              accepted










              These are the environmental variables I set to get some pyCUDA example code running on Windows:



              NUMBAPRO_NVVM = C:Program FilesNVIDIA GPU Computing ToolkitCUDAv9.1nvvmbinnvvm64_32_0.dll



              NUMBAPRO_LIBDEVICE = C:Program FilesNVIDIA GPU Computing ToolkitCUDAv9.1nvvmlibdevice






              share|improve this answer





















              • did that, then I get Install package by: conda install cudatoolkit=7.5
                – DaveP
                Mar 2 at 22:40












              • Weirdly, I have to downgrade from cudatoolkit=8.0, but after a restart, I get an answer. thanks.
                – DaveP
                Mar 2 at 22:52















              up vote
              4
              down vote



              accepted










              These are the environmental variables I set to get some pyCUDA example code running on Windows:



              NUMBAPRO_NVVM = C:Program FilesNVIDIA GPU Computing ToolkitCUDAv9.1nvvmbinnvvm64_32_0.dll



              NUMBAPRO_LIBDEVICE = C:Program FilesNVIDIA GPU Computing ToolkitCUDAv9.1nvvmlibdevice






              share|improve this answer





















              • did that, then I get Install package by: conda install cudatoolkit=7.5
                – DaveP
                Mar 2 at 22:40












              • Weirdly, I have to downgrade from cudatoolkit=8.0, but after a restart, I get an answer. thanks.
                – DaveP
                Mar 2 at 22:52













              up vote
              4
              down vote



              accepted







              up vote
              4
              down vote



              accepted






              These are the environmental variables I set to get some pyCUDA example code running on Windows:



              NUMBAPRO_NVVM = C:Program FilesNVIDIA GPU Computing ToolkitCUDAv9.1nvvmbinnvvm64_32_0.dll



              NUMBAPRO_LIBDEVICE = C:Program FilesNVIDIA GPU Computing ToolkitCUDAv9.1nvvmlibdevice






              share|improve this answer












              These are the environmental variables I set to get some pyCUDA example code running on Windows:



              NUMBAPRO_NVVM = C:Program FilesNVIDIA GPU Computing ToolkitCUDAv9.1nvvmbinnvvm64_32_0.dll



              NUMBAPRO_LIBDEVICE = C:Program FilesNVIDIA GPU Computing ToolkitCUDAv9.1nvvmlibdevice







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Mar 2 at 11:01









              DavidH

              561




              561












              • did that, then I get Install package by: conda install cudatoolkit=7.5
                – DaveP
                Mar 2 at 22:40












              • Weirdly, I have to downgrade from cudatoolkit=8.0, but after a restart, I get an answer. thanks.
                – DaveP
                Mar 2 at 22:52


















              • did that, then I get Install package by: conda install cudatoolkit=7.5
                – DaveP
                Mar 2 at 22:40












              • Weirdly, I have to downgrade from cudatoolkit=8.0, but after a restart, I get an answer. thanks.
                – DaveP
                Mar 2 at 22:52
















              did that, then I get Install package by: conda install cudatoolkit=7.5
              – DaveP
              Mar 2 at 22:40






              did that, then I get Install package by: conda install cudatoolkit=7.5
              – DaveP
              Mar 2 at 22:40














              Weirdly, I have to downgrade from cudatoolkit=8.0, but after a restart, I get an answer. thanks.
              – DaveP
              Mar 2 at 22:52




              Weirdly, I have to downgrade from cudatoolkit=8.0, but after a restart, I get an answer. thanks.
              – DaveP
              Mar 2 at 22:52












              up vote
              2
              down vote













              You must remove the bar from the end.



              NUMBAPRO_LIBDEVICE = C:Program FilesNVIDIA GPU Computing ToolkitCUDAv9.1nvvmlibdevice





              share|improve this answer



























                up vote
                2
                down vote













                You must remove the bar from the end.



                NUMBAPRO_LIBDEVICE = C:Program FilesNVIDIA GPU Computing ToolkitCUDAv9.1nvvmlibdevice





                share|improve this answer

























                  up vote
                  2
                  down vote










                  up vote
                  2
                  down vote









                  You must remove the bar from the end.



                  NUMBAPRO_LIBDEVICE = C:Program FilesNVIDIA GPU Computing ToolkitCUDAv9.1nvvmlibdevice





                  share|improve this answer














                  You must remove the bar from the end.



                  NUMBAPRO_LIBDEVICE = C:Program FilesNVIDIA GPU Computing ToolkitCUDAv9.1nvvmlibdevice






                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Mar 11 at 5:48









                  data_garden

                  1,34052453




                  1,34052453










                  answered Mar 11 at 0:41









                  user9473682

                  211




                  211






















                      up vote
                      0
                      down vote













                      Python 3.7.0(x64 on AMD) on Windows 10(x64). Cuda 10



                      pip install --upgrade pip  
                      pip install numba
                      pip install numpy
                      pip install six


                      Also need to set system variable path as:



                      NUMBAPRO_NVVM=c:Program FilesNVIDIA GPU Computing ToolkitCUDAv10.0nvvmbinnvvm64_33_0.dll
                      NUMBAPRO_LIBDEVICE=c:Program FilesNVIDIA GPU Computing ToolkitCUDAv10.0nvvmlibdevice


                      Restart computer! (seems that is important for some reasons).
                      This Works for me.






                      share|improve this answer

























                        up vote
                        0
                        down vote













                        Python 3.7.0(x64 on AMD) on Windows 10(x64). Cuda 10



                        pip install --upgrade pip  
                        pip install numba
                        pip install numpy
                        pip install six


                        Also need to set system variable path as:



                        NUMBAPRO_NVVM=c:Program FilesNVIDIA GPU Computing ToolkitCUDAv10.0nvvmbinnvvm64_33_0.dll
                        NUMBAPRO_LIBDEVICE=c:Program FilesNVIDIA GPU Computing ToolkitCUDAv10.0nvvmlibdevice


                        Restart computer! (seems that is important for some reasons).
                        This Works for me.






                        share|improve this answer























                          up vote
                          0
                          down vote










                          up vote
                          0
                          down vote









                          Python 3.7.0(x64 on AMD) on Windows 10(x64). Cuda 10



                          pip install --upgrade pip  
                          pip install numba
                          pip install numpy
                          pip install six


                          Also need to set system variable path as:



                          NUMBAPRO_NVVM=c:Program FilesNVIDIA GPU Computing ToolkitCUDAv10.0nvvmbinnvvm64_33_0.dll
                          NUMBAPRO_LIBDEVICE=c:Program FilesNVIDIA GPU Computing ToolkitCUDAv10.0nvvmlibdevice


                          Restart computer! (seems that is important for some reasons).
                          This Works for me.






                          share|improve this answer












                          Python 3.7.0(x64 on AMD) on Windows 10(x64). Cuda 10



                          pip install --upgrade pip  
                          pip install numba
                          pip install numpy
                          pip install six


                          Also need to set system variable path as:



                          NUMBAPRO_NVVM=c:Program FilesNVIDIA GPU Computing ToolkitCUDAv10.0nvvmbinnvvm64_33_0.dll
                          NUMBAPRO_LIBDEVICE=c:Program FilesNVIDIA GPU Computing ToolkitCUDAv10.0nvvmlibdevice


                          Restart computer! (seems that is important for some reasons).
                          This Works for me.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Sep 22 at 19:03









                          Nik

                          1




                          1






























                               

                              draft saved


                              draft discarded



















































                               


                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f49021437%2flibnvvm-cannot-be-found%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

                              Schultheiß

                              Liste der Kulturdenkmale in Wilsdruff

                              Android Play Services Check