Comments (11)
In fact this also has a problem:
Edit: Changed the first line of the example to include --override-channels
to reproduce the issue.
>conda create -n jlabtutorial -c conda-forge --override-channels python=3.7 nodejs
Collecting package metadata (current_repodata.json): done
Solving environment: failed
Collecting package metadata (repodata.json): done
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
- nodejs -> vs2015_runtime
- python=3.7 -> openssl[version='>=1.1.1a,<1.1.2a'] -> vc=14
Current channels:
- https://conda.anaconda.org/conda-forge/win-64
- https://conda.anaconda.org/conda-forge/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
from jupyterlab-feedstock.
@mariusvniekerk -- any ideas here?
from jupyterlab-feedstock.
@jasongrout Perhaps related to conda-forge/jupyterlab_server-feedstock#9 , from 5 days ago?
from jupyterlab-feedstock.
@jasongrout -- as a workaround, don't use the --override-channels option. pulling from defaults and conda-forge seems to work (the environment is currently installing, so I haven't tested functionality yet)
from jupyterlab-feedstock.
It looks like the issue is that neither vc
nor vs_2015_runtime
are in conda-forge on the main label.
from jupyterlab-feedstock.
@jasongrout -- the decision was mad to stop vendoring the microsoft runtimes in conda-forge because 1) doing so was causing conflicts within conda-forge because of compilation against different versions of the runtime and 2) conda-forge does not build the runtime. The runtimes are pulled from defaults.
You can accomplish what you want (conda-forge first, ignoring whatever other channel settings the user may have) with:
conda create -n jlabtutorial --strict-channel-priority -c conda-forge -c defaults --override-channels python=3.7 nodejs
When I do that on windows everything comes from conda-forge except the runtimes, which are pulled from defaults.
I don't think there is anything to fix -- if this workaround works for you the issue can be closed.
from jupyterlab-feedstock.
the decision was mad to stop vendoring the microsoft runtimes
I assume you mean "made", not "mad" as in it was insane to stop vendoring runtimes?
from jupyterlab-feedstock.
Oops, yes "made" 🤣
from jupyterlab-feedstock.
@mwcraig Thats the correct approach.
from jupyterlab-feedstock.
To be more precise, for people that have redefined the defaults channel, this works:
conda create -n jlabtutorial --strict-channel-priority -c conda-forge -c anaconda --override-channels python=3.7 nodejs
Does that look right to you?
from jupyterlab-feedstock.
Also this works:
conda create -n jlabtutorial --strict-channel-priority -c conda-forge -c anaconda --override-channels jupyterlab=1
I suppose if you wanted to be really strict, you'd do something like
conda create -n jlabtutorial --override-channels -c anaconda <vc runtime packages>
conda activate jlabtutorial
conda install --override-channels -c conda-forge <rest of packages>
Thanks again! Closing as answered
from jupyterlab-feedstock.
Related Issues (20)
- Publish prereleases automatically HOT 3
- Change prerelease label to _dev or _rc HOT 1
- Can't install conda-forge jupyterlab and python >=3.7 on win-64 HOT 6
- How to create a new branch? HOT 1
- Depend upon nodejs so that jupyterlab works out of the box HOT 3
- Create long-running 2.x (and 2.x-rc) branch, jupyterlab 2.3.0rc0? HOT 2
- Publish 3.1.0a7? HOT 3
- This repository doesn't 'just work' HOT 4
- jupyterlab 3.3.0b0
- Depend on nbconvert if jupyter_server uses nbconvert-core? HOT 1
- Question about `nodejs` testing requirement HOT 2
- Jupyterlab missing in Navigator home, other many apps appear HOT 12
- [warning] failed package validation and/or copy for commit bb59ab0f5b837302a5a19f58ac2e395cafbc4d0d HOT 1
- @conda-forge-admin, please rerender
- Segmentation Fault 11 when running jupyter on Mac OS X HOT 14
- @conda-forge-admin, please update version HOT 1
- @conda-forge-admin please update version HOT 1
- @conda-forge-admin please update version HOT 1
- @conda-forge-admin please update version HOT 1
- @conda-forge-admin, please add user @krassowski 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 jupyterlab-feedstock.