File nbextension/static/index.js missing when installing
Hi, I'd really like to try this project out. However I run into some problem when trying to install it.
When running pip install -e . there seems to be a file missing: ipyp5/ipyp5/nbextension/static/index.js.
raise ValueError(("missing files: %s" % missing))
ValueError: missing files: ['/home/user/GitHub/ipyp5/ipyp5/nbextension/static/index.js', '/home/user/GitHub/ipyp5/lib/plugin.js']
----------------------------------------
Command "/home/user/anaconda3/envs/ipyp5/bin/python -c "import setuptools, tokenize;__file__='/home/user/GitHub/ipyp5/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" develop --no-deps" failed with error code 1 in /home/user/GitHub/ipyp5/
I noticed that the file is blocked from uploading in .gitignore.
Thanks for any help!
Good catch and thanks for the report. Normally this file should be left out of the repo because it will be generated at build time.
Would you mind trying again in the deps-updates branch? (https://github.com/jtpio/ipyp5/pull/3)
Running the deps-updates branch gave me this error: ModuleNotFoundError: No module named '_sysconfigdata_x86_64_conda_cos6_linux_gnu', which seems to be related to this conda bug.
When setting the python version to 3.6 I was able to build the extension!
I was not able to get it to draw anything yet however. I will look into this some more when I have some time.
Just merged https://github.com/jtpio/ipyp5/pull/3, which seems to work fine when starting with a fresh environment.
@EWouters have you had any more success trying it locally?