GithubHelp home page GithubHelp logo

new env works about config-windows HOT 4 CLOSED

kangwonlee avatar kangwonlee commented on July 25, 2024
new env works

from config-windows.

Comments (4)

kangwonlee avatar kangwonlee commented on July 25, 2024
Traceback (most recent call last):
  File "$HOME\Anaconda3\lib\site-packages\numpy\core\__init__.py", line 16, in <module>
    from . import multiarray
ImportError: DLL load failed: 지정된 모듈을 찾을 수 없습니다.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "sine_graph.py", line 3, in <module>
    import pylab as pl
  File "$HOME\Anaconda3\lib\site-packages\pylab.py", line 1, in <module>
    from matplotlib.pylab import *
  File "$HOME\Anaconda3\lib\site-packages\matplotlib\__init__.py", line 141, in <module>
    from . import cbook, rcsetup
  File "$HOME\Anaconda3\lib\site-packages\matplotlib\cbook\__init__.py", line 33, in <module>
    import numpy as np
  File "$HOME\Anaconda3\lib\site-packages\numpy\__init__.py", line 142, in <module>
    from . import add_newdocs
  File "$HOME\Anaconda3\lib\site-packages\numpy\add_newdocs.py", line 13, in <module>
    from numpy.lib import add_newdoc
  File "$HOME\Anaconda3\lib\site-packages\numpy\lib\__init__.py", line 8, in <module>
    from .type_check import *
  File "$HOME\Anaconda3\lib\site-packages\numpy\lib\type_check.py", line 11, in <module>
    import numpy.core.numeric as _nx
  File "$HOME\Anaconda3\lib\site-packages\numpy\core\__init__.py", line 26, in <module>
    raise ImportError(msg)
ImportError:
Importing the multiarray numpy extension module failed.  Most
likely you are trying to import a failed build of numpy.
If you're working with a numpy git repo, try `git clean -xdf` (removes all
files not under version control).  Otherwise reinstall numpy.

Original error was: DLL load failed: 지정된 모듈을 찾을 수 없습니다.

from config-windows.

kangwonlee avatar kangwonlee commented on July 25, 2024
  • In MS VS Code, running script after conda activate base works
  • Need to compare env before and after?

from config-windows.

kangwonlee avatar kangwonlee commented on July 25, 2024
  • It seems that conda activate base adds followings to the $PATH
{
    '$HOME/Anaconda3/bin', 
    '$HOME/Anaconda3/Library/mingw-w64/bin', 
    '$HOME/Anaconda3/Library/bin', 
    '$HOME/Anaconda3/Library/usr/bin'
}
  • Among these, adding $HOME/Anaconda3/Library/bin to $PATH line of .bashrc enables import pylab

from config-windows.

kangwonlee avatar kangwonlee commented on July 25, 2024
  • c29b24c adds the $HOME/Anaconda3/Library/bin to $PATH line of .bashrc
  • To make sure, need a test
  • 894f3de attempted but need permission
  • Crossing fingers for now

from config-windows.

Related Issues (18)

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.