Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wheel missing as dependency #21

Closed
JoshuaMathias opened this issue Dec 12, 2019 · 3 comments
Closed

Wheel missing as dependency #21

JoshuaMathias opened this issue Dec 12, 2019 · 3 comments

Comments

@JoshuaMathias
Copy link

After running pip install nbdev I receive this error (though it does appear to install correctly):

  Complete output from command /home/vagrant/wlyze/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-6zfwmzwq/pyrsistent/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmph67xwsmupip-wheel- --python-tag cp36:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help
  
  error: invalid command 'bdist_wheel'

It appears that 'wheel' should be added to settings.ini based on this answer: https://stackoverflow.com/questions/34819221/why-is-python-setup-py-saying-invalid-command-bdist-wheel-on-travis-ci

@sgugger
Copy link

sgugger commented Dec 13, 2019

Adding it in settings.ini wouldn't help since you need it to run the setup. I guess it might be needed as a pre-dependency like packaging but out of curiosity, did you get the error after doing pip install nbdev or an editable install?

@JoshuaMathias
Copy link
Author

I just did pip install nbdev (and on a new virtual environment, Python 3.6.8), nothing more.

@jph00
Copy link
Member

jph00 commented Dec 18, 2019

I'm not sure this is fixable within nbdev.

@jph00 jph00 closed this as completed Dec 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants