You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After finding about python 2.7, I am now using the nexcloud reload branche / script.
I got this error duing the 1st script on nextcloud reloaded :
Collecting ansible==2.9.18
Downloading https://files.pythonhosted.org/packages/0a/39/a01454174d3c41f0fb6b4a26a677c33bfd1a7144b29e19d7b9549e84eda5/ansible-2.9.18.tar.gz (14.3MB)
100% |████████████████████████████████| 14.3MB 80kB/s
Collecting PyYAML (from ansible==2.9.18)
Downloading https://files.pythonhosted.org/packages/7a/5b/bc0b5ab38247bba158504a410112b6c03f153c652734ece1849749e5f518/PyYAML-5.4.1-cp36-cp36m-manylinux1_x86_64.whl (640kB)
100% |████████████████████████████████| 645kB 1.7MB/s
Collecting cryptography (from ansible==2.9.18)
Downloading https://files.pythonhosted.org/packages/9b/77/461087a514d2e8ece1c975d8216bc03f7048e6090c5166bc34115afdaa53/cryptography-3.4.7.tar.gz (546kB)
100% |████████████████████████████████| 552kB 2.1MB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-4yvgy84g/cryptography/setup.py", line 14, in <module>
from setuptools_rust import RustExtension
ModuleNotFoundError: No module named 'setuptools_rust'
=============================DEBUG ASSISTANCE==========================
If you are seeing an error here please try the following to
successfully install cryptography:
Upgrade to the latest pip and try again. This will fix errors for most
users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
=============================DEBUG ASSISTANCE==========================
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-4yvgy84g/cryptography/
------------------------------------------------------
Ubuntu System ready to install nextcloud.
main: line 19: ansible: command not found
------------------------------------------------------
To solve this I had to run this commands :
sudo python get-pip.py
sudo python3 -m pip install -U pip
sudo python3 -m pip install -U setuptools
1st script ran ok, with theses warning
distutils: /usr/local/lib/python3.6/dist-packages
sysconfig: /usr/lib/python3.6/site-packages
WARNING: Value for scheme.purelib does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local/lib/python3.6/dist-packages
sysconfig: /usr/lib/python3.6/site-packages
WARNING: Value for scheme.headers does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local/include/python3.6/UNKNOWN
sysconfig: /usr/include/python3.6m
WARNING: Value for scheme.scripts does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local/bin
sysconfig: /usr/bin
WARNING: Value for scheme.data does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local
sysconfig: /usr
WARNING: Additional context:
user = False
home = None
root = None
prefix = None
The text was updated successfully, but these errors were encountered:
Yeah. Sorry. But it seems (to me) impossible to maintain a script that simply installs ansible. You have to a kind python guru-hero to this.
I normally run and test my script on AWS EC2s and Hetzner vservers. Based on these images it was working up to now.
which base image/vserver did you use?
Hello, I am trying to go through this workbook.
After finding about python 2.7, I am now using the nexcloud reload branche / script.
I got this error duing the 1st script on nextcloud reloaded :
To solve this I had to run this commands :
sudo python get-pip.py
sudo python3 -m pip install -U pip
sudo python3 -m pip install -U setuptools
1st script ran ok, with theses warning
The text was updated successfully, but these errors were encountered: