JuliaPy / JuliaPy/Conda.jl

env base not activated on Windows

Open
#119 10 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
187
Forks
59
PR merge metrics
No merged PRs in 30d

Description

Please see https://github.com/JuliaPy/PyCall.jl/issues/561.

The point is executing just Python binary does not activate base env. We need to explicitly activate base env on Windows.

```

C:\Users\alkorang>.julia\packages\Conda\m7vem\deps\usr\python
Python 3.7.0 (default, Jun 28 2018, 08:04:48) [MSC v.1912 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Traceback (most recent call last):
File "C:\Users\alkorang\.julia\packages\Conda\m7vem\deps\usr\lib\site-packages\numpy\core\__init__.py", line 16, in
from . import multiarray
ImportError: DLL load failed: 지정된 모듈을 찾을 수 없습니다.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "", line 1, in
File "C:\Users\alkorang\.julia\packages\Conda\m7vem\deps\usr\lib\site-packages\numpy\__init__.py", line 142, in
from . import add_newdocs
File "C:\Users\alkorang\.julia\packages\Conda\m7vem\deps\usr\lib\site-packages\numpy\add_newdocs.py", line 13, in
from numpy.lib import add_newdoc
File "C:\Users\alkorang\.julia\packages\Conda\m7vem\deps\usr\lib\site-packages\numpy\lib\__init__.py", line 8, in
from .type_check import *
File "C:\Users\alkorang\.julia\packages\Conda\m7vem\deps\usr\lib\site-packages\numpy\lib\type_check.py", line 11, in
import numpy.core.numeric as _nx
File "C:\Users\alkorang\.julia\packages\Conda\m7vem\deps\usr\lib\site-packages\numpy\core\__init__.py", line 26, in
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: 지정된 모듈을 찾을 수 없습니다.

>>>
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.