Giter VIP home page Giter VIP logo

Comments (20)

matheusmota avatar matheusmota commented on May 31, 2024 5

Hi, guys. I've just got the same error.

$ jupyter lab --version
0.33.11

Any chance to make it work? Or only downgrading ?
Thanks

from jupyterlab_voyager.

zzhangjii avatar zzhangjii commented on May 31, 2024 1

Current JupyterLab_Voyager relies heavy on new functions in "v2.0.0-alpha.15", most of which don't exist on "v2.0.0-alpha.12".

We are working on issue 767 right now, hope we can solve it soon.

from jupyterlab_voyager.

zzhangjii avatar zzhangjii commented on May 31, 2024

Hi, thanks for reporting the problem, currently voyager is still under development, so may have version conflicts, could you tell me the version of your jupyterlab? use jupyter lab --version

from jupyterlab_voyager.

daefresh avatar daefresh commented on May 31, 2024

Hi,
I am running 0.31.8.
Voyager is killer. I love it. I would super appreciative if you helped me figure out a resolution!
Thanks

from jupyterlab_voyager.

zzhangjii avatar zzhangjii commented on May 31, 2024

well, current voyager version in master branch have conflicts, try clone this one:

git clone [email protected]:zzhangjii/jupyterlab_voyager.git

then install with a development mod:
yarn install
jupyter labextension link .

Try with this new development version first, We will probably update the master branch next week.

from jupyterlab_voyager.

JamesSample avatar JamesSample commented on May 31, 2024

Installing from the development branch, as described above, solves the [email protected] is not compatible error, but now I'm running into vega/voyager#767.

I thought I might be able to solve this by changing line 40 of package.json to

"datavoyager": "v2.0.0-alpha.12",

instead of v2.0.0-alpha.15, but when I try this the installation fails with

$ npm run build

> [email protected] build C:\Users\JES\Downloads\jupyterlab_voyager
> tsc

src/index.ts(102,5): error TS2322: Type '{ showDataSourceSelector: false; manualSpecificationOnly: true; hideHeader: boolean; hideFooter: ...' is not assignable to type 'VoyagerConfig'.
  Object literal may only specify known properties, and 'hideHeader' does not exist in type 'VoyagerConfig'.
src/index.ts(344,32): error TS2551: Property 'getSpec' does not exist on type 'Voyager'. Did you mean 'setSpec'?
src/index.ts(372,34): error TS2551: Property 'getSpec' does not exist on type 'Voyager'. Did you mean 'setSpec'?
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `tsc`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\JES\AppData\Roaming\npm-cache\_logs\2018-02-27T09_53_06_351Z-debug.log
error An unexpected error occurred: "Command failed.
Exit code: 1
Command: C:\\WINDOWS\\system32\\cmd.exe
Arguments: /d /s /c npm run build
Directory: C:\\Users\\JES\\Downloads\\jupyterlab_voyager
Output:
".
info If you think this is a bug, please open a bug report with the information provided in "C:\\Users\\JES\\Downloads\\jupyterlab_voyager\\yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Any suggestions for how to solve this would be greatly appreciated - I think the JupyterLab/Voyager2 combo looks amazing!

I'm currently using Anaconda on Windows 10 with Python 3.6 and JupyterLab 0.31.8, but I've also tried building via the Docker file (which uses Ubuntu) and I get a similar error.

Thanks!

from jupyterlab_voyager.

daefresh avatar daefresh commented on May 31, 2024

Thank you!

from jupyterlab_voyager.

saulshanabrook avatar saulshanabrook commented on May 31, 2024

@zzhangjii I am looking at your master branch now and I am unsure if it includes the functionality of saving a temporary .vl.json file when opening from a dataframe. Is this something implemented in it currently? If not, is this the route we still think is best? I'm on gitter chat today if are around to talk.

from jupyterlab_voyager.

zzhangjii avatar zzhangjii commented on May 31, 2024

@saulshanabrook yes, it includes saving temp vl.json file, check index.ts line 241: createNew function;
I will be available on gitter after 4:30 pm today

from jupyterlab_voyager.

saulshanabrook avatar saulshanabrook commented on May 31, 2024

from jupyterlab_voyager.

saulshanabrook avatar saulshanabrook commented on May 31, 2024

I opened #32 to track my progress on getting something functional with the latest voyager.

from jupyterlab_voyager.

Bamieh avatar Bamieh commented on May 31, 2024

Hello 👋 any updates on this? I am getting this error as well.

Errored, use --debug for full output:
ValueError: This extension does not yet support the current version of JupyterLab.


Conflicting Dependencies:
JupyterLab                        Extension       Package
>=1.0.10 <2.0.0                   >=0.3.1 <0.4.0  @jupyterlab/rendermime-interfaces

from jupyterlab_voyager.

jimmywan avatar jimmywan commented on May 31, 2024

From this comment, sounds like things might be resolved.

from jupyterlab_voyager.

jimmywan avatar jimmywan commented on May 31, 2024

Hmm, ignore my previous comment. I tried doing as they recommended and it still failed.

 ---> Running in f4ba50ed3a68
> /opt/conda/bin/npm pack jupyterlab_voyager
jupyterlab_voyager-0.1.0.tgz

Errored, use --debug for full output:
ValueError: This extension does not yet support the current version of JupyterLab.


Conflicting Dependencies:
JupyterLab                        Extension       Package
>=1.0.10 <2.0.0                   >=0.3.1 <0.4.0  @jupyterlab/rendermime-interfaces
The command '/bin/sh -c jupyter labextension install jupyterlab_voyager' returned a non-zero code: 1

from jupyterlab_voyager.

jasongrout avatar jasongrout commented on May 31, 2024

It looks like a new version wasn't ever actually released. @saulshanabrook, @gnestor - I also had someone else asking about running voyager in lab 0.32.1. Any chance a release could be made?

from jupyterlab_voyager.

zzhangjii avatar zzhangjii commented on May 31, 2024

Hi, @daefresh @JamesSample @Bamieh @jimmywan @jasongrout
The new version with the most recent changes has been updated in this repo, it works well with lab 0.32.1.
Also, @saulshanabrook , can you publish it on npm as well?

from jupyterlab_voyager.

saulshanabrook avatar saulshanabrook commented on May 31, 2024

@zzhangjii Just published 0.2.0. Could I add you to the NPM repo so you can publish whenever you want? What is your username?

from jupyterlab_voyager.

jimmywan avatar jimmywan commented on May 31, 2024

0.2.0 working for me now. Thx!

from jupyterlab_voyager.

jasongrout avatar jasongrout commented on May 31, 2024

Thanks! I think this issue can be closed now.

from jupyterlab_voyager.

WeiZhou2372 avatar WeiZhou2372 commented on May 31, 2024

same here

$ jupyter lab --version
1.2.4

from jupyterlab_voyager.

Related Issues (20)

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.