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

PIP Compile Error #1080

Closed
shandyags opened this issue Jan 24, 2017 · 6 comments
Closed

PIP Compile Error #1080

shandyags opened this issue Jan 24, 2017 · 6 comments

Comments

@shandyags
Copy link

ImportError: No module named 'packaging'


Cleaning up...
Command /usr/bin/python3 -c "import setuptools, tokenize;file='/tmp/pip_build_root/cffi/setup.py';exec(compile(getattr(tokeniz e, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-8ruk4aug-record/install-rec ord.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/cffi
Storing debug log for failure in /root/.pip/pip.log

@cromulus
Copy link
Contributor

I have replicated this.
Will try to put together a PR as this is currently a blocker for me adding new hosts.

@axd
Copy link

axd commented Jan 25, 2017

Been there, that's a problem with python-request you have to do the following:

$ sudo apt-get purge python3-requests
$ sudo apt-get install python3-requests python3-pip

Then install through pip the packaging package

pip3 install packaging

And see if you get a successful install if so, run again the setup file of MiAB.

Cheers.

@kenthinson
Copy link

kenthinson commented Jan 27, 2017

@axd thanks for that! I also had to run
sudo pip3 install appdirs sudo pip3 install email_validator
In addition to the commands you said.

@Lucif3r
Copy link

Lucif3r commented Jan 30, 2017

@axd Tried your method. Still getting this error.

@kenthinson
Copy link

@Lucif3r make sure you use a clan install of ubuntu. I tried it and it would not work until i did a fresh install.

@JoshData
Copy link
Member

JoshData commented Feb 2, 2017

Fixed in v0.21c posted this morning.

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

6 participants