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

Setup.py fails to run properly #303

Closed
ronlaws86 opened this issue Apr 3, 2020 · 5 comments
Closed

Setup.py fails to run properly #303

ronlaws86 opened this issue Apr 3, 2020 · 5 comments

Comments

@ronlaws86
Copy link

ubuntu@ubuntu:~/lxdui$ python3 setup.py
Traceback (most recent call last):
File "setup.py", line 2, in
from setuptools import setup, find_packages
ModuleNotFoundError: No module named 'setuptools'

@ronlaws86
Copy link
Author

ronlaws86 commented Apr 3, 2020

sudo apt-get install python3-setuptools

-- Might be worth dropping in python dependancies on the readme, most ubuntu server installs come bare bones and lack a lot of packages.

  • that being said. it failed here also.
Installed /usr/local/lib/python3.6/dist-packages/pylxd-2.2.7-py3.6.egg
Searching for psutil==5.6.6
Reading https://pypi.python.org/simple/psutil/
Downloading https://files.pythonhosted.org/packages/5f/dc/edf6758183afc7591a16bd4b8a44d8eea80aca1327ea60161dd3bad9ad22/psutil-5.6.6.tar.gz#sha256=ad21281f7bd6c57578dd53913d2d44218e9e29fd25128d10ff7819ef16fa46e7
Best match: psutil 5.6.6
Processing psutil-5.6.6.tar.gz
Writing /tmp/easy_install-h0ys3l8o/psutil-5.6.6/setup.cfg
Running psutil-5.6.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-h0ys3l8o/psutil-5.6.6/egg-dist-tmp-7cn5wj__
psutil/_psutil_common.c:9:10: fatal error: Python.h: No such file or directory
 #include <Python.h>
          ^~~~~~~~~~
compilation terminated.
error: Setup script exited with error: command 'aarch64-linux-gnu-gcc' failed with exit status 1

@ronlaws86 ronlaws86 changed the title Can't run setup.py Setup.py fails to run properly Apr 3, 2020
@ailegion
Copy link
Collaborator

ailegion commented Apr 6, 2020

@ronlaws86 can you please provide more details like what platform/OS you are using? I don't think we encountered this issue before so any detail you can provide will be of great help.

@ghost81
Copy link

ghost81 commented Apr 7, 2020

There is an error in app/__metadata__.py
The VERSION is still 2.1.2 instead 2.1.3

@ailegion
Copy link
Collaborator

@ghost81 there is fix on current develop branch - once the next release is available this issue should be resolved

@ronlaws86
Copy link
Author

deleted old branch and re-ran a git pull and setup worked. was able to launch.
However on both machines I did this on, (Ones AMD64 ones arm64) I get This Issue now but that's not in the scope of this issue.

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