--
You received this message because you are subscribed to a topic in the Google Groups "pylons-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pylons-discuss/MSAMBzwx7aQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pylons-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to pylons-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/r473Ps-10123i-DAE8335B3C284D64850AFE30ADDE458D%40Steves-iMac.local.
To post to this group, send email to pylons-discuss@googlegroups.com.
To post to this group, send email to pylons-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/r473Ps-10123i-DAE8335B3C284D64850AFE30ADDE458D%40Steves-iMac.local.
--
You received this message because you are subscribed to the Google Groups "pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/a52e9324-14e9-44ef-b602-5b9331bc1c26%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/a52e9324-14e9-44ef-b602-5b9331bc1c26%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "pylons-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pylons-discuss/MSAMBzwx7aQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pylons-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to pylons-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/CAKdhhwFFMRZLPjwKn6ZTvs8Qary8NoRNp9P-m9Kizs2Gkpk8qw%40mail.gmail.com.
--
You received this message because you are subscribed to a topic in the Google Groups "pylons-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pylons-discuss/MSAMBzwx7aQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pylons-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to pylons-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/oaa9lb%24l0i%241%40blaine.gmane.org.
-----END PGP SIGNATURE-----
--
You received this message because you are subscribed to a topic in the Google Groups "pylons-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pylons-discuss/MSAMBzwx7aQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pylons-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to pylons-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/oac412%24p8k%241%40blaine.gmane.org.
(venv)[ec2-user@ip-172-31-13-110 ~]$ virtualenv -p python3 deprecationRunning virtualenv with interpreter /opt/python/run/venv/bin/python3Using real prefix '/usr'New python executable in deprecation/bin/python3Also creating executable in deprecation/bin/pythonInstalling setuptools, pip...done.
(deprecation)[ec2-user@ip-172-31-13-110 ~]$ pip install pyramidYou are using pip version 6.0.8, however version 9.0.1 is available.You should consider upgrading via the 'pip install --upgrade pip' command.Collecting pyramidDownloading pyramid-1.8.3-py2.py3-none-any.whl (574kB)100% |################################| 577kB 511kB/sCollecting PasteDeploy>=1.5.0 (from pyramid)Downloading PasteDeploy-1.5.2-py2.py3-none-any.whlCollecting zope.deprecation>=3.5.0 (from pyramid)Downloading zope.deprecation-4.2.0-py2.py3-none-any.whlCollecting repoze.lru>=0.4 (from pyramid)Downloading repoze.lru-0.6.tar.gzCollecting venusian>=1.0a3 (from pyramid)Downloading venusian-1.0.tar.gz (45kB)100% |################################| 49kB 3.5MB/sCollecting WebOb>=1.7.0rc2 (from pyramid)Downloading WebOb-1.7.1-py2.py3-none-any.whl (83kB)100% |################################| 86kB 2.6MB/sCollecting hupper (from pyramid)Downloading hupper-0.4.4-py2.py3-none-any.whlRequirement already satisfied (use --upgrade to upgrade): setuptools in ./deprecation/lib/python3.4/site-packages (from pyramid)Collecting translationstring>=0.4 (from pyramid)Downloading translationstring-1.3-py2.py3-none-any.whlCollecting zope.interface>=3.8.0 (from pyramid)Downloading zope.interface-4.3.3.tar.gz (150kB)100% |################################| 151kB 1.7MB/sInstalling collected packages: zope.interface, translationstring, hupper, WebOb, venusian, repoze.lru, zope.deprecation, PasteDeploy, pyramidRunning setup.py install for zope.interfacebuilding 'zope.interface._zope_interface_coptimizations' extensiongcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.4m -c src/zope/interface/_zope_interface_coptimizations.c -o build/temp.linux-x86_64-3.4/src/zope/interface/_zope_interface_coptimizations.osrc/zope/interface/_zope_interface_coptimizations.c:34:1: warning: "METH_KEYWORDS" redefinedIn file included from /usr/include/python3.4m/Python.h:90,from src/zope/interface/_zope_interface_coptimizations.c:15:/usr/include/python3.4m/methodobject.h:56:1: warning: this is the location of the previous definitiongcc -pthread -shared build/temp.linux-x86_64-3.4/src/zope/interface/_zope_interface_coptimizations.o -L/usr/lib64 -lpython3.4m -o build/lib.linux-x86_64-3.4/zope/interface/_zope_interface_coptimizations.cpython-34m.soSkipping installation of /home/ec2-user/deprecation/lib64/python3.4/site-packages/zope/__init__.py (namespace package)Installing /home/ec2-user/deprecation/lib64/python3.4/site-packages/zope.interface-4.3.3-py3.4-nspkg.pthRunning setup.py install for venusianRunning setup.py install for repoze.lruSkipping installation of /home/ec2-user/deprecation/lib/python3.4/site-packages/repoze/__init__.py (namespace package)Installing /home/ec2-user/deprecation/lib/python3.4/site-packages/repoze.lru-0.6-py3.4-nspkg.pth
Successfully installed PasteDeploy-1.5.2 WebOb-1.7.1 hupper-0.4.4 pyramid-1.8.3 repoze.lru-0.6 translationstring-1.3 venusian-1.0 zope.deprecation-4.2.0 zope.interface-4.3.3
(deprecation)[ec2-user@ip-172-31-13-110 ~]$ pip freezeYou are using pip version 6.0.8, however version 9.0.1 is available.You should consider upgrading via the 'pip install --upgrade pip' command.hupper==0.4.4PasteDeploy==1.5.2pyramid==1.8.3repoze.lru==0.6translationstring==1.3venusian==1.0WebOb==1.7.1zope.deprecation==4.2.0zope.interface==4.3.3
(deprecation)[ec2-user@ip-172-31-13-110 deprecation]$ pythonPython 3.4.3 (default, Sep 1 2016, 23:33:38)[GCC 4.8.3 20140911 (Red Hat 4.8.3-9)] on linuxType "help", "copyright", "credits" or "license" for more information.>>> import pip #needed to use the pip functions>>> for i in pip.get_installed_distributions(local_only=True):... print(i)...zope.interface 4.3.3pip 6.0.8pyramid 1.8.3zope.deprecation 4.2.0translationstring 1.3venusian 1.0PasteDeploy 1.5.2repoze.lru 0.6setuptools 12.0.5WebOb 1.7.1hupper 0.4.4>>>
>>> from zope.deprecation import deprecated
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named 'zope.deprecation'
(deprecation)[ec2-user@ip-172-31-13-110 site-packages]$ pwd/home/ec2-user/deprecation/lib/python3.4/site-packages(deprecation)[ec2-user@ip-172-31-13-110 site-packages]$ ls -ltotal 412drwxrwxr-x 2 ec2-user ec2-user 4096 Mar 16 02:34 appdirs-1.4.3.dist-info-rw-rw-r-- 1 ec2-user ec2-user 24701 Mar 16 02:34 appdirs.py-rw-rw-r-- 1 ec2-user ec2-user 126 Mar 16 02:34 easy_install.pydrwxrwxr-x 3 ec2-user ec2-user 4096 Mar 16 02:13 hupperdrwxrwxr-x 2 ec2-user ec2-user 4096 Mar 16 02:13 hupper-0.4.4.dist-infodrwxrwxr-x 3 ec2-user ec2-user 4096 Mar 16 02:34 packagingdrwxrwxr-x 2 ec2-user ec2-user 4096 Mar 16 02:34 packaging-16.8.dist-infodrwxrwxr-x 3 ec2-user ec2-user 4096 Mar 16 02:13 pastedrwxrwxr-x 2 ec2-user ec2-user 4096 Mar 16 02:13 PasteDeploy-1.5.2.dist-info-rw-rw-r-- 1 ec2-user ec2-user 304 Mar 16 02:13 PasteDeploy-1.5.2-py2.6-nspkg.pthdrwxrwxr-x 11 ec2-user ec2-user 4096 Mar 16 02:33 pipdrwxrwxr-x 2 ec2-user ec2-user 4096 Mar 16 02:33 pip-9.0.1.dist-infodrwxrwxr-x 3 ec2-user ec2-user 4096 Mar 16 02:34 pkg_resourcesdrwxrwxr-x 2 ec2-user ec2-user 4096 Mar 16 02:34 __pycache__drwxrwxr-x 2 ec2-user ec2-user 4096 Mar 16 02:34 pyparsing-2.2.0.dist-info-rw-rw-r-- 1 ec2-user ec2-user 231039 Mar 16 02:34 pyparsing.pydrwxrwxr-x 7 ec2-user ec2-user 4096 Mar 16 02:13 pyramiddrwxrwxr-x 2 ec2-user ec2-user 4096 Mar 16 02:13 pyramid-1.8.3.dist-infodrwxrwxr-x 3 ec2-user ec2-user 4096 Mar 16 02:13 repozedrwxrwxr-x 2 ec2-user ec2-user 4096 Mar 16 02:13 repoze.lru-0.6-py3.4.egg-info-rw-rw-r-- 1 ec2-user ec2-user 305 Mar 16 02:13 repoze.lru-0.6-py3.4-nspkg.pthdrwxrwxr-x 4 ec2-user ec2-user 4096 Mar 16 02:34 setuptoolsdrwxrwxr-x 2 ec2-user ec2-user 4096 Mar 16 02:34 setuptools-34.3.2.dist-infodrwxrwxr-x 2 ec2-user ec2-user 4096 Mar 16 02:34 six-1.10.0.dist-info-rw-rw-r-- 1 ec2-user ec2-user 30098 Mar 16 02:34 six.pydrwxrwxr-x 4 ec2-user ec2-user 4096 Mar 16 02:13 translationstringdrwxrwxr-x 2 ec2-user ec2-user 4096 Mar 16 02:13 translationstring-1.3.dist-infodrwxrwxr-x 5 ec2-user ec2-user 4096 Mar 16 02:13 venusiandrwxrwxr-x 2 ec2-user ec2-user 4096 Mar 16 02:13 venusian-1.0-py3.4.egg-infodrwxrwxr-x 3 ec2-user ec2-user 4096 Mar 16 02:13 webobdrwxrwxr-x 2 ec2-user ec2-user 4096 Mar 16 02:13 WebOb-1.7.1.dist-infodrwxrwxr-x 3 ec2-user ec2-user 4096 Mar 16 02:42 zopedrwxrwxr-x 2 ec2-user ec2-user 4096 Mar 16 02:42 zope.deprecation-4.2.0.dist-info-rw-rw-r-- 1 ec2-user ec2-user 349 Mar 16 02:42 zope.deprecation-4.2.0-py2.7-nspkg.pth(deprecation)[ec2-user@ip-172-31-13-110 site-packages]$ cd zope(deprecation)[ec2-user@ip-172-31-13-110 zope]$ ls -ltotal 4drwxrwxr-x 3 ec2-user ec2-user 4096 Mar 16 02:42 deprecation(deprecation)[ec2-user@ip-172-31-13-110 zope]$
(deprecation)[ec2-user@ip-172-31-13-110 site-packages]$ pwd/home/ec2-user/deprecation/lib64/python3.4/site-packages(deprecation)[ec2-user@ip-172-31-13-110 site-packages]$ ls -ltotal 12drwxrwxr-x 3 ec2-user ec2-user 4096 Mar 16 02:42 zopedrwxrwxr-x 2 ec2-user ec2-user 4096 Mar 16 02:42 zope.interface-4.3.3-py3.4.egg-info-rw-rw-r-- 1 ec2-user ec2-user 529 Mar 16 02:42 zope.interface-4.3.3-py3.4-nspkg.pth(deprecation)[ec2-user@ip-172-31-13-110 site-packages]$ cd zope(deprecation)[ec2-user@ip-172-31-13-110 zope]$ ls -ltotal 4drwxrwxr-x 5 ec2-user ec2-user 4096 Mar 16 02:42 interface(deprecation)[ec2-user@ip-172-31-13-110 zope]$
To post to this group, send email to pylons-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/FCC078CD-075A-4729-B69B-E5928B1A22D1%400x58.com.
[ec2-user@ip-172-31-4-9 ~]$ cat /etc/*-releaseNAME="Amazon Linux AMI"VERSION="2016.09"ID="amzn"ID_LIKE="rhel fedora"VERSION_ID="2016.09"PRETTY_NAME="Amazon Linux AMI 2016.09"ANSI_COLOR="0;33"CPE_NAME="cpe:/o:amazon:linux:2016.09:ga"HOME_URL="http://aws.amazon.com/amazon-linux-ami/"Amazon Linux AMI release 2016.09
However, I was able to do the following[ec2-user@ip-172-31-4-9 ~]$ python3 -m venv /home/ec2-user/dep2Error: Command '['/home/ec2-user/dep2/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1
So this means no pip. To get past that I downloaded and installed pip[ec2-user@ip-172-31-4-9 ~]$ python3 -m venv --without-pip $VENV[ec2-user@ip-172-31-4-9 ~]$ ls depbin include lib lib64 pyvenv.cfg[ec2-user@ip-172-31-4-9 ~]$ ls dep/bin/activate activate.csh activate.fish python python3
Then upgraded pip for good measure. This was pointless, but I wanted to make sure.[ec2-user@ip-172-31-4-9 ~]$ curl https://bootstrap.pypa.io/get-pip.py | $VENV/bin/python3% Total % Received % Xferd Average Speed Time Time Time CurrentDload Upload Total Spent Left Speed100 1558k 100 1558k 0 0 2817k 0 --:--:-- --:--:-- --:--:-- 2817kCollecting pipUsing cached pip-9.0.1-py2.py3-none-any.whlCollecting setuptoolsUsing cached setuptools-34.3.2-py2.py3-none-any.whlCollecting wheelUsing cached wheel-0.29.0-py2.py3-none-any.whlCollecting six>=1.6.0 (from setuptools)Using cached six-1.10.0-py2.py3-none-any.whlCollecting appdirs>=1.4.0 (from setuptools)Using cached appdirs-1.4.3-py2.py3-none-any.whlCollecting packaging>=16.8 (from setuptools)Using cached packaging-16.8-py2.py3-none-any.whlCollecting pyparsing (from packaging>=16.8->setuptools)Using cached pyparsing-2.2.0-py2.py3-none-any.whlInstalling collected packages: pip, six, appdirs, pyparsing, packaging, setuptools, wheelSuccessfully installed appdirs-1.4.3 packaging-16.8 pip-9.0.1 pyparsing-2.2.0 setuptools-34.3.2 six-1.10.0 wheel-0.29.0[ec2-user@ip-172-31-4-9 ~]$ ls dep/bin/activate activate.fish easy_install-3.4 pip3 python wheelactivate.csh easy_install pip pip3.4 python3
[ec2-user@ip-172-31-4-9 ~]$ $VENV/bin/pip install --upgrade pip setuptoolsRequirement already up-to-date: pip in ./dep/lib/python3.4/site-packagesRequirement already up-to-date: setuptools in ./dep/lib/python3.4/site-packagesRequirement already up-to-date: packaging>=16.8 in ./dep/lib/python3.4/site-packages (from setuptools)Requirement already up-to-date: six>=1.6.0 in ./dep/lib/python3.4/site-packages (from setuptools)Requirement already up-to-date: appdirs>=1.4.0 in ./dep/lib/python3.4/site-packages (from setuptools)Requirement already up-to-date: pyparsing in ./dep/lib/python3.4/site-packages (from packaging>=16.8->setuptools)
[ec2-user@ip-172-31-4-9 ~]$ $VENV/bin/pip install pyramid
Collecting pyramidDownloading pyramid-1.8.3-py2.py3-none-any.whl (574kB)
100% |████████████████████████████████| 583kB 1.2MB/s
Collecting PasteDeploy>=1.5.0 (from pyramid)Downloading PasteDeploy-1.5.2-py2.py3-none-any.whl
Collecting venusian>=1.0a3 (from pyramid)Downloading venusian-1.0.tar.gz (45kB)
100% |████████████████████████████████| 51kB 5.0MB/sRequirement already satisfied: setuptools in ./dep/lib/python3.4/site-packages (from pyramid)
Collecting zope.deprecation>=3.5.0 (from pyramid)Downloading zope.deprecation-4.2.0-py2.py3-none-any.whlCollecting repoze.lru>=0.4 (from pyramid)Downloading repoze.lru-0.6.tar.gz
Collecting WebOb>=1.7.0rc2 (from pyramid)
Downloading WebOb-1.7.2-py2.py3-none-any.whl (83kB)100% |████████████████████████████████| 92kB 3.4MB/s
Collecting hupper (from pyramid)Downloading hupper-0.4.4-py2.py3-none-any.whl
Collecting translationstring>=0.4 (from pyramid)Downloading translationstring-1.3-py2.py3-none-any.whlCollecting zope.interface>=3.8.0 (from pyramid)Downloading zope.interface-4.3.3.tar.gz (150kB)
100% |████████████████████████████████| 153kB 3.2MB/sRequirement already satisfied: six>=1.6.0 in ./dep/lib/python3.4/site-packages (from setuptools->pyramid)Requirement already satisfied: appdirs>=1.4.0 in ./dep/lib/python3.4/site-packages (from setuptools->pyramid)Requirement already satisfied: packaging>=16.8 in ./dep/lib/python3.4/site-packages (from setuptools->pyramid)Requirement already satisfied: pyparsing in ./dep/lib/python3.4/site-packages (from packaging>=16.8->setuptools->pyramid)Building wheels for collected packages: venusian, repoze.lru, zope.interfaceRunning setup.py bdist_wheel for venusian ... doneStored in directory: /home/ec2-user/.cache/pip/wheels/5c/84/95/93b9705c1e71faa11c58e4e62f35664e6b9eab97ef8dffa56bRunning setup.py bdist_wheel for repoze.lru ... doneStored in directory: /home/ec2-user/.cache/pip/wheels/b2/cd/b3/7e24400bff83325a01d492940eff6e9579f553f33348323d79Running setup.py bdist_wheel for zope.interface ... doneStored in directory: /home/ec2-user/.cache/pip/wheels/00/aa/8b/f1d1eb398423e59894b45ee151344e243808156c2d182c9f4eSuccessfully built venusian repoze.lru zope.interfaceInstalling collected packages: PasteDeploy, venusian, zope.deprecation, repoze.lru, WebOb, hupper, translationstring, zope.interface, pyramidSuccessfully installed PasteDeploy-1.5.2 WebOb-1.7.2 hupper-0.4.4 pyramid-1.8.3 repoze.lru-0.6 translationstring-1.3 venusian-1.0 zope.deprecation-4.2.0 zope.interface-4.3.3
[ec2-user@ip-172-31-4-9 dep]$ pwd/home/ec2-user/dep[ec2-user@ip-172-31-4-9 dep]$ ls -latotal 28drwxrwxr-x 5 ec2-user ec2-user 4096 Mar 17 09:30 .drwx------ 6 ec2-user ec2-user 4096 Mar 17 09:28 ..drwxrwxr-x 2 ec2-user ec2-user 4096 Mar 17 09:34 bindrwxrwxr-x 2 ec2-user ec2-user 4096 Mar 17 09:28 includedrwxrwxr-x 3 ec2-user ec2-user 4096 Mar 17 09:28 liblrwxrwxrwx 1 ec2-user ec2-user 3 Mar 17 09:28 lib64 -> lib-rw-rw-r-- 1 ec2-user ec2-user 60 Mar 17 09:30 pip-selfcheck.json-rw-rw-r-- 1 ec2-user ec2-user 69 Mar 17 09:28 pyvenv.cfg[ec2-user@ip-172-31-4-9 dep]$ $VENV/bin/python
Python 3.4.3 (default, Sep 1 2016, 23:33:38)[GCC 4.8.3 20140911 (Red Hat 4.8.3-9)] on linuxType "help", "copyright", "credits" or "license" for more information.
>>> import zope.deprecation>>> import zope.interface>>> YAY NO ERRORS!!!File "<stdin>", line 1YAY NO ERRORS!!!^IndentationError: unexpected indent
To unsubscribe from this group and all its topics, send an email to pylons-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to pylons-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/oac412%24p8k%241%40blaine.gmane.org.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to pylons-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/CAKbG-MjGQe327AQGoPqYXR76f5uDJ7dMmG0Zu2%3D_TztuTJcwAw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to pylons-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/FCC078CD-075A-4729-B69B-E5928B1A22D1%400x58.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "pylons-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pylons-discuss/MSAMBzwx7aQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pylons-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to pylons-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/36BE72D0-1224-4E06-81A7-EE5822959639%400x58.com.
To post to this group, send email to pylons-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/ms
gid/pylons-discuss/oac412%24p8k%241%40blaine.gmane.org.
For more options, visit https://groups.google.com/d/optout.
------------------------
Steve Piercy, Soquel, CA
--
You received this message because you are subscribed to a topic in the Google Groups "pylons-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pylons-discuss/MSAMBzwx7aQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pylons-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to pylons-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/r473Ps-10123i-2C8B88E6B4804511BFCE836EC6CEAE61%40Steves-iMac.local.
On Mar 17, 2017, at 03:53, Dan Clark <wpu....@gmail.com> wrote:Got stuck and then unstuck, but there are questions.First, AWS's EB linux instances are redhat-ish[ec2-user@ip-172-31-4-9 ~]$ cat /etc/*-releaseNAME="Amazon Linux AMI"VERSION="2016.09"ID="amzn"ID_LIKE="rhel fedora"VERSION_ID="2016.09"PRETTY_NAME="Amazon Linux AMI 2016.09"ANSI_COLOR="0;33"CPE_NAME="cpe:/o:amazon:linux:2016.09:ga"HOME_URL="http://aws.amazon.com/amazon-linux-ami/"Amazon Linux AMI release 2016.09Also trying to use python3 -m venv resulted in the following[ec2-user@ip-172-31-4-9 ~]$ python3 -m venv /home/ec2-user/dep2Error: Command '['/home/ec2-user/dep2/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1
* How do we turn this into an easy to deploy boilerplate?
* Am I knucklehead for downloading get-pip.py?
* Do I need to get AWS staff involved to get something fixed since their default install process isn't working?
* Should I become a plumber and forget all of this?
* What does 42 mean?
To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discus...@googlegroups.com.
To post to this group, send email to pylons-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/CAKbG-Mh5WWQRpehzdsk53K7aFi0p%3D2SOw8MTrvufEoWZBpP__w%40mail.gmail.com.
However, I am not sure what you want me to look for. If I go into /usr/bin here are the ones I think might be relevant[ec2-user@ip-172-31-4-9 ~]$ python3 --versionPython 3.4.3[ec2-user@ip-172-31-4-9 ~]$ which python3/usr/bin/python3
--
You received this message because you are subscribed to a topic in the Google Groups "pylons-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pylons-discuss/MSAMBzwx7aQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pylons-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to pylons-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/r473Ps-10123i-C625127BE1D54D76855C51B33312A5AC%40Steves-iMac.local.
[ec2-user@ip-172-31-28-79 ~]$ sudo yum update
... Omitted checksRunning transactionUpdating : 1:openssl-1.0.1k-15.99.amzn1.x86_64 1/11Updating : 1:openssl-devel-1.0.1k-15.99.amzn1.x86_64 2/11Updating : kernel-headers-4.4.51-40.58.amzn1.x86_64 3/11Updating : kernel-tools-4.4.51-40.58.amzn1.x86_64 4/11Installing : kernel-4.4.51-40.58.amzn1.x86_64 5/11Updating : python27-crypto-2.6.1-1.14.amzn1.x86_64 6/11Cleanup : 1:openssl-devel-1.0.1k-15.96.amzn1.x86_64 7/11Cleanup : kernel-headers-4.4.44-39.55.amzn1.x86_64 8/11Cleanup : 1:openssl-1.0.1k-15.96.amzn1.x86_64 9/11Cleanup : kernel-tools-4.4.44-39.55.amzn1.x86_64 10/11Cleanup : python27-crypto-2.6.1-1.12.amzn1.x86_64 11/11Verifying : python27-crypto-2.6.1-1.14.amzn1.x86_64 1/11Verifying : kernel-4.4.51-40.58.amzn1.x86_64 2/11Verifying : kernel-tools-4.4.51-40.58.amzn1.x86_64 3/11Verifying : kernel-headers-4.4.51-40.58.amzn1.x86_64 4/11Verifying : 1:openssl-devel-1.0.1k-15.99.amzn1.x86_64 5/11Verifying : 1:openssl-1.0.1k-15.99.amzn1.x86_64 6/11Verifying : 1:openssl-1.0.1k-15.96.amzn1.x86_64 7/11Verifying : 1:openssl-devel-1.0.1k-15.96.amzn1.x86_64 8/11Verifying : kernel-tools-4.4.44-39.55.amzn1.x86_64 9/11Verifying : kernel-headers-4.4.44-39.55.amzn1.x86_64 10/11Verifying : python27-crypto-2.6.1-1.12.amzn1.x86_64 11/11Installed:kernel.x86_64 0:4.4.51-40.58.amzn1Updated:kernel-headers.x86_64 0:4.4.51-40.58.amzn1 kernel-tools.x86_64 0:4.4.51-40.58.amzn1openssl.x86_64 1:1.0.1k-15.99.amzn1 openssl-devel.x86_64 1:1.0.1k-15.99.amzn1python27-crypto.x86_64 0:2.6.1-1.14.amzn1
Complete!
[ec2-user@ip-172-31-28-79 bin]$ /usr/bin/python --versionPython 2.7.12[ec2-user@ip-172-31-28-79 bin]$ /usr/bin/python3 --versionPython 3.4.3[ec2-user@ip-172-31-28-79 bin]$ /usr/bin/pip --version
pip 6.1.1 from /usr/lib/python2.7/dist-packages (python 2.7)
[ec2-user@ip-172-31-28-79 bin]$ /usr/bin/easy_install --versionsetuptools 12.2
To post to this group, send email to pylons-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/ms
gid/pylons-discuss/r473Ps-10123i-C625127BE1D54D76855C51B3331
2A5AC%40Steves-iMac.local.
For more options, visit https://groups.google.com/d/optout.
------------------------
Steve Piercy, Soquel, CA
--
You received this message because you are subscribed to a topic in the Google Groups "pylons-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pylons-discuss/MSAMBzwx7aQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pylons-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/r473Ps-10123i-FD312D5DC1984B3091DE8914CAE81E8D%40Steves-iMac.local.
[ec2-user@ip-172-31-28-79 dist-packages]$ which python3/usr/bin/python3[ec2-user@ip-172-31-28-79 dist-packages]$ python3 -m ensurepip
Traceback (most recent call last):
I decided to search if ensurepip is anywhere. First I checked /usr/lib and /usr/lib64.File "/usr/lib64/python3.4/runpy.py", line 170, in _run_module_as_main"__main__", mod_spec)File "/usr/lib64/python3.4/runpy.py", line 85, in _run_codeexec(code, run_globals)File "/usr/lib64/python3.4/ensurepip/__main__.py", line 4, in <module>ensurepip._main()File "/usr/lib64/python3.4/ensurepip/__init__.py", line 209, in _maindefault_pip=args.default_pip,File "/usr/lib64/python3.4/ensurepip/__init__.py", line 98, in bootstrap"_bundled/{}".format(wheel_name),File "/usr/lib64/python3.4/pkgutil.py", line 629, in get_datareturn loader.get_data(resource_name)File "<frozen importlib._bootstrap>", line 1623, in get_dataFileNotFoundError: [Errno 2] No such file or directory: '/usr/lib64/python3.4/ensurepip/_bundled/setuptools-12.0.5-py2.py3-none-any.whl'[ec2-user@ip-172-31-28-79 dist-packages]$
I am not sure what this means. There isn't a _bundled directory to get the wheel from. It sounds like some sort of custom/old python install that is missing things.[ec2-user@ip-172-31-28-79 bin]$ cd /usr/lib/python3.4/[ec2-user@ip-172-31-28-79 python3.4]$ lsdist-packages[ec2-user@ip-172-31-28-79 python3.4]$ cd dist-packages/[ec2-user@ip-172-31-28-79 dist-packages]$ ls__pycache__ README...[ec2-user@ip-172-31-28-79 python3.4]$ cd /usr/lib64/python3.4[ec2-user@ip-172-31-28-79 python3.4]$ ls -la | grep ensudrwxr-xr-x 3 root root 4096 Mar 7 19:40 ensurepip[ec2-user@ip-172-31-28-79 python3.4]$ cd ensurepip/[ec2-user@ip-172-31-28-79 ensurepip]$ ls -latotal 28drwxr-xr-x 3 root root 4096 Mar 7 19:40 .drwxr-xr-x 33 root root 4096 Mar 7 19:40 ..-rw-r--r-- 1 root root 6391 Sep 1 2016 __init__.py-rw-r--r-- 1 root root 67 Sep 1 2016 __main__.pydrwxr-xr-x 2 root root 4096 Mar 7 19:40 __pycache__-rw-r--r-- 1 root root 780 Sep 1 2016 _uninstall.py
--
You received this message because you are subscribed to a topic in the Google Groups "pylons-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pylons-discuss/MSAMBzwx7aQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pylons-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to pylons-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/r473Ps-10123i-5BE56888D60A4E4F98BD80886257387E%40Steves-iMac.local.
To post to this group, send email to pylons-...@googlegroups.com.
> >>>> pylons-discuss+unsubscribe@googlegroups.com.
> >>>> To post to this group, send email to pylons-discuss@googlegroups.com.
> >>>> To view this discussion on the web visit https://groups.google.com/d/ms
> >>>> gid/pylons-discuss/r473Ps-10123i-5BE56888D60A4E4F98BD8088625
> >>>> 7387E%40Steves-iMac.local.
> >>>> For more options, visit https://groups.google.com/d/optout.
> >>>>
> >>>
> >>>
> >>
> >
>
------------------------
Steve Piercy, Soquel, CA
--
You received this message because you are subscribed to a topic in the Google Groups "pylons-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pylons-discuss/MSAMBzwx7aQ/unsubscribe.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/r473Ps-10123i-78241046F47C4A5382EE723BD4AB1E40%40Steves-iMac.local.To unsubscribe from this group and all its topics, send an email to pylons-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to pylons-discuss@googlegroups.com.