Comments (10)
As of #14, miniconda now no longer installs on Pkg.build("Conda")
, but only if Conda is actually needed to install something. So, people who already have Python are not affected by this.
from conda.jl.
Ah, that is good. Lets hope this can get fixed upstream, it still is a nasty bug.
from conda.jl.
it still is a nasty bug.
Yes it is! I can disable the silent install for now.
from conda.jl.
If you disable silent install, does that mean that users have to click through some dialogs? If they make the wrong choices, will it screw up the install?
from conda.jl.
I do not know. I'll have to test.
from conda.jl.
Another option might be to test whether the Outlook.exe process is running before the miniconda process is started, and if it is running, just throw an error with a message that users should shutdown Outlook and then repeat the last operation. And then hope that they fix this upstream and then remove this check again.
Checking is probably easiest done using Powershell, the command Get-Process Outlook
should probably do it, I think one would just have to check whether that throws an error (not running) or returns something (running).
from conda.jl.
There is a win32 API to get the list of running processes, but I agree that PowerShell seems a lot easier.
Presumably, this check only needs to be in Conda._install
.
from conda.jl.
How can we call powershell from Julia? I am not a windows expert at all ...
from conda.jl.
I think something like this should work
try
run(`powershell "Get-Process Outlook"`)
println("Outlook is running")
catch e
println("Outlook is not running")
end
Obviously you need to adjust a bit, but the general theme should be this.
from conda.jl.
@davidanthoff this is implemented in the windows branch, in commit dba9262. Can you give it a look and test whether the error is issued if Outlook is running?
from conda.jl.
Related Issues (20)
- Conda in Julia create new Environment inside an Environment directory, how to change it?
- libstdc++.so.6: version `GLIBCXX_3.4.30' not found HOT 1
- GLIBCXX version problem with scipy.optimize on Linux HOT 4
- Reproducible segmentation fault during build on linux/arm64 HOT 7
- Failing to install matplotlib on gh actions HOT 3
- Failing to install miniconda on Windows HOT 2
- PyCall is not using the packages in Conda HOT 1
- how to correctly set the proxy in `.condarc` file HOT 1
- Installation error with Julia 1.9.0 HOT 2
- error on conda package imports HOT 1
- ResolvePackageNotFound: - conda==23.1.0 HOT 4
- CondaValueError: You have chosen a non-default solver backend (libmamba) but it was not recognized. Choose one of: classic HOT 6
- disable auto_update_conda?: conflict conda versions when installing RCall.jl and PyCall.jl HOT 3
- satified_skip_solve in the latest version doesn't work on x86 Github CI
- Error installing RISE plugin from Conda HOT 6
- `Conda.exists(::AbstractString)` errors
- Julia v1.10-rc1: Conda.jl does not build when `startup.jl` loads packages HOT 1
- Use scratchspaces rather than .julia/conda HOT 4
- Segmentation Fault 11 when starting Jupyter from IJulia & miniconda on MacOS
- Conda installation leaves tmp/installer.sh behind HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conda.jl.