-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Precompilation after add fails for packages with python dependencies #266
Comments
Weird that it fails with no output. Can you try running the same micromamba command from the command line? |
From what you said, this only happens during |
Exactly, the following installs everything successfully: (jl_Mhrdwi) pkg> add Faiss
Installing known registries into `c:\temp\.juliatmp`
Updating registry at `c:\temp\.juliatmp\registries\General.toml`
All the packages....
Precompiling project...
✗ Faiss
27 dependencies successfully precompiled in 32 seconds
1 dependency errored. To see a full report either run `import Pkg; Pkg.precompile()` or load the package
julia> using Faiss
[ Info: Precompiling Faiss [97d83715-92a6-43f6-a1c3-b293f6dd920a]
CondaPkg Found dependencies: c:\temp\.juliatmp\packages\PythonCall\3GRYN\CondaPkg.toml
CondaPkg Found dependencies: c:\temp\.juliatmp\packages\Faiss\18CT2\CondaPkg.toml
CondaPkg Resolving changes
+ faiss-cpu
+ numpy
+ python
CondaPkg Creating environment
│ c:\temp\.juliatmp\artifacts\4b82d7ce236527959584cbf6b4cd3a10545b99ac\bin\micromamba.exe
│ -r c:\temp\.juliatmp\scratchspaces\0b3b1443-0f03-428d-bdfb-f27f9c1191ea\root
│ create
│ -y
│ -p E:\Temp\systmp\jl_Mhrdwi\.CondaPkg\env
│ --override-channels
│ --no-channel-priority
│ faiss-cpu[version='>=1.7,<2']
│ numpy[version='>1.10']
│ python[version='>=3.7,<4',channel='conda-forge',build='*cpython*']
│ python[version='>=3.6,<4']
│ -c conda-forge
└ -c pytorch
__
__ ______ ___ ____ _____ ___ / /_ ____ _
/ / / / __ `__ \/ __ `/ __ `__ \/ __ \/ __ `/
/ /_/ / / / / / / /_/ / / / / / / /_/ / /_/ /
/ .___/_/ /_/ /_/\__,_/_/ /_/ /_/_.___/\__,_/
/_/
pytorch/win-64 Using cache
pytorch/noarch Using cache
conda-forge/noarch 11.2MB @ 4.8MB/s 3.1s
conda-forge/win-64 19.1MB @ 4.7MB/s 5.7s
Transaction
Prefix: E:\Temp\systmp\jl_Mhrdwi\.CondaPkg\env
Updating specs:
- faiss-cpu[version='>=1.7,<2']
- numpy[version='>1.10']
- conda-forge::python[version='>=3.7,<4',build=*cpython*]
- python[version='>=3.6,<4']
Package Version Build Channel Size
--------------------------------------------------------------------------------------
Install:
--------------------------------------------------------------------------------------
Much more stuff getting installed. Copy-pasting the failed command from precompile (in a clean environment) also works. The error code 3221226505 seems to be some generic access violation error so perhaps something is not properly initialized during precompile phase. |
I'm seeing the same thing (and the same error code): stillyslalom/PyThermo.jl#7 |
I have the same issue on a Windows machine:
It doesnt work on precompile but |
If you update you should now get MicroMamba 0.1.14 and micromamba_jll 1.4.7. Does the newer version magically fix this issue? I'm on a phone so can't test myself right now. |
nope no change. still the same error on windows |
Oh well worth a try. Thanks! |
This issue has been marked as stale because it has been open for 30 days with no activity. If the issue is still relevant then please leave a comment, or else it will be closed in 7 days. |
This issue has been closed because it has been stale for 7 days. You can re-open it if it is still relevant. |
Thanks alot for this package!
Example on windows below. Running
using Faiss
afterwards installs everything correctly so despite the alarming title it is more of an inconvenience.Error becomes harder to reproduce after a few attempts so here I use a clean julia depot (using
$Env:JULIA_DEPOT_PATH = "c:\temp\.juliatmp"
in powershell).Could not reproduce on linux.
The text was updated successfully, but these errors were encountered: