Skip to content

Commit af3aa35

Browse files
committed
it's literally complaining that I don't have setup tools while I'm installing setuptools. Whatever, I'll try to install virtualenv seperately after the seutptools and pip install. And install python3-setuptools from apt.
2020-05-31T23:11:57.6892370Z + uname -a 2020-05-31T23:11:57.6900764Z Linux fv-az68 5.3.0-1020-azure #21~18.04.1-Ubuntu SMP Wed Apr 15 09:35:56 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux 2020-05-31T23:11:57.6901915Z + cat /etc/issue 2020-05-31T23:11:57.6913659Z + which python 2020-05-31T23:11:57.6913784Z Ubuntu 18.04.4 LTS \n \l 2020-05-31T23:11:57.6914578Z 2020-05-31T23:11:57.6919544Z /usr/bin/python 2020-05-31T23:11:57.6922254Z + which python3.7 2020-05-31T23:11:57.6929527Z /usr/bin/python3.7 2020-05-31T23:11:57.6932511Z + /usr/bin/python3.7 -m pip install --upgrade --user pip setuptools virtualenv 2020-05-31T23:11:59.2763769Z Collecting pip 2020-05-31T23:11:59.5378224Z Downloading https://files.pythonhosted.org/packages/43/84/23ed6a1796480a6f1a2d38f2802901d078266bda38388954d01d3f2e821d/pip-20.1.1-py2.py3-none-any.whl (1.5MB) 2020-05-31T23:11:59.8822328Z Collecting setuptools 2020-05-31T23:12:00.2672413Z Downloading https://files.pythonhosted.org/packages/95/95/f657b6e17f00c3f35b5f68b10e46c3a43af353d8856bd57bfcfb1dbb3e92/setuptools-47.1.1-py3-none-any.whl (583kB) 2020-05-31T23:12:00.4253404Z Collecting virtualenv 2020-05-31T23:12:00.6021434Z Downloading https://files.pythonhosted.org/packages/57/6e/a13442adf18bada682f88f55638cd43cc7a39c3e00fdcf898ca4ceaeb682/virtualenv-20.0.21-py2.py3-none-any.whl (4.7MB) 2020-05-31T23:12:01.1603988Z Collecting six<2,>=1.9.0 (from virtualenv) 2020-05-31T23:12:01.2524077Z Downloading https://files.pythonhosted.org/packages/ee/ff/48bde5c0f013094d729fe4b0316ba2a24774b3ff1c52d924a8a4cb04078a/six-1.15.0-py2.py3-none-any.whl 2020-05-31T23:12:01.2562978Z Collecting importlib-metadata<2,>=0.12; python_version < "3.8" (from virtualenv) 2020-05-31T23:12:01.3764816Z Downloading https://files.pythonhosted.org/packages/ad/e4/891bfcaf868ccabc619942f27940c77a8a4b45fd8367098955bb7e152fb1/importlib_metadata-1.6.0-py2.py3-none-any.whl 2020-05-31T23:12:01.3925128Z Collecting distlib<1,>=0.3.0 (from virtualenv) 2020-05-31T23:12:01.4701767Z Downloading https://files.pythonhosted.org/packages/7d/29/694a3a4d7c0e1aef76092e9167fbe372e0f7da055f5dcf4e1313ec21d96a/distlib-0.3.0.zip (571kB) 2020-05-31T23:12:01.8469512Z Complete output from command python setup.py egg_info: 2020-05-31T23:12:01.8470380Z Traceback (most recent call last): 2020-05-31T23:12:01.8470722Z File "<string>", line 1, in <module> 2020-05-31T23:12:01.8471692Z ModuleNotFoundError: No module named 'setuptools' 2020-05-31T23:12:01.8472201Z Error in sys.excepthook: 2020-05-31T23:12:01.8472535Z Traceback (most recent call last): 2020-05-31T23:12:01.8473199Z File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook 2020-05-31T23:12:01.8473634Z from apport.fileutils import likely_packaged, get_recent_crashes 2020-05-31T23:12:01.8474301Z File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module> 2020-05-31T23:12:01.8474765Z from apport.report import Report 2020-05-31T23:12:01.8475586Z File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module> 2020-05-31T23:12:01.8476017Z import apport.fileutils 2020-05-31T23:12:01.8476635Z File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in <module> 2020-05-31T23:12:01.8477048Z from apport.packaging_impl import impl as packaging 2020-05-31T23:12:01.8477677Z File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 24, in <module> 2020-05-31T23:12:01.8478106Z import apt 2020-05-31T23:12:01.8478745Z File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module> 2020-05-31T23:12:01.8479180Z import apt_pkg 2020-05-31T23:12:01.8479700Z ModuleNotFoundError: No module named 'apt_pkg' 2020-05-31T23:12:01.8480190Z 2020-05-31T23:12:01.8480593Z Original exception was: 2020-05-31T23:12:01.8480923Z Traceback (most recent call last): 2020-05-31T23:12:01.8481492Z File "<string>", line 1, in <module> 2020-05-31T23:12:01.8482216Z ModuleNotFoundError: No module named 'setuptools' 2020-05-31T23:12:01.8484324Z 2020-05-31T23:12:01.8485113Z ---------------------------------------- 2020-05-31T23:12:01.8711762Z Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-4pt0n61e/distlib/ 2020-05-31T23:12:01.9196812Z + /usr/bin/python3.7 -m virtualenv /tmp/kivy_venv 2020-05-31T23:12:01.9411895Z /usr/bin/python3.7: No module named virtualenv # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # # On branch master # Your branch is up to date with 'origin/master'. # # Changes to be committed: # modified: build/linux/buildAppImage.sh #
1 parent 0c20e56 commit af3aa35

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build/linux/buildAppImage.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,16 @@ PYTHON_PATH='/usr/bin/python3.7'
2626
###################
2727

2828
# install os-level depends
29-
sudo apt-get update; sudo apt-get -y install python3.7 python3-pip wget rsync fuse
29+
sudo apt-get update; sudo apt-get -y install python3.7 python3-pip python3-setuptools wget rsync fuse
3030

3131
uname -a
3232
cat /etc/issue
3333
which python
3434
which python3.7
3535

3636
# setup a virtualenv to isolate our app's python depends
37-
${PYTHON_PATH} -m pip install --upgrade --user pip setuptools virtualenv
37+
${PYTHON_PATH} -m pip install --upgrade --user pip setuptools
38+
${PYTHON_PATH} -m pip install --upgrade --user virtualenv
3839
${PYTHON_PATH} -m virtualenv /tmp/kivy_venv
3940

4041
# install kivy and all other python dependencies with pip into our virtual env

0 commit comments

Comments
 (0)