hz-inova / run_jnb Goto Github PK
View Code? Open in Web Editor NEWParametrise (python3 only) and execute Jupyter notebooks
License: BSD 3-Clause "New" or "Revised" License
Parametrise (python3 only) and execute Jupyter notebooks
License: BSD 3-Clause "New" or "Revised" License
Dear @aplamada :
I'd like to use run_jnb
to execute the following comment, however, I encounter following error message:
Comment: run_jnb joint_example.ipynb -a "{\"TAG_NUMBER\":\"1Y520210100\"}"��
run_jnb Version: 0.1.15 (moreover, I tested 0.1.13 and 0.1.14 as well)
Python Version: 3.6.1
Thanks,
Owen
When I used run_jnb , the error is occured
AttributeError: 'NoneType' object has no attribute 'argv'
the dependency of nbconvert is 5.4.0
And I try to change the nbconvert version to 5.3.1 , the error isn't occured
And the other dependencies of jupyter notebook and run_jnb that I installed the latest version
Could you please advice how to solve out this error
Thank you
Hi, I want to install this module with pip install run_jnb
, but there is some error:
Collecting run_jnb
Using cached https://files.pythonhosted.org/packages/36/42/8ec4db3d2394f462230634be7786e9255d331d0168e8b15435a8e54dd1b5/run_jnb-0.1.13.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-s_5vw53o/run-jnb/setup.py", line 2, in <module>
import run_jnb
File "/tmp/pip-build-s_5vw53o/run-jnb/run_jnb/__init__.py", line 1, in <module>
from .core import possible_parameter, run_jnb
File "/tmp/pip-build-s_5vw53o/run-jnb/run_jnb/core.py", line 6, in <module>
from nbconvert.preprocessors import ExecutePreprocessor
ModuleNotFoundError: No module named 'nbconvert'
----------------------------------------
This is caused by the wrong setup.py
, see this
When pip starts to install this module, it tries to import this module and all the dependencies like nbconvert
.
If I didn't install nbconvert
manually, this module can't be installed by pip.
I try to remove line 2 in setup.py
will cause another error because of line 16 in setup.py
try to use run_jnb.__version__
, but variable run_jnb
isn't import if line 2 deleted.
Replace version with string will fix all problem and install all dependencies automatically.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.