1.https://www.cnblogs.com/VinsonYang/p/12189468.html
2.https://www.cnblogs.com/zhengyihan1216/p/6011640.html
3.https://www.cnblogs.com/ltz150/p/7233803.html
4.https://www.cnblogs.com/zhengyihan1216/p/6011640.html
id,name,age,dt,bl,time,dec
1,Esteja,35,2019-10-25,true,2019-10-12 15:35:48,1.23
2,SDGsjkd,23,2018-03-12,false,2017-09-14 20:12:35,23.65
[flowadmin@rhflow265 /]$ pip3 -V
pip 9.0.1 from /usr/local/python359/lib/python3.5/site-packages (python 3.5)
[flowadmin@rhflow265 /]$ cd /usr/local/python359/bin/
[flowadmin@rhflow265 bin]$ ls
2to3 easy_install-3.5 idle3.5 pip3.5 pydoc3.5 python3.5 python3.5m python3-config pyvenv-3.5
2to3-3.5 idle3 pip3 pydoc3 python3 python3.5-config python3.5m-config pyvenv
[flowadmin@rhflow265 bin]$ vi pip3
[flowadmin@rhflow265 bin]$ python3
Python 3.5.9 (default, Jan 14 2020, 18:25:08)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-36)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pip import main
>>> exit()
[flowadmin@rhflow265 bin]$ vi pip3
[flowadmin@rhflow265 bin]$ python3
Python 3.5.9 (default, Jan 14 2020, 18:25:08)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-36)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pip3 import maincd pip install jupyter
jupyter /usr/local/bin
rpm -qa | grep gcc
rpm -qa | grep setuptools
sudo python3 -m pip install sparkmagic
sudo ln -s /usr/local/python359/bin/python3.5 /usr/bin/python
ln -s /usr/local/python359/bin/python3 /usr/bin/python3
[flowadmin@rhflow265 bin]$ cd ~
[flowadmin@rhflow265 ~]$ cd /usr/bin/
[flowadmin@rhflow265 bin]$ pwd
/usr/bin
[flowadmin@rhflow265 bin]$ cd /usr/local/python359/bin/
[flowadmin@rhflow265 bin]$ ls
2to3 easy_install-3.5 idle3.5 pip3.5 pydoc3.5 python3.5 python3.5m python3-config pyvenv-3.5
2to3-3.5 idle3 pip3 pydoc3 python3 python3.5-config python3.5m-config pyvenv
[flowadmin@rhflow265 bin]$ ln -s /usr/local/python359/bin/pip3 /usr/bin/pip3
ln: failed to create symbolic link ‘/usr/bin/pip3’: File exists
[flowadmin@rhflow265 bin]$ ls -al /usr/bin | gre pip
bash: gre: command not found...
[flowadmin@rhflow265 bin]$ ls -al /usr/bin | grep pip
-rwxr-xr-x. 1 root root 2291 May 25 2015 lesspipe.sh
-rwxr-xr-x 1 root root 407 Mar 21 2019 pip3
lrwxrwxrwx 1 root root 9 Jan 15 23:04 pip-3 -> ./pip-3.6
lrwxrwxrwx 1 root root 8 Jan 15 23:04 pip-3.6 -> ./pip3.6
-rwxr-xr-x 1 root root 407 Mar 21 2019 pip3.6
[flowadmin@rhflow265 bin]$ rm -f /usr/bin/pip3
rm: cannot remove ‘/usr/bin/pip3’: Permission denied
[flowadmin@rhflow265 bin]$ sudo rm -f /usr/bin/pip3
[flowadmin@rhflow265 bin]$ ls -al /usr/bin | grep pip
-rwxr-xr-x. 1 root root 2291 May 25 2015 lesspipe.sh
lrwxrwxrwx 1 root root 9 Jan 15 23:04 pip-3 -> ./pip-3.6
lrwxrwxrwx 1 root root 8 Jan 15 23:04 pip-3.6 -> ./pip3.6
-rwxr-xr-x 1 root root 407 Mar 21 2019 pip3.6
[flowadmin@rhflow265 bin]$ ln -s /usr/local/python359/bin/pip3 /usr/bin/pip3
ln: failed to create symbolic link ‘/usr/bin/pip3’: Permission denied
[flowadmin@rhflow265 bin]$ sudo ln -s /usr/local/python359/bin/pip3 /usr/bin/pip3
[flowadmin@rhflow265 bin]$ pip3 -V
pip 9.0.1 from /usr/local/python359/lib/python3.5/site-packages (python 3.5)
[flowadmin@rhflow265 bin]$ ls -al /usr/bin | grep python
-rwxr-xr-x. 1 root root 11312 Aug 20 2018 abrt-action-analyze-python
lrwxrwxrwx 1 root root 29 Jan 18 22:28 pip3 -> /usr/local/python359/bin/pip3
lrwxrwxrwx 1 root root 7 Jan 16 01:26 python -> python2
lrwxrwxrwx 1 root root 9 Jan 16 01:26 python2 -> python2.7
-rwxr-xr-x 1 root root 7144 Jun 11 2019 python2.7
-rwxr-xr-x 1 root root 1835 Jun 11 2019 python2.7-config
lrwxrwxrwx 1 root root 16 Jan 16 01:26 python2-config -> python2.7-config
lrwxrwxrwx 1 root root 9 Jan 15 23:05 python3 -> python3.6
-rwxr-xr-x 2 root root 11336 Jun 11 2019 python3.6
-rwxr-xr-x 2 root root 11336 Jun 11 2019 python3.6m
lrwxrwxrwx. 1 root root 7 Dec 3 03:12 pythonbak_OLD -> python2
lrwxrwxrwx 1 root root 14 Jan 16 01:26 python-config -> python2-config
[flowadmin@rhflow265 bin]$ python -V
Python 2.7.5
[flowadmin@rhflow265 bin]$ python2 -V
Python 2.7.5
[flowadmin@rhflow265 bin]$ ln -s /usr/local/python359/bin/python3 /usr/bin/python3
ln: failed to create symbolic link ‘/usr/bin/python3’: File exists
[flowadmin@rhflow265 bin]$ sudo mv /usr/bin/python3 /usr/bin/python36
ls -al /usr/bin | grep python
[flowadmin@rhflow265 bin]$ sudo ln -s /usr/local/python359/bin/python3 /usr/bin/python3
[flowadmin@rhflow265 bin]$ python3 -V
Python 3.5.9
[flowadmin@rhflow265 bin]$ pwd
/usr/local/python359/bin
[flowadmin@rhflow265 bin]$ ls
2to3 easy_install-3.5 idle3.5 pip3.5 pydoc3.5 python3.5 python3.5m python3-config pyvenv-3.5
2to3-3.5 idle3 pip3 pydoc3 python3 python3.5-config python3.5m-config pyvenv
[flowadmin@rhflow265 bin]$ ln -s /usr/local/python359/bin/python3 /usr/bin/python3
sudo ln -s /usr/local/python359/bin/pip3 /usr/bin/pip3
sudo rm -f /usr/bin/pip3
[flowadmin@rhflow265 bin]$ ls -al /usr/bin | grep pip
pip3 list
<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
maxThreads="150" SSLEnabled="true" scheme="https" secure="true">
<SSLHostConfig truststoreFile="/opt/certificates/fta_truststore.jks"
truststorePassword="ftafta" certificateVerification="none"
protocols="TLSv1.1+TLSv1.2">
<Certificate
certificateKeystoreFile="/opt/certificates/rh76flow263.dfml.com.jks"
certificateKeyPassword="ftafta" certificateKeystorePassword="ftafta"
certificateKeyAlias="rh76flow263.dfml.com" type="RSA" />
</SSLHostConfig>
</Connector>
$lookupRDBMS("select * from mdzz where id="+@{column.DataGenerator_541437.id},1,"name")
num1,num2,num3
0.98,Brazil,1
71.21,Nance,10.5
testSystem1,a785c2e1-02242a7a7e6e,t100,2018-01-16 18:39:20,11.11,testData,Good,P0000
testSystem2,a785c2e1-02242a7a7e6e,t100,2018-01-16 18:40:20,22.11,testData,Good,P0000
http://www.dneonline.com/calculator.asmx?wsdl
http://www.dneonline.com/calculator.asmx?wsdl
http://webservices.oorsprong.org/websamples.countryinfo/CountryInfoService.wso?wsdl
http://www.dneonline.com/calculator.asmx
192.168.1.177 suse123.dfml.com suse123
192.168.11.157 suseambari.dfml.com suseamabari
yyyyy.MMMMM.dd GGG hh:mm aaa
yyyy.MM.dd G 'at' HH:mm:ss z
EEE, d MMM yyyy HH:mm:ss Z
"yyyy.MM.dd G 'at' HH:mm:ss z"
2001.07.04 AD at 12:08:56 PDT
"EEE, MMM d, ''yy"
Wed, Jul 4, '01
"h:mm a"
12:08 PM
"hh 'o''clock' a, zzzz"
12 o'clock PM, Pacific Daylight Time
"K:mm a, z"
0:08 PM, PDT
"yyyyy.MMMMM.dd GGG hh:mm aaa"
02001.July.04 AD 12:08 PM
"EEE, d MMM yyyy HH:mm:ss Z"
Wed, 4 Jul 2001 12:08:56 -0700
"yyMMddHHmmssZ"
010704120856-0700
"yyyy-MM-dd'T'HH:mm:ss.SSSZ"
2001-07-04T12:08:56.235-0700
2020-01-10 14\33\45
So this case has no test meaning, right ?
But flow is supported for other time formats, right? Something like this
http://svn1.pavtech.com/jira/browse/SCE-2878
sudo curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
[root@rhflow ~]# subscription-manager unregister
????
unregisterUnregistering from: subscription.rhsm.redhat.com:443/subscription
System has been unregistered.
[root@rhflow ~]# subscription-manager cleanAll local data removed
[root@rhflow ~]# subscription-manager register
Registering to: subscription.rhsm.redhat.com:443/subscription
Username: qktruong@ra.rockwell.com
Password: rockwell
The system has been registered with ID: 5be90853-e694-4542-b766-b6d009a1782c
[root@rhflow ~]# subscription-manager attach --auto
yum install gcc
yum install python-devel
# yum install krb5-devel
pip install --upgrade pip
yum install krb5-devel.x86_64
# jupyter-kernelspec install sparkmagic/kernels/sparkkernel
# jupyter-kernelspec install sparkmagic/kernels/pysparkkernel
# jupyter-kernelspec install sparkmagic/kernels/pyspark3kernel
# jupyter-kernelspec install sparkmagic/kernels/sparkrkernel
# jupyter serverextension enable --py sparkmagic
jupyter nbextension enable --py --sys-prefix widgetsnbextension
pip install ipython==5.7
# pip install ipykernel==4.10
krb5-devel-1.15.1-37.el7_7.2.x86_64
ERROR: jupyter-console 6.1.0 has requirement prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0, but you'll have prompt-toolkit 1.0.18 which is incompatible.
ERROR: jupyter-console 6.1.0 has requirement prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0, but you'll have prompt-toolkit 1.0.18 which is incompatible.
jupyter nbextension enable --py --sys-prefix widgetsnbextension
_bz2.cpython-35m-x86_64-linux-gnu.so
pip3 show prompt-toolkit
Author: Jupyter Development Team
Author-email: jupyter@googlegroups.org
License: BSD 3-clause
Location: /usr/local/python359/lib/python3.5/site-packages
Requires: hdijupyterutils, autovizwidget, ipython, nose, mock, pandas, numpy, requests, ipykernel, ipywidgets, notebook, tornado, requests-kerberos
Required-by:
[root@rhflow265 ~]# cd /usr/local/python359/lib/python3.5/site-packages
[root@rhflow265 site-packages]# jupyter-kernelspec install sparkmagic/kernels/pyspark3kernel
Traceback (most recent call last):
File "/usr/local/python359/bin/jupyter-kernelspec", line 8, in <module>
sys.exit(KernelSpecApp.launch_instance())
File "/usr/local/python359/lib/python3.5/site-packages/traitlets/config/application.py", line 664, in launch_instance
app.start()
File "/usr/local/python359/lib/python3.5/site-packages/jupyter_client/kernelspecapp.py", line 273, in start
return self.subapp.start()
File "/usr/local/python359/lib/python3.5/site-packages/jupyter_client/kernelspecapp.py", line 143, in start
replace=self.replace,
File "/usr/local/python359/lib/python3.5/site-packages/jupyter_client/kernelspec.py", line 346, in install_kernel_spec
shutil.copytree(source_dir, destination)
File "/usr/local/python359/lib/python3.5/shutil.py", line 309, in copytree
names = os.listdir(src)
FileNotFoundError: [Errno 2] No such file or directory: 'sparkmagic/kernels/pyspark3kernel'
[root@rhflow265 site-packages]# cd ^C
[root@rhflow265 site-packages]# cd sparkmagic/kernels/
[root@rhflow265 kernels]# ls
__init__.py kernelmagics.py __pycache__ pysparkkernel sparkkernel sparkrkernel wrapperkernel
[root@rhflow265 kernels]# rpm -qa | grep prompt-toolkit
[root@rhflow265 kernels]# pip3 show prompt-toolkit
Name: prompt-toolkit
Version: 1.0.18
Summary: Library for building powerful interactive command lines in Python
Home-page: https://github.com/jonathanslenders/python-prompt-toolkit
Author: Jonathan Slenders
Author-email: UNKNOWN
License: UNKNOWN
Location: /usr/local/python359/lib/python3.5/site-packages
Requires: six, wcwidth
Required-by: jupyter-console, ipython
[root@rhflow265 kernels]# pip3 uninstall prompt-toolkit
Uninstalling prompt-toolkit-1.0.18:
Would remove:
/usr/local/python359/lib/python3.5/site-packages/prompt_toolkit-1.0.18.dist-info/*
/usr/local/python359/lib/python3.5/site-packages/prompt_toolkit/*
Proceed (y/n)? y
Successfully uninstalled prompt-toolkit-1.0.18
[root@rhflow265 kernels]# pip3 install prompt-toolkit==2.0.0
ERROR: Could not find a version that satisfies the requirement prompt-toolkit==2.0.0 (from versions: 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.8, 0.9, 0.10, 0.11, 0.12, 0.13, 0.14, 0.15, 0.16, 0.17, 0.18, 0.19, 0.20, 0.21, 0.22, 0.23, 0.25, 0.26, 0.28, 0.30, 0.31, 0.32, 0.33, 0.34, 0.35, 0.36, 0.37, 0.38, 0.39, 0.40, 0.41, 0.42, 0.43, 0.44, 0.45, 0.46, 0.47, 0.48, 0.49, 0.50, 0.51, 0.52, 0.53, 0.54, 0.55, 0.56, 0.57, 0.58, 0.59, 0.60, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.0.10, 1.0.13, 1.0.14, 1.0.15, 1.0.16, 1.0.17, 1.0.18, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.8, 2.0.9, 2.0.10)
ERROR: No matching distribution found for prompt-toolkit==2.0.0
[root@rhflow265 kernels]# pip3 install prompt-toolkit==2.0.1
Collecting prompt-toolkit==2.0.1
Downloading https://files.pythonhosted.org/packages/d1/42/754be071c2e17c18071f8f910844d99f7e7c5588c5afce1d8dbefe2fed91/prompt_toolkit-2.0.1-py3-none-any.whl (322kB)
|████████████████████████████████| 327kB 4.4kB/s
Requirement already satisfied: six>=1.9.0 in /usr/local/python359/lib/python3.5/site-packages (from prompt-toolkit==2.0.1) (1.14.0)
Requirement already satisfied: wcwidth in /usr/local/python359/lib/python3.5/site-packages (from prompt-toolkit==2.0.1) (0.1.8)
ERROR: ipython 5.7.0 has requirement prompt-toolkit<2.0.0,>=1.0.4, but you'll have prompt-toolkit 2.0.1 which is incompatible.
Installing collected packages: prompt-toolkit
Successfully installed prompt-toolkit-2.0.1
[root@rhflow265 kernels]# pip3 uninstall prompt-toolkit Uninstalling prompt-toolkit-2.0.1:
Would remove:
/usr/local/python359/lib/python3.5/site-packages/prompt_toolkit-2.0.1.dist-info/*
/usr/local/python359/lib/python3.5/site-packages/prompt_toolkit/*
Proceed (y/n)? y
Successfully uninstalled prompt-toolkit-2.0.1
[root@rhflow265 kernels]# pip3 install prompt-toolkit==1.0.18
Collecting prompt-toolkit==1.0.18
Using cached https://files.pythonhosted.org/packages/64/27/5fd61a451d086ad4aa806dc72fe1383d2bc0e74323668672287f616d5d51/prompt_toolkit-1.0.18-py3-none-any.whl
Requirement already satisfied: six>=1.9.0 in /usr/local/python359/lib/python3.5/site-packages (from prompt-toolkit==1.0.18) (1.14.0)
Requirement already satisfied: wcwidth in /usr/local/python359/lib/python3.5/site-packages (from prompt-toolkit==1.0.18) (0.1.8)
ERROR: jupyter-console 6.1.0 has requirement prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0, but you'll have prompt-toolkit 1.0.18 which is incompatible.
Installing collected packages: prompt-toolkit
Successfully installed prompt-toolkit-1.0.18
[root@rhflow265 kernels]#
[root@rhflow265 ~]# pip3 install sparkmagic
Collecting sparkmagic
Using cached https://files.pythonhosted.org/packages/70/43/75737ebeec472e0b30c11904737ad1a0b9864ac2ed44a3b4495b297a39d5/sparkmagic-0.14.0.tar.gz
Collecting hdijupyterutils>=0.6
Using cached https://files.pythonhosted.org/packages/c0/99/0a1a4a8c625beda3908613d69ba54d3367c9570773e86fae3ca2f338fbb2/hdijupyterutils-0.14.0.tar.gz
Collecting autovizwidget>=0.6
Using cached https://files.pythonhosted.org/packages/7b/c8/71cbfc3f1a8029709de4744efe09d7fb5318b5a999bbb3a2efb4f5ed38e8/autovizwidget-0.14.0.tar.gz
Collecting ipython>=4.0.2
Using cached https://files.pythonhosted.org/packages/81/2e/59cdacea6476a4c21b7c090a91250ffbcd085900f5eb9f4e4d68dd2ee4e3/ipython-7.9.0-py3-none-any.whl
Collecting nose
Using cached https://files.pythonhosted.org/packages/15/d8/dd071918c040f50fa1cf80da16423af51ff8ce4a0f2399b7bf8de45ac3d9/nose-1.3.7-py3-none-any.whl
Collecting mock
Using cached https://files.pythonhosted.org/packages/05/d2/f94e68be6b17f46d2c353564da56e6fb89ef09faeeff3313a046cb810ca9/mock-3.0.5-py2.py3-none-any.whl
Collecting pandas>=0.17.1
Using cached https://files.pythonhosted.org/packages/a9/55/e3f34ad611f703454b951bab6bde9a432f1af92994cebc4d8e0ec0af38c4/pandas-0.25.3-cp35-cp35m-manylinux1_x86_64.whl
Collecting numpy
Downloading https://files.pythonhosted.org/packages/52/e6/1715e592ef47f28f3f50065322423bb75619ed2f7c24be86380ecc93503c/numpy-1.18.1-cp35-cp35m-manylinux1_x86_64.whl (19.9MB)
|▏ | 112kB 30kB/s eta 0:10:55^C
ERROR: Operation cancelled by user
[root@rhflow265 ~]# pip3 install --upgrade pip
Requirement already up-to-date: pip in /usr/local/python359/lib/python3.5/site-packages (19.3.1)
[root@rhflow265 ~]# pip3 install sparkmagic
Collecting sparkmagic
Using cached https://files.pythonhosted.org/packages/70/43/75737ebeec472e0b30c11904737ad1a0b9864ac2ed44a3b4495b297a39d5/sparkmagic-0.14.0.tar.gz
Collecting hdijupyterutils>=0.6
Using cached https://files.pythonhosted.org/packages/c0/99/0a1a4a8c625beda3908613d69ba54d3367c9570773e86fae3ca2f338fbb2/hdijupyterutils-0.14.0.tar.gz
Collecting autovizwidget>=0.6
Using cached https://files.pythonhosted.org/packages/7b/c8/71cbfc3f1a8029709de4744efe09d7fb5318b5a999bbb3a2efb4f5ed38e8/autovizwidget-0.14.0.tar.gz
Collecting ipython>=4.0.2
Using cached https://files.pythonhosted.org/packages/81/2e/59cdacea6476a4c21b7c090a91250ffbcd085900f5eb9f4e4d68dd2ee4e3/ipython-7.9.0-py3-none-any.whl
Collecting nose
Using cached https://files.pythonhosted.org/packages/15/d8/dd071918c040f50fa1cf80da16423af51ff8ce4a0f2399b7bf8de45ac3d9/nose-1.3.7-py3-none-any.whl
Collecting mock
Using cached https://files.pythonhosted.org/packages/05/d2/f94e68be6b17f46d2c353564da56e6fb89ef09faeeff3313a046cb810ca9/mock-3.0.5-py2.py3-none-any.whl
Collecting pandas>=0.17.1
Using cached https://files.pythonhosted.org/packages/a9/55/e3f34ad611f703454b951bab6bde9a432f1af92994cebc4d8e0ec0af38c4/pandas-0.25.3-cp35-cp35m-manylinux1_x86_64.whl
Collecting numpy
Downloading https://files.pythonhosted.org/packages/52/e6/1715e592ef47f28f3f50065322423bb75619ed2f7c24be86380ecc93503c/numpy-1.18.1-cp35-cp35m-manylinux1_x86_64.whl (19.9MB)
|████████████████████████████████| 20.0MB 64kB/s
Collecting requests
Using cached https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl
Collecting ipykernel
Using cached https://files.pythonhosted.org/packages/e1/92/8fec943b5b81078399f969f00557804d884c96fcd0bc296e81a2ed4fd270/ipykernel-5.1.3-py3-none-any.whl
Collecting ipywidgets>5.0.0
Using cached https://files.pythonhosted.org/packages/56/a0/dbcf5881bb2f51e8db678211907f16ea0a182b232c591a6d6f276985ca95/ipywidgets-7.5.1-py2.py3-none-any.whl
Collecting notebook>=4.2
Using cached https://files.pythonhosted.org/packages/f5/69/d2ffaf7efc20ce47469187e3a41e6e03e17b45de5a6559f4e7ab3eace5e1/notebook-6.0.2-py3-none-any.whl
Collecting tornado>=4
Using cached https://files.pythonhosted.org/packages/30/78/2d2823598496127b21423baffaa186b668f73cd91887fcef78b6eade136b/tornado-6.0.3.tar.gz
Collecting requests_kerberos>=0.8.0
Using cached https://files.pythonhosted.org/packages/ee/a2/866f2b9a60f75055137b9ad127033e397963b2c4769d4b5fab1c3c7e8be3/requests_kerberos-0.12.0-py2.py3-none-any.whl
Collecting jupyter>=1
Using cached https://files.pythonhosted.org/packages/83/df/0f5dd132200728a86190397e1ea87cd76244e42d39ec5e88efd25b2abd7e/jupyter-1.0.0-py2.py3-none-any.whl
Collecting plotly>=3
Using cached https://files.pythonhosted.org/packages/8e/ce/6ea5683c47b682bffad39ad41d10913141b560b1b875a90dbc6abe3f4fa9/plotly-4.4.1-py2.py3-none-any.whl
Collecting traitlets>=4.2
Using cached https://files.pythonhosted.org/packages/ca/ab/872a23e29cec3cf2594af7e857f18b687ad21039c1f9b922fac5b9b142d5/traitlets-4.3.3-py2.py3-none-any.whl
Collecting pygments
Using cached https://files.pythonhosted.org/packages/be/39/32da3184734730c0e4d3fa3b2b5872104668ad6dc1b5a73d8e477e5fe967/Pygments-2.5.2-py2.py3-none-any.whl
Requirement already satisfied: setuptools>=18.5 in /usr/local/python359/lib/python3.5/site-packages (from ipython>=4.0.2->sparkmagic) (28.8.0)
Collecting backcall
Using cached https://files.pythonhosted.org/packages/84/71/c8ca4f5bb1e08401b916c68003acf0a0655df935d74d93bf3f3364b310e0/backcall-0.1.0.tar.gz
Collecting pickleshare
Using cached https://files.pythonhosted.org/packages/9a/41/220f49aaea88bc6fa6cba8d05ecf24676326156c23b991e80b3f2fc24c77/pickleshare-0.7.5-py2.py3-none-any.whl
Collecting decorator
Using cached https://files.pythonhosted.org/packages/8f/b7/f329cfdc75f3d28d12c65980e4469e2fa373f1953f5df6e370e84ea2e875/decorator-4.4.1-py2.py3-none-any.whl
Collecting jedi>=0.10
Using cached https://files.pythonhosted.org/packages/e9/97/55e575a5b49e5c3df9eb3c116c61021d7badf556c816be13bbd7baf55234/jedi-0.15.2-py2.py3-none-any.whl
Collecting pexpect; sys_platform != "win32"
Using cached https://files.pythonhosted.org/packages/0e/3e/377007e3f36ec42f1b84ec322ee12141a9e10d808312e5738f52f80a232c/pexpect-4.7.0-py2.py3-none-any.whl
Collecting prompt-toolkit<2.1.0,>=2.0.0
Using cached https://files.pythonhosted.org/packages/87/61/2dfea88583d5454e3a64f9308a686071d58d59a55db638268a6413e1eb6d/prompt_toolkit-2.0.10-py3-none-any.whl
Collecting six
Using cached https://files.pythonhosted.org/packages/65/eb/1f97cb97bfc2390a276969c6fae16075da282f5058082d4cb10c6c5c1dba/six-1.14.0-py2.py3-none-any.whl
Collecting python-dateutil>=2.6.1
Using cached https://files.pythonhosted.org/packages/d4/70/d60450c3dd48ef87586924207ae8907090de0b306af2bce5d134d78615cb/python_dateutil-2.8.1-py2.py3-none-any.whl
Collecting pytz>=2017.2
Using cached https://files.pythonhosted.org/packages/e7/f9/f0b53f88060247251bf481fa6ea62cd0d25bf1b11a87888e53ce5b7c8ad2/pytz-2019.3-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2
Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting idna<2.9,>=2.5
Using cached https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl
Collecting certifi>=2017.4.17
Using cached https://files.pythonhosted.org/packages/b9/63/df50cac98ea0d5b006c55a399c3bf1db9da7b5a24de7890bc9cfd5dd9e99/certifi-2019.11.28-py2.py3-none-any.whl
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
Using cached https://files.pythonhosted.org/packages/b4/40/a9837291310ee1ccc242ceb6ebfd9eb21539649f193a7c8c86ba15b98539/urllib3-1.25.7-py2.py3-none-any.whl
Collecting jupyter-client
Using cached https://files.pythonhosted.org/packages/13/81/fe0eee1bcf949851a120254b1f530ae1e01bdde2d3ab9710c6ff81525061/jupyter_client-5.3.4-py2.py3-none-any.whl
Collecting widgetsnbextension~=3.5.0
Using cached https://files.pythonhosted.org/packages/6c/7b/7ac231c20d2d33c445eaacf8a433f4e22c60677eb9776c7c5262d7ddee2d/widgetsnbextension-3.5.1-py2.py3-none-any.whl
Collecting nbformat>=4.2.0
Using cached https://files.pythonhosted.org/packages/5d/69/87745d03d1964649ef734238b32bf08eb843a6594cb03e8bc77edc8f33e9/nbformat-5.0.3-py3-none-any.whl
Collecting jupyter-core>=4.6.0
Using cached https://files.pythonhosted.org/packages/fb/82/86437f661875e30682e99d04c13ba6c216f86f5f6ca6ef212d3ee8b6ca11/jupyter_core-4.6.1-py2.py3-none-any.whl
Collecting prometheus-client
Using cached https://files.pythonhosted.org/packages/b3/23/41a5a24b502d35a4ad50a5bb7202a5e1d9a0364d0c12f56db3dbf7aca76d/prometheus_client-0.7.1.tar.gz
Collecting nbconvert
Using cached https://files.pythonhosted.org/packages/79/6c/05a569e9f703d18aacb89b7ad6075b404e8a4afde2c26b73ca77bb644b14/nbconvert-5.6.1-py2.py3-none-any.whl
Collecting pyzmq>=17
Downloading https://files.pythonhosted.org/packages/de/12/2e643c8e2edd332c1a230b2cc546f669b8fca53bfdeb2376773aa2571af9/pyzmq-18.1.1-cp35-cp35m-manylinux1_x86_64.whl (1.1MB)
|████████████████████████████████| 1.1MB 61kB/s
Collecting ipython-genutils
Using cached https://files.pythonhosted.org/packages/fa/bc/9bd3b5c2b4774d5f33b2d544f1460be9df7df2fe42f352135381c347c69a/ipython_genutils-0.2.0-py2.py3-none-any.whl
Collecting Send2Trash
Using cached https://files.pythonhosted.org/packages/49/46/c3dc27481d1cc57b9385aff41c474ceb7714f7935b1247194adae45db714/Send2Trash-1.5.0-py3-none-any.whl
Collecting terminado>=0.8.1
Using cached https://files.pythonhosted.org/packages/ff/96/1d9a2c23990aea8f8e0b5c3b6627d03196a73771a17a2d9860bbe9823ab6/terminado-0.8.3-py2.py3-none-any.whl
Collecting jinja2
Using cached https://files.pythonhosted.org/packages/65/e0/eb35e762802015cab1ccee04e8a277b03f1d8e53da3ec3106882ec42558b/Jinja2-2.10.3-py2.py3-none-any.whl
Collecting pykerberos<2.0.0,>=1.1.8; sys_platform != "win32"
Using cached https://files.pythonhosted.org/packages/9a/b8/1ec56b6fa8a2e2a81420bd3d90e70b59fc83f6b857fb2c2c37accddc8be3/pykerberos-1.2.1.tar.gz
Collecting cryptography>=1.3; python_version != "3.3"
Using cached https://files.pythonhosted.org/packages/ca/9a/7cece52c46546e214e10811b36b2da52ce1ea7fa203203a629b8dfadad53/cryptography-2.8-cp34-abi3-manylinux2010_x86_64.whl
Collecting jupyter-console
Downloading https://files.pythonhosted.org/packages/0a/89/742fa5a80b552ffcb6a8922712697c6e6828aee7b91ee4ae2b79f00f8401/jupyter_console-6.1.0-py2.py3-none-any.whl
Collecting qtconsole
Using cached https://files.pythonhosted.org/packages/7c/57/3528b84ffa753e2089908bbf74bb5ae60653eb7a63797b6234e88b847d67/qtconsole-4.6.0-py2.py3-none-any.whl
Collecting retrying>=1.3.3
Using cached https://files.pythonhosted.org/packages/44/ef/beae4b4ef80902f22e3af073397f079c96969c69b2c7d52a57ea9ae61c9d/retrying-1.3.3.tar.gz
Collecting parso>=0.5.2
Using cached https://files.pythonhosted.org/packages/9b/b0/90353a5ece0987279837835224dead0c424833a224195683e188d384e06b/parso-0.5.2-py2.py3-none-any.whl
Collecting ptyprocess>=0.5
Using cached https://files.pythonhosted.org/packages/d1/29/605c2cc68a9992d18dada28206eeada56ea4bd07a239669da41674648b6f/ptyprocess-0.6.0-py2.py3-none-any.whl
Collecting wcwidth
Using cached https://files.pythonhosted.org/packages/58/b4/4850a0ccc6f567cc0ebe7060d20ffd4258b8210efadc259da62dc6ed9c65/wcwidth-0.1.8-py2.py3-none-any.whl
Collecting jsonschema!=2.5.0,>=2.4
Using cached https://files.pythonhosted.org/packages/c5/8f/51e89ce52a085483359217bc72cdbf6e75ee595d5b1d4b5ade40c7e018b8/jsonschema-3.2.0-py2.py3-none-any.whl
Collecting pandocfilters>=1.4.1
Using cached https://files.pythonhosted.org/packages/4c/ea/236e2584af67bb6df960832731a6e5325fd4441de001767da328c33368ce/pandocfilters-1.4.2.tar.gz
Collecting entrypoints>=0.2.2
Using cached https://files.pythonhosted.org/packages/ac/c6/44694103f8c221443ee6b0041f69e2740d89a25641e62fb4f2ee568f2f9c/entrypoints-0.3-py2.py3-none-any.whl
Collecting mistune<2,>=0.8.1
Using cached https://files.pythonhosted.org/packages/09/ec/4b43dae793655b7d8a25f76119624350b4d65eb663459eb9603d7f1f0345/mistune-0.8.4-py2.py3-none-any.whl
Collecting bleach
Using cached https://files.pythonhosted.org/packages/ab/05/27e1466475e816d3001efb6e0a85a819be17411420494a1e602c36f8299d/bleach-3.1.0-py2.py3-none-any.whl
Collecting defusedxml
Using cached https://files.pythonhosted.org/packages/06/74/9b387472866358ebc08732de3da6dc48e44b0aacd2ddaa5cb85ab7e986a2/defusedxml-0.6.0-py2.py3-none-any.whl
Collecting testpath
Using cached https://files.pythonhosted.org/packages/1b/9e/1a170feaa54f22aeb5a5d16c9015e82234275a3c8ab630b552493f9cb8a9/testpath-0.4.4-py2.py3-none-any.whl
Collecting MarkupSafe>=0.23
Downloading https://files.pythonhosted.org/packages/6e/57/d40124076756c19ff2269678de7ae25a14ebbb3f6314eb5ce9477f191350/MarkupSafe-1.1.1-cp35-cp35m-manylinux1_x86_64.whl
Collecting cffi!=1.11.3,>=1.8
Downloading https://files.pythonhosted.org/packages/a8/8d/986e0c4e2aa3b24db56a0affc50d1a379150e3c4da45d51d549dc2697d53/cffi-1.13.2-cp35-cp35m-manylinux1_x86_64.whl (397kB)
|████████████████████████████████| 399kB 101kB/s
Collecting importlib-metadata; python_version < "3.8"
Using cached https://files.pythonhosted.org/packages/d7/31/74dcb59a601b95fce3b0334e8fc9db758f78e43075f22aeb3677dfb19f4c/importlib_metadata-1.4.0-py2.py3-none-any.whl
Collecting pyrsistent>=0.14.0
Using cached https://files.pythonhosted.org/packages/90/aa/cdcf7ef88cc0f831b6f14c8c57318824c9de9913fe8de38e46a98c069a35/pyrsistent-0.15.7.tar.gz
Collecting attrs>=17.4.0
Using cached https://files.pythonhosted.org/packages/a2/db/4313ab3be961f7a763066401fb77f7748373b6094076ae2bda2806988af6/attrs-19.3.0-py2.py3-none-any.whl
Collecting webencodings
Using cached https://files.pythonhosted.org/packages/f4/24/2a3e3df732393fed8b3ebf2ec078f05546de641fe1b667ee316ec1dcf3b7/webencodings-0.5.1-py2.py3-none-any.whl
Collecting pycparser
Using cached https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz
Collecting zipp>=0.5
Using cached https://files.pythonhosted.org/packages/f4/50/cc72c5bcd48f6e98219fc4a88a5227e9e28b81637a99c49feba1d51f4d50/zipp-1.0.0-py2.py3-none-any.whl
Collecting more-itertools
Using cached https://files.pythonhosted.org/packages/bc/e2/3206a70758a21f9878fcf9478282bb68fbc66a5564718f9ed724c3f2bb52/more_itertools-8.1.0-py3-none-any.whl
Installing collected packages: decorator, ipython-genutils, six, traitlets, pygments, backcall, pickleshare, parso, jedi, ptyprocess, pexpect, wcwidth, prompt-toolkit, ipython, nose, mock, jupyter-core, more-itertools, zipp, importlib-metadata, pyrsistent, attrs, jsonschema, nbformat, prometheus-client, pandocfilters, entrypoints, mistune, webencodings, bleach, defusedxml, MarkupSafe, jinja2, testpath, nbconvert, pyzmq, Send2Trash, tornado, terminado, python-dateutil, jupyter-client, ipykernel, notebook, widgetsnbextension, ipywidgets, jupyter-console, qtconsole, jupyter, numpy, pytz, pandas, hdijupyterutils, retrying, plotly, autovizwidget, chardet, idna, certifi, urllib3, requests, pykerberos, pycparser, cffi, cryptography, requests-kerberos, sparkmagic
Running setup.py install for backcall ... done
Running setup.py install for pyrsistent ... done
Running setup.py install for prometheus-client ... done
Running setup.py install for pandocfilters ... done
Running setup.py install for tornado ... done
Running setup.py install for hdijupyterutils ... done
Running setup.py install for retrying ... done
Running setup.py install for autovizwidget ... done
Running setup.py install for pykerberos ... done
Running setup.py install for pycparser ... done
Running setup.py install for sparkmagic ... done
Successfully installed MarkupSafe-1.1.1 Send2Trash-1.5.0 attrs-19.3.0 autovizwidget-0.14.0 backcall-0.1.0 bleach-3.1.0 certifi-2019.11.28 cffi-1.13.2 chardet-3.0.4 cryptography-2.8 decorator-4.4.1 defusedxml-0.6.0 entrypoints-0.3 hdijupyterutils-0.14.0 idna-2.8 importlib-metadata-1.4.0 ipykernel-5.1.3 ipython-7.9.0 ipython-genutils-0.2.0 ipywidgets-7.5.1 jedi-0.15.2 jinja2-2.10.3 jsonschema-3.2.0 jupyter-1.0.0 jupyter-client-5.3.4 jupyter-console-6.1.0 jupyter-core-4.6.1 mistune-0.8.4 mock-3.0.5 more-itertools-8.1.0 nbconvert-5.6.1 nbformat-5.0.3 nose-1.3.7 notebook-6.0.2 numpy-1.18.1 pandas-0.25.3 pandocfilters-1.4.2 parso-0.5.2 pexpect-4.7.0 pickleshare-0.7.5 plotly-4.4.1 prometheus-client-0.7.1 prompt-toolkit-2.0.10 ptyprocess-0.6.0 pycparser-2.19 pygments-2.5.2 pykerberos-1.2.1 pyrsistent-0.15.7 python-dateutil-2.8.1 pytz-2019.3 pyzmq-18.1.1 qtconsole-4.6.0 requests-2.22.0 requests-kerberos-0.12.0 retrying-1.3.3 six-1.14.0 sparkmagic-0.14.0 terminado-0.8.3 testpath-0.4.4 tornado-6.0.3 traitlets-4.3.3 urllib3-1.25.7 wcwidth-0.1.8 webencodings-0.5.1 widgetsnbextension-3.5.1 zipp-1.0.0
[root@rhflow265 ~]# pip show sparkmagic
Name: sparkmagic
Version: 0.14.0
Summary: SparkMagic: Spark execution via Livy
Home-page: https://github.com/jupyter-incubator/sparkmagic
Author: Jupyter Development Team
Author-email: jupyter@googlegroups.org
License: BSD 3-clause
Location: /usr/local/python359/lib/python3.5/site-packages
Requires: hdijupyterutils, autovizwidget, ipython, nose, mock, pandas, numpy, requests, ipykernel, ipywidgets, notebook, tornado, requests-kerberos
Required-by:
[root@rhflow265 ~]# pip3 list
Package Version
------------------ ----------
attrs 19.3.0
autovizwidget 0.14.0
backcall 0.1.0
bleach 3.1.0
certifi 2019.11.28
cffi 1.13.2
chardet 3.0.4
cryptography 2.8
decorator 4.4.1
defusedxml 0.6.0
entrypoints 0.3
hdijupyterutils 0.14.0
idna 2.8
importlib-metadata 1.4.0
ipykernel 5.1.3
ipython 7.9.0
ipython-genutils 0.2.0
ipywidgets 7.5.1
jedi 0.15.2
Jinja2 2.10.3
jsonschema 3.2.0
jupyter 1.0.0
jupyter-client 5.3.4
jupyter-console 6.1.0
jupyter-core 4.6.1
MarkupSafe 1.1.1
mistune 0.8.4
mock 3.0.5
more-itertools 8.1.0
nbconvert 5.6.1
nbformat 5.0.3
nose 1.3.7
notebook 6.0.2
numpy 1.18.1
pandas 0.25.3
pandocfilters 1.4.2
parso 0.5.2
pexpect 4.7.0
pickleshare 0.7.5
pip 19.3.1
plotly 4.4.1
prometheus-client 0.7.1
prompt-toolkit 2.0.10
ptyprocess 0.6.0
pycparser 2.19
Pygments 2.5.2
pykerberos 1.2.1
pyrsistent 0.15.7
python-dateutil 2.8.1
pytz 2019.3
pyzmq 18.1.1
qtconsole 4.6.0
requests 2.22.0
requests-kerberos 0.12.0
retrying 1.3.3
Send2Trash 1.5.0
setuptools 28.8.0
six 1.14.0
sparkmagic 0.14.0
terminado 0.8.3
testpath 0.4.4
tornado 6.0.3
traitlets 4.3.3
urllib3 1.25.7
wcwidth 0.1.8
webencodings 0.5.1
widgetsnbextension 3.5.1
zipp 1.0.0
[root@rhflow265 ~]# rpm -qa | grep krb5
krb5-libs-1.15.1-37.el7_7.2.x86_64
krb5-devel-1.15.1-37.el7_7.2.x86_64
[root@rhflow265 ~]# rpm -qa | grep krb5
krb5-libs-1.15.1-37.el7_7.2.x86_64
krb5-devel-1.15.1-37.el7_7.2.x86_64
[root@rhflow265 ~]# pip3 show sparkmagic
Name: sparkmagic
Version: 0.14.0
Summary: SparkMagic: Spark execution via Livy
Home-page: https://github.com/jupyter-incubator/sparkmagic
Author: Jupyter Development Team
Author-email: jupyter@googlegroups.org
License: BSD 3-clause
Location: /usr/local/python359/lib/python3.5/site-packages
Requires: hdijupyterutils, autovizwidget, ipython, nose, mock, pandas, numpy, requests, ipykernel, ipywidgets, notebook, tornado, requests-kerberos
Required-by:
[root@rhflow265 ~]# cd /usr/local/python359/lib/python3.5/site-packages
[root@rhflow265 site-packages]# jupyter-kernelspec install sparkmagic/kernels/sparkkernel
[InstallKernelSpec] Installed kernelspec sparkkernel in /usr/local/share/jupyter/kernels/sparkkernel
[root@rhflow265 site-packages]# jupyter-kernelspec install sparkmagic/kernels/pysparkkernel
[InstallKernelSpec] Installed kernelspec pysparkkernel in /usr/local/share/jupyter/kernels/pysparkkernel
[root@rhflow265 site-packages]# jupyter-kernelspec install sparkmagic/kernels/pyspark3kernel
Traceback (most recent call last):
File "/usr/local/python359/bin/jupyter-kernelspec", line 8, in <module>
sys.exit(KernelSpecApp.launch_instance())
File "/usr/local/python359/lib/python3.5/site-packages/traitlets/config/application.py", line 664, in launch_instance
app.start()
File "/usr/local/python359/lib/python3.5/site-packages/jupyter_client/kernelspecapp.py", line 273, in start
return self.subapp.start()
File "/usr/local/python359/lib/python3.5/site-packages/jupyter_client/kernelspecapp.py", line 143, in start
replace=self.replace,
File "/usr/local/python359/lib/python3.5/site-packages/jupyter_client/kernelspec.py", line 346, in install_kernel_spec
shutil.copytree(source_dir, destination)
File "/usr/local/python359/lib/python3.5/shutil.py", line 309, in copytree
names = os.listdir(src)
FileNotFoundError: [Errno 2] No such file or directory: 'sparkmagic/kernels/pyspark3kernel'
[root@rhflow265 site-packages]# [root@rhflow265 site-packages]# jupyter-kernelspec install sparkmagic/kernels/pyspark3kernel
Traceback (most recent call last):
File "/usr/local/python359/bin/jupyter-kernelspec", line 8, in <module>
sys.exit(KernelSpecApp.launch_instance())
File "/usr/local/python359/lib/python3.5/site-packages/traitlets/config/application.py", line 664, in launch_instance
app.start()
File "/usr/local/python359/lib/python3.5/site-packages/jupyter_client/kernelspecapp.py", line 273, in start
return self.subapp.start()
File "/usr/local/python359/lib/python3.5/site-packages/jupyter_client/kernelspecapp.py", line 143, in start
replace=self.replace,
File "/usr/local/python359/lib/python3.5/site-packages/jupyter_client/kernelspec.py", line 346, in install_kernel_spec
shutil.copytree(source_dir, destination)
File "/usr/local/python359/lib/python3.5/shutil.py", line 309, in copytree
names = os.listdir(src)
FileNotFoundError: [Errno 2] No such file or directory: 'sparkmagic/kernels/pyspark3kernel'
bash: [root@rhflow265: command not found...
[root@rhflow265 site-packages]# Traceback (most recent call last):
bash: syntax error near unexpected token `most'
[root@rhflow265 site-packages]# File "/usr/local/python359/bin/jupyter-kernelspec", line 8, in <module>
bash: syntax error near unexpected token `newline'
[root@rhflow265 site-packages]# sys.exit(KernelSpecApp.launch_instance())
bash: syntax error near unexpected token `KernelSpecApp.launch_instance'
[root@rhflow265 site-packages]# File "/usr/local/python359/lib/python3.5/site-packages/traitlets/config/application.py", line 664, in launch_instance
bash: File: command not found...
Similar command is: 'file'
[root@rhflow265 site-packages]# app.start()
> File "/usr/local/python359/lib/python3.5/site-packages/jupyter_client/kernelspecapp.py", line 273, in start
bash: syntax error near unexpected token `File'
[root@rhflow265 site-packages]# return self.subapp.start()
bash: syntax error near unexpected token `('
[root@rhflow265 site-packages]# File "/usr/local/python359/lib/python3.5/site-packages/jupyter_client/kernelspecapp.py", line 143, in start
bash: File: command not found...
Similar command is: 'file'
[root@rhflow265 site-packages]# replace=self.replace,
[root@rhflow265 site-packages]# File "/usr/local/python359/lib/python3.5/site-packages/jupyter_client/kernelspec.py", line 346, in install_kernel_spec
bash: File: command not found...
Similar command is: 'file'
[root@rhflow265 site-packages]# shutil.copytree(source_dir, destination)
bash: syntax error near unexpected token `source_dir,'
[root@rhflow265 site-packages]# File "/usr/local/python359/lib/python3.5/shutil.py", line 309, in copytree
bash: File: command not found...
Similar command is: 'file'
[root@rhflow265 site-packages]# names = os.listdir(src)
bash: syntax error near unexpected token `('
[root@rhflow265 site-packages]# FileNotFoundError: [Errno 2] No such file or directory: 'sparkmagic/kernels/pyspark3kernel'
bash: FileNotFoundError:: command not found...
[root@rhflow265 site-packages]# cd ~
[root@rhflow265 ~]# jupyter nbextension enable --py --sys-prefix widgetsnbextension
Enabling notebook extension jupyter-js-widgets/extension...
- Validating: OK
[root@rhflow265 ~]# pip3 show sparkmagic
Name: sparkmagic
Version: 0.14.0
Summary: SparkMagic: Spark execution via Livy
Home-page: https://github.com/jupyter-incubator/sparkmagic
Author: Jupyter Development Team
Author-email: jupyter@googlegroups.org
License: BSD 3-clause
Location: /usr/local/python359/lib/python3.5/site-packages
Requires: hdijupyterutils, autovizwidget, ipython, nose, mock, pandas, numpy, requests, ipykernel, ipywidgets, notebook, tornado, requests-kerberos
Required-by:
[root@rhflow265 ~]# cd /usr/local/python359/lib/python3.5/site-packages
[root@rhflow265 site-packages]# jupyter-kernelspec install sparkmagic/kernels/pyspark3kernel
Traceback (most recent call last):
File "/usr/local/python359/bin/jupyter-kernelspec", line 8, in <module>
sys.exit(KernelSpecApp.launch_instance())
File "/usr/local/python359/lib/python3.5/site-packages/traitlets/config/application.py", line 664, in launch_instance
app.start()
File "/usr/local/python359/lib/python3.5/site-packages/jupyter_client/kernelspecapp.py", line 273, in start
return self.subapp.start()
File "/usr/local/python359/lib/python3.5/site-packages/jupyter_client/kernelspecapp.py", line 143, in start
replace=self.replace,
File "/usr/local/python359/lib/python3.5/site-packages/jupyter_client/kernelspec.py", line 346, in install_kernel_spec
shutil.copytree(source_dir, destination)
File "/usr/local/python359/lib/python3.5/shutil.py", line 309, in copytree
names = os.listdir(src)
FileNotFoundError: [Errno 2] No such file or directory: 'sparkmagic/kernels/pyspark3kernel'
[root@rhflow265 site-packages]# jupyter-kernelspec install sparkmagic/kernels/pyspark3kernel jupyter-kernelspec install sparkmagic/kernels/pyspark3kernel^C
[root@rhflow265 site-packages]# jupyter-kernelspec install sparkmagic/kernels/pyspark3kernel
Traceback (most recent call last):
File "/usr/local/python359/bin/jupyter-kernelspec", line 8, in <module>
sys.exit(KernelSpecApp.launch_instance())
File "/usr/local/python359/lib/python3.5/site-packages/traitlets/config/application.py", line 664, in launch_instance
app.start()
File "/usr/local/python359/lib/python3.5/site-packages/jupyter_client/kernelspecapp.py", line 273, in start
return self.subapp.start()
File "/usr/local/python359/lib/python3.5/site-packages/jupyter_client/kernelspecapp.py", line 143, in start
replace=self.replace,
File "/usr/local/python359/lib/python3.5/site-packages/jupyter_client/kernelspec.py", line 346, in install_kernel_spec
shutil.copytree(source_dir, destination)
File "/usr/local/python359/lib/python3.5/shutil.py", line 309, in copytree
names = os.listdir(src)
FileNotFoundError: [Errno 2] No such file or directory: 'sparkmagic/kernels/pyspark3kernel'
[root@rhflow265 site-packages]# pip3 show sparkmagic
Name: sparkmagic
Version: 0.14.0
Summary: SparkMagic: Spark execution via Livy
Home-page: https://github.com/jupyter-incubator/sparkmagic
Author: Jupyter Development Team
Author-email: jupyter@googlegroups.org
License: BSD 3-clause
Location: /usr/local/python359/lib/python3.5/site-packages
Requires: hdijupyterutils, autovizwidget, ipython, nose, mock, pandas, numpy, requests, ipykernel, ipywidgets, notebook, tornado, requests-kerberos
Required-by:
[root@rhflow265 site-packages]# rpm -qa | grep krbr5
[root@rhflow265 site-packages]# rpm -qa | grep krb5
krb5-libs-1.15.1-37.el7_7.2.x86_64
krb5-devel-1.15.1-37.el7_7.2.x86_64
[root@rhflow265 site-packages]# jupyter-kernelspec install sparkmagic/kernels/pyspark3kernel
Traceback (most recent call last):
File "/usr/local/python359/bin/jupyter-kernelspec", line 8, in <module>
sys.exit(KernelSpecApp.launch_instance())
File "/usr/local/python359/lib/python3.5/site-packages/traitlets/config/application.py", line 664, in launch_instance
app.start()
File "/usr/local/python359/lib/python3.5/site-packages/jupyter_client/kernelspecapp.py", line 273, in start
return self.subapp.start()
File "/usr/local/python359/lib/python3.5/site-packages/jupyter_client/kernelspecapp.py", line 143, in start
replace=self.replace,
File "/usr/local/python359/lib/python3.5/site-packages/jupyter_client/kernelspec.py", line 346, in install_kernel_spec
shutil.copytree(source_dir, destination)
File "/usr/local/python359/lib/python3.5/shutil.py", line 309, in copytree
names = os.listdir(src)
FileNotFoundError: [Errno 2] No such file or directory: 'sparkmagic/kernels/pyspark3kernel'
[root@rhflow265 site-packages]# cd sparkmagic/kernels/
[root@rhflow265 kernels]# ls
__init__.py kernelmagics.py __pycache__ pysparkkernel sparkkernel sparkrkernel wrapperkernel
[root@rhflow265 kernels]# #coding:utf-8
[root@rhflow265 kernels]#
[root@rhflow265 kernels]# def func1(df,json):
bash: syntax error near unexpected token `('
[root@rhflow265 kernels]# df = df.select("id","name")
bash: syntax error near unexpected token `('
[root@rhflow265 kernels]# pip3 show sparkmagic
Name: sparkmagic
Version: 0.14.0
Summary: SparkMagic: Spark execution via Livy
Home-page: https://github.com/jupyter-incubator/sparkmagic
Author: Jupyter Development Team
Author-email: jupyter@googlegroups.org
License: BSD 3-clause
Location: /usr/local/python359/lib/python3.5/site-packages
Requires: hdijupyterutils, autovizwidget, ipython, nose, mock, pandas, numpy, requests, ipykernel, ipywidgets, notebook, tornado, requests-kerberos
Required-by:
[root@rhflow265 kernels]# cd /usr/local/python359/lib/python3.5/site-packages
[root@rhflow265 site-packages]# jupyter-kernelspec install sparkmagic/kernels/pyspark3kernel
Traceback (most recent call last):
File "/usr/local/python359/bin/jupyter-kernelspec", line 8, in <module>
sys.exit(KernelSpecApp.launch_instance())
File "/usr/local/python359/lib/python3.5/site-packages/traitlets/config/application.py", line 664, in launch_instance
app.start()
File "/usr/local/python359/lib/python3.5/site-packages/jupyter_client/kernelspecapp.py", line 273, in start
return self.subapp.start()
File "/usr/local/python359/lib/python3.5/site-packages/jupyter_client/kernelspecapp.py", line 143, in start
replace=self.replace,
File "/usr/local/python359/lib/python3.5/site-packages/jupyter_client/kernelspec.py", line 346, in install_kernel_spec
shutil.copytree(source_dir, destination)
File "/usr/local/python359/lib/python3.5/shutil.py", line 309, in copytree
names = os.listdir(src)
FileNotFoundError: [Errno 2] No such file or directory: 'sparkmagic/kernels/pyspark3kernel'
[root@rhflow265 site-packages]# 3kernel'
> ^C
[root@rhflow265 site-packages]# pip3 install ipython==5.7
Collecting ipython==5.7
Using cached https://files.pythonhosted.org/packages/c7/b6/03e0b5b0972e6161d16c4cec8d41a20372bd0634f8cb4cc0c984b8a91db6/ipython-5.7.0-py3-none-any.whl
Requirement already satisfied: decorator in /usr/local/python359/lib/python3.5/site-packages (from ipython==5.7) (4.4.1)
Requirement already satisfied: setuptools>=18.5 in /usr/local/python359/lib/python3.5/site-packages (from ipython==5.7) (28.8.0)
Requirement already satisfied: pexpect; sys_platform != "win32" in /usr/local/python359/lib/python3.5/site-packages (from ipython==5.7) (4.7.0)
Collecting simplegeneric>0.8
Using cached https://files.pythonhosted.org/packages/3d/57/4d9c9e3ae9a255cd4e1106bb57e24056d3d0709fc01b2e3e345898e49d5b/simplegeneric-0.8.1.zip
Requirement already satisfied: pygments in /usr/local/python359/lib/python3.5/site-packages (from ipython==5.7) (2.5.2)
Requirement already satisfied: traitlets>=4.2 in /usr/local/python359/lib/python3.5/site-packages (from ipython==5.7) (4.3.3)
Collecting prompt-toolkit<2.0.0,>=1.0.4
Using cached https://files.pythonhosted.org/packages/64/27/5fd61a451d086ad4aa806dc72fe1383d2bc0e74323668672287f616d5d51/prompt_toolkit-1.0.18-py3-none-any.whl
Requirement already satisfied: pickleshare in /usr/local/python359/lib/python3.5/site-packages (from ipython==5.7) (0.7.5)
Requirement already satisfied: ptyprocess>=0.5 in /usr/local/python359/lib/python3.5/site-packages (from pexpect; sys_platform != "win32"->ipython==5.7) (0.6.0)
Requirement already satisfied: six in /usr/local/python359/lib/python3.5/site-packages (from traitlets>=4.2->ipython==5.7) (1.14.0)
Requirement already satisfied: ipython-genutils in /usr/local/python359/lib/python3.5/site-packages (from traitlets>=4.2->ipython==5.7) (0.2.0)
Requirement already satisfied: wcwidth in /usr/local/python359/lib/python3.5/site-packages (from prompt-toolkit<2.0.0,>=1.0.4->ipython==5.7) (0.1.8)
ERROR: jupyter-console 6.1.0 has requirement prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0, but you'll have prompt-toolkit 1.0.18 which is incompatible.
Installing collected packages: simplegeneric, prompt-toolkit, ipython
Running setup.py install for simplegeneric ... done
Found existing installation: prompt-toolkit 2.0.10
Uninstalling prompt-toolkit-2.0.10:
Successfully uninstalled prompt-toolkit-2.0.10
Found existing installation: ipython 7.9.0
Uninstalling ipython-7.9.0:
Successfully uninstalled ipython-7.9.0
Successfully installed ipython-5.7.0 prompt-toolkit-1.0.18 simplegeneric-0.8.1
[root@rhflow265 site-packages]# ls
attr jupyter_console-6.1.0.dist-info pycparser-2.19-py3.5.egg-info
attrs-19.3.0.dist-info jupyter_core pygments
autovizwidget jupyter_core-4.6.1.dist-info Pygments-2.5.2.dist-info
autovizwidget-0.14.0-py3.5.egg-info jupyter.py pykerberos-1.2.1-py3.5.egg-info
backcall kerberos.cpython-35m-x86_64-linux-gnu.so pyrsistent
backcall-0.1.0-py3.5.egg-info markupsafe pyrsistent-0.15.7-py3.5.egg-info
bleach MarkupSafe-1.1.1.dist-info _pyrsistent_version.py
bleach-3.1.0.dist-info mistune-0.8.4.dist-info python_dateutil-2.8.1.dist-info
certifi mistune.py pytz
certifi-2019.11.28.dist-info mock pytz-2019.3.dist-info
cffi mock-3.0.5.dist-info pyzmq-18.1.1.dist-info
cffi-1.13.2.dist-info more_itertools qtconsole
_cffi_backend.cpython-35m-x86_64-linux-gnu.so more_itertools-8.1.0.dist-info qtconsole-4.6.0.dist-info
chardet nbconvert README
chardet-3.0.4.dist-info nbconvert-5.6.1.dist-info requests
cryptography nbformat requests-2.22.0.dist-info
cryptography-2.8.dist-info nbformat-5.0.3.dist-info requests_kerberos
dateutil nose requests_kerberos-0.12.0.dist-info
decorator-4.4.1.dist-info nose-1.3.7.dist-info retrying-1.3.3-py3.5.egg-info
decorator.py notebook retrying.py
defusedxml notebook-6.0.2.dist-info send2trash
defusedxml-0.6.0.dist-info numpy Send2Trash-1.5.0.dist-info
easy_install.py numpy-1.18.1.dist-info setuptools
entrypoints-0.3.dist-info pandas setuptools-28.8.0.dist-info
entrypoints.py pandas-0.25.3.dist-info simplegeneric-0.8.1-py3.5.egg-info
hdijupyterutils pandocfilters-1.4.2-py3.5.egg-info simplegeneric.py
hdijupyterutils-0.14.0-py3.5.egg-info pandocfilters.py six-1.14.0.dist-info
idna parso six.py
idna-2.8.dist-info parso-0.5.2.dist-info sparkmagic
importlib_metadata pexpect sparkmagic-0.14.0-py3.5.egg-info
importlib_metadata-1.4.0.dist-info pexpect-4.7.0.dist-info terminado
ipykernel pickleshare-0.7.5.dist-info terminado-0.8.3.dist-info
ipykernel-5.1.3.dist-info pickleshare.py testpath
ipykernel_launcher.py pip testpath-0.4.4.dist-info
IPython pip-19.3.1.dist-info tornado
ipython-5.7.0.dist-info pkg_resources tornado-6.0.3-py3.5.egg-info
ipython_genutils plotly traitlets
ipython_genutils-0.2.0.dist-info plotly-4.4.1.dist-info traitlets-4.3.3.dist-info
ipywidgets _plotly_future_ urllib3
ipywidgets-7.5.1.dist-info _plotly_utils urllib3-1.25.7.dist-info
jedi plotlywidget wcwidth
jedi-0.15.2.dist-info prometheus_client wcwidth-0.1.8.dist-info
jinja2 prometheus_client-0.7.1-py3.5.egg-info webencodings
Jinja2-2.10.3.dist-info prompt_toolkit webencodings-0.5.1.dist-info
jsonschema prompt_toolkit-1.0.18.dist-info widgetsnbextension
jsonschema-3.2.0.dist-info ptyprocess widgetsnbextension-3.5.1.dist-info
jupyter-1.0.0.dist-info ptyprocess-0.6.0.dist-info zipp-1.0.0.dist-info
jupyter_client pvectorc.cpython-35m-x86_64-linux-gnu.so zipp.py
jupyter_client-5.3.4.dist-info __pycache__ zmq
jupyter_console pycparser
[root@rhflow265 site-packages]# cd /us
user/ usr/
[root@rhflow265 site-packages]# cd /usr/local/python359/
[root@rhflow265 python359]# ls
aclocal.m4 config.sub include LICENSE Misc Programs python-config Tools
bin configure Include Mac Modules pybuilddir.txt python-config.py
build configure.ac install-sh Makefile Objects pyconfig.h python-gdb.py
config.guess Doc lib Makefile.pre Parser pyconfig.h.in README
config.log etc Lib Makefile.pre.in PC python setup.py
config.status Grammar libpython3.5m.a man PCbuild Python share
[root@rhflow265 python359]# cd ~
[root@rhflow265 ~]# pip install ipython==5.7
Requirement already satisfied: ipython==5.7 in /usr/local/python359/lib/python3.5/site-packages (5.7.0)
Requirement already satisfied: pexpect; sys_platform != "win32" in /usr/local/python359/lib/python3.5/site-packages (from ipython==5.7) (4.7.0)
Requirement already satisfied: simplegeneric>0.8 in /usr/local/python359/lib/python3.5/site-packages (from ipython==5.7) (0.8.1)
Requirement already satisfied: pickleshare in /usr/local/python359/lib/python3.5/site-packages (from ipython==5.7) (0.7.5)
Requirement already satisfied: setuptools>=18.5 in /usr/local/python359/lib/python3.5/site-packages (from ipython==5.7) (28.8.0)
Requirement already satisfied: decorator in /usr/local/python359/lib/python3.5/site-packages (from ipython==5.7) (4.4.1)
Requirement already satisfied: pygments in /usr/local/python359/lib/python3.5/site-packages (from ipython==5.7) (2.5.2)
Requirement already satisfied: traitlets>=4.2 in /usr/local/python359/lib/python3.5/site-packages (from ipython==5.7) (4.3.3)
Requirement already satisfied: prompt-toolkit<2.0.0,>=1.0.4 in /usr/local/python359/lib/python3.5/site-packages (from ipython==5.7) (1.0.18)
Requirement already satisfied: ptyprocess>=0.5 in /usr/local/python359/lib/python3.5/site-packages (from pexpect; sys_platform != "win32"->ipython==5.7) (0.6.0)
Requirement already satisfied: six in /usr/local/python359/lib/python3.5/site-packages (from traitlets>=4.2->ipython==5.7) (1.14.0)
Requirement already satisfied: ipython-genutils in /usr/local/python359/lib/python3.5/site-packages (from traitlets>=4.2->ipython==5.7) (0.2.0)
Requirement already satisfied: wcwidth in /usr/local/python359/lib/python3.5/site-packages (from prompt-toolkit<2.0.0,>=1.0.4->ipython==5.7) (0.1.8)
[root@rhflow265 ~]# pip install ipykernel==4.10
^CERROR: Operation cancelled by user
[root@rhflow265 ~]# pip3 install ipython==5.7
Requirement already satisfied: ipython==5.7 in /usr/local/python359/lib/python3.5/site-packages (5.7.0)
Requirement already satisfied: decorator in /usr/local/python359/lib/python3.5/site-packages (from ipython==5.7) (4.4.1)
Requirement already satisfied: simplegeneric>0.8 in /usr/local/python359/lib/python3.5/site-packages (from ipython==5.7) (0.8.1)
Requirement already satisfied: setuptools>=18.5 in /usr/local/python359/lib/python3.5/site-packages (from ipython==5.7) (28.8.0)
Requirement already satisfied: pygments in /usr/local/python359/lib/python3.5/site-packages (from ipython==5.7) (2.5.2)
Requirement already satisfied: pickleshare in /usr/local/python359/lib/python3.5/site-packages (from ipython==5.7) (0.7.5)
Requirement already satisfied: prompt-toolkit<2.0.0,>=1.0.4 in /usr/local/python359/lib/python3.5/site-packages (from ipython==5.7) (1.0.18)
Requirement already satisfied: pexpect; sys_platform != "win32" in /usr/local/python359/lib/python3.5/site-packages (from ipython==5.7) (4.7.0)
Requirement already satisfied: traitlets>=4.2 in /usr/local/python359/lib/python3.5/site-packages (from ipython==5.7) (4.3.3)
Requirement already satisfied: six>=1.9.0 in /usr/local/python359/lib/python3.5/site-packages (from prompt-toolkit<2.0.0,>=1.0.4->ipython==5.7) (1.14.0)
Requirement already satisfied: wcwidth in /usr/local/python359/lib/python3.5/site-packages (from prompt-toolkit<2.0.0,>=1.0.4->ipython==5.7) (0.1.8)
Requirement already satisfied: ptyprocess>=0.5 in /usr/local/python359/lib/python3.5/site-packages (from pexpect; sys_platform != "win32"->ipython==5.7) (0.6.0)
Requirement already satisfied: ipython-genutils in /usr/local/python359/lib/python3.5/site-packages (from traitlets>=4.2->ipython==5.7) (0.2.0)
[root@rhflow265 ~]# pip3 install ipykernel==4.10
Collecting ipykernel==4.10
Using cached https://files.pythonhosted.org/packages/22/5e/69b0ae84e0cd7c8d4467e0a7b390c560d8c7642493329b15461b41e20fcc/ipykernel-4.10.0-py3-none-any.whl
Requirement already satisfied: ipython>=4.0.0 in /usr/local/python359/lib/python3.5/site-packages (from ipykernel==4.10) (5.7.0)
Requirement already satisfied: traitlets>=4.1.0 in /usr/local/python359/lib/python3.5/site-packages (from ipykernel==4.10) (4.3.3)
Requirement already satisfied: jupyter-client in /usr/local/python359/lib/python3.5/site-packages (from ipykernel==4.10) (5.3.4)
Requirement already satisfied: tornado>=4.0 in /usr/local/python359/lib/python3.5/site-packages (from ipykernel==4.10) (6.0.3)
Requirement already satisfied: simplegeneric>0.8 in /usr/local/python359/lib/python3.5/site-packages (from ipython>=4.0.0->ipykernel==4.10) (0.8.1)
Requirement already satisfied: pygments in /usr/local/python359/lib/python3.5/site-packages (from ipython>=4.0.0->ipykernel==4.10) (2.5.2)
Requirement already satisfied: pickleshare in /usr/local/python359/lib/python3.5/site-packages (from ipython>=4.0.0->ipykernel==4.10) (0.7.5)
Requirement already satisfied: decorator in /usr/local/python359/lib/python3.5/site-packages (from ipython>=4.0.0->ipykernel==4.10) (4.4.1)
Requirement already satisfied: pexpect; sys_platform != "win32" in /usr/local/python359/lib/python3.5/site-packages (from ipython>=4.0.0->ipykernel==4.10) (4.7.0)
Requirement already satisfied: setuptools>=18.5 in /usr/local/python359/lib/python3.5/site-packages (from ipython>=4.0.0->ipykernel==4.10) (28.8.0)
Requirement already satisfied: prompt-toolkit<2.0.0,>=1.0.4 in /usr/local/python359/lib/python3.5/site-packages (from ipython>=4.0.0->ipykernel==4.10) (1.0.18)
Requirement already satisfied: six in /usr/local/python359/lib/python3.5/site-packages (from traitlets>=4.1.0->ipykernel==4.10) (1.14.0)
Requirement already satisfied: ipython-genutils in /usr/local/python359/lib/python3.5/site-packages (from traitlets>=4.1.0->ipykernel==4.10) (0.2.0)
Requirement already satisfied: jupyter-core>=4.6.0 in /usr/local/python359/lib/python3.5/site-packages (from jupyter-client->ipykernel==4.10) (4.6.1)
Requirement already satisfied: python-dateutil>=2.1 in /usr/local/python359/lib/python3.5/site-packages (from jupyter-client->ipykernel==4.10) (2.8.1)
Requirement already satisfied: pyzmq>=13 in /usr/local/python359/lib/python3.5/site-packages (from jupyter-client->ipykernel==4.10) (18.1.1)
Requirement already satisfied: ptyprocess>=0.5 in /usr/local/python359/lib/python3.5/site-packages (from pexpect; sys_platform != "win32"->ipython>=4.0.0->ipykernel==4.10) (0.6.0)
Requirement already satisfied: wcwidth in /usr/local/python359/lib/python3.5/site-packages (from prompt-toolkit<2.0.0,>=1.0.4->ipython>=4.0.0->ipykernel==4.10) (0.1.8)
ERROR: jupyter-console 6.1.0 has requirement prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0, but you'll have prompt-toolkit 1.0.18 which is incompatible.
Installing collected packages: ipykernel
Found existing installation: ipykernel 5.1.3
Uninstalling ipykernel-5.1.3:
Successfully uninstalled ipykernel-5.1.3
Successfully installed ipykernel-4.10.0
[root@rhflow265 ~]# pip3 install ipykernel==4.10
Requirement already satisfied: ipykernel==4.10 in /usr/local/python359/lib/python3.5/site-packages (4.10.0)
Requirement already satisfied: ipython>=4.0.0 in /usr/local/python359/lib/python3.5/site-packages (from ipykernel==4.10) (5.7.0)
Requirement already satisfied: tornado>=4.0 in /usr/local/python359/lib/python3.5/site-packages (from ipykernel==4.10) (6.0.3)
Requirement already satisfied: traitlets>=4.1.0 in /usr/local/python359/lib/python3.5/site-packages (from ipykernel==4.10) (4.3.3)
Requirement already satisfied: jupyter-client in /usr/local/python359/lib/python3.5/site-packages (from ipykernel==4.10) (5.3.4)
Requirement already satisfied: pickleshare in /usr/local/python359/lib/python3.5/site-packages (from ipython>=4.0.0->ipykernel==4.10) (0.7.5)
Requirement already satisfied: pexpect; sys_platform != "win32" in /usr/local/python359/lib/python3.5/site-packages (from ipython>=4.0.0->ipykernel==4.10) (4.7.0)
Requirement already satisfied: decorator in /usr/local/python359/lib/python3.5/site-packages (from ipython>=4.0.0->ipykernel==4.10) (4.4.1)
Requirement already satisfied: setuptools>=18.5 in /usr/local/python359/lib/python3.5/site-packages (from ipython>=4.0.0->ipykernel==4.10) (28.8.0)
Requirement already satisfied: simplegeneric>0.8 in /usr/local/python359/lib/python3.5/site-packages (from ipython>=4.0.0->ipykernel==4.10) (0.8.1)
Requirement already satisfied: pygments in /usr/local/python359/lib/python3.5/site-packages (from ipython>=4.0.0->ipykernel==4.10) (2.5.2)
Requirement already satisfied: prompt-toolkit<2.0.0,>=1.0.4 in /usr/local/python359/lib/python3.5/site-packages (from ipython>=4.0.0->ipykernel==4.10) (1.0.18)
Requirement already satisfied: ipython-genutils in /usr/local/python359/lib/python3.5/site-packages (from traitlets>=4.1.0->ipykernel==4.10) (0.2.0)
Requirement already satisfied: six in /usr/local/python359/lib/python3.5/site-packages (from traitlets>=4.1.0->ipykernel==4.10) (1.14.0)
Requirement already satisfied: python-dateutil>=2.1 in /usr/local/python359/lib/python3.5/site-packages (from jupyter-client->ipykernel==4.10) (2.8.1)
Requirement already satisfied: jupyter-core>=4.6.0 in /usr/local/python359/lib/python3.5/site-packages (from jupyter-client->ipykernel==4.10) (4.6.1)
Requirement already satisfied: pyzmq>=13 in /usr/local/python359/lib/python3.5/site-packages (from jupyter-client->ipykernel==4.10) (18.1.1)
Requirement already satisfied: ptyprocess>=0.5 in /usr/local/python359/lib/python3.5/site-packages (from pexpect; sys_platform != "win32"->ipython>=4.0.0->ipykernel==4.10) (0.6.0)
Requirement already satisfied: wcwidth in /usr/local/python359/lib/python3.5/site-packages (from prompt-toolkit<2.0.0,>=1.0.4->ipython>=4.0.0->ipykernel==4.10) (0.1.8)
[root@rhflow265 ~]# pip3 show sparkmagic
Name: sparkmagic
Version: 0.14.0
Summary: SparkMagic: Spark execution via Livy
Home-page: https://github.com/jupyter-incubator/sparkmagic
Author: Jupyter Development Team
Author-email: jupyter@googlegroups.org
License: BSD 3-clause
Location: /usr/local/python359/lib/python3.5/site-packages
Requires: hdijupyterutils, autovizwidget, ipython, nose, mock, pandas, numpy, requests, ipykernel, ipywidgets, notebook, tornado, requests-kerberos
Required-by:
[root@rhflow265 ~]# cd /usr/local/python359/lib/python3.5/site-packages
[root@rhflow265 site-packages]# jupyter-kernelspec install sparkmagic/kernels/pyspark3kernel
Traceback (most recent call last):
File "/usr/local/python359/bin/jupyter-kernelspec", line 8, in <module>
sys.exit(KernelSpecApp.launch_instance())
File "/usr/local/python359/lib/python3.5/site-packages/traitlets/config/application.py", line 664, in launch_instance
app.start()
File "/usr/local/python359/lib/python3.5/site-packages/jupyter_client/kernelspecapp.py", line 273, in start
return self.subapp.start()
File "/usr/local/python359/lib/python3.5/site-packages/jupyter_client/kernelspecapp.py", line 143, in start
replace=self.replace,
File "/usr/local/python359/lib/python3.5/site-packages/jupyter_client/kernelspec.py", line 346, in install_kernel_spec
shutil.copytree(source_dir, destination)
File "/usr/local/python359/lib/python3.5/shutil.py", line 309, in copytree
names = os.listdir(src)
FileNotFoundError: [Errno 2] No such file or directory: 'sparkmagic/kernels/pyspark3kernel'
[root@rhflow265 site-packages]# cd ^C
[root@rhflow265 site-packages]# cd sparkmagic/kernels/
[root@rhflow265 kernels]# ls
__init__.py kernelmagics.py __pycache__ pysparkkernel sparkkernel sparkrkernel wrapperkernel
[root@rhflow265 kernels]# rpm -qa | grep prompt-toolkit
[root@rhflow265 kernels]# pip3 show prompt-toolkit
Name: prompt-toolkit
Version: 1.0.18
Summary: Library for building powerful interactive command lines in Python
Home-page: https://github.com/jonathanslenders/python-prompt-toolkit
Author: Jonathan Slenders
Author-email: UNKNOWN
License: UNKNOWN
Location: /usr/local/python359/lib/python3.5/site-packages
Requires: six, wcwidth
Required-by: jupyter-console, ipython
[root@rhflow265 kernels]# pip3 uninstall prompt-toolkit
Uninstalling prompt-toolkit-1.0.18:
Would remove:
/usr/local/python359/lib/python3.5/site-packages/prompt_toolkit-1.0.18.dist-info/*
/usr/local/python359/lib/python3.5/site-packages/prompt_toolkit/*
Proceed (y/n)? y
Successfully uninstalled prompt-toolkit-1.0.18
[root@rhflow265 kernels]# pip3 install prompt-toolkit==2.0.0
ERROR: Could not find a version that satisfies the requirement prompt-toolkit==2.0.0 (from versions: 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.8, 0.9, 0.10, 0.11, 0.12, 0.13, 0.14, 0.15, 0.16, 0.17, 0.18, 0.19, 0.20, 0.21, 0.22, 0.23, 0.25, 0.26, 0.28, 0.30, 0.31, 0.32, 0.33, 0.34, 0.35, 0.36, 0.37, 0.38, 0.39, 0.40, 0.41, 0.42, 0.43, 0.44, 0.45, 0.46, 0.47, 0.48, 0.49, 0.50, 0.51, 0.52, 0.53, 0.54, 0.55, 0.56, 0.57, 0.58, 0.59, 0.60, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.0.10, 1.0.13, 1.0.14, 1.0.15, 1.0.16, 1.0.17, 1.0.18, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.8, 2.0.9, 2.0.10)
ERROR: No matching distribution found for prompt-toolkit==2.0.0
[root@rhflow265 kernels]# pip3 install prompt-toolkit==2.0.1
Collecting prompt-toolkit==2.0.1
Downloading https://files.pythonhosted.org/packages/d1/42/754be071c2e17c18071f8f910844d99f7e7c5588c5afce1d8dbefe2fed91/prompt_toolkit-2.0.1-py3-none-any.whl (322kB)
|████████████████████████████████| 327kB 4.4kB/s
Requirement already satisfied: six>=1.9.0 in /usr/local/python359/lib/python3.5/site-packages (from prompt-toolkit==2.0.1) (1.14.0)
Requirement already satisfied: wcwidth in /usr/local/python359/lib/python3.5/site-packages (from prompt-toolkit==2.0.1) (0.1.8)
ERROR: ipython 5.7.0 has requirement prompt-toolkit<2.0.0,>=1.0.4, but you'll have prompt-toolkit 2.0.1 which is incompatible.
Installing collected packages: prompt-toolkit
Successfully installed prompt-toolkit-2.0.1
[root@rhflow265 kernels]# pip3 uninstall prompt-toolkit Uninstalling prompt-toolkit-2.0.1:
Would remove:
/usr/local/python359/lib/python3.5/site-packages/prompt_toolkit-2.0.1.dist-info/*
/usr/local/python359/lib/python3.5/site-packages/prompt_toolkit/*
Proceed (y/n)? y
Successfully uninstalled prompt-toolkit-2.0.1
[root@rhflow265 kernels]# pip3 install prompt-toolkit==1.0.18
Collecting prompt-toolkit==1.0.18
Using cached https://files.pythonhosted.org/packages/64/27/5fd61a451d086ad4aa806dc72fe1383d2bc0e74323668672287f616d5d51/prompt_toolkit-1.0.18-py3-none-any.whl
Requirement already satisfied: six>=1.9.0 in /usr/local/python359/lib/python3.5/site-packages (from prompt-toolkit==1.0.18) (1.14.0)
Requirement already satisfied: wcwidth in /usr/local/python359/lib/python3.5/site-packages (from prompt-toolkit==1.0.18) (0.1.8)
ERROR: jupyter-console 6.1.0 has requirement prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0, but you'll have prompt-toolkit 1.0.18 which is incompatible.
Installing collected packages: prompt-toolkit
Successfully installed prompt-toolkit-1.0.18
[root@rhflow265 kernels]# ^C
[root@rhflow265 kernels]#
1:Eetrell:2020-01-10 15\23\25
<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
maxThreads="150" SSLEnabled="true" scheme="https" secure="true">
<SSLHostConfig truststoreFile="/opt/certificates/fta_truststore.jks"
truststorePassword="ftafta" certificateVerification="none"
protocols="TLSv1.1+TLSv1.2">
<Certificate
certificateKeystoreFile="/opt/certificates/rh76flow263.dfml.com.jks"
certificateKeyPassword="ftafta" certificateKeystorePassword="ftafta"
certificateKeyAlias="rh76flow263.dfml.com" type="RSA" />
</SSLHostConfig>
</Connector>
<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
maxThreads="150" SSLEnabled="true" scheme="https" secure="true">
<SSLHostConfig truststoreFile="/opt/certs/fta_truststore.jks"
truststorePassword="changeit" certificateVerification="none"
protocols="TLSv1.1+TLSv1.2">
<Certificate
certificateKeystoreFile="/opt/certs/suse123.dfml.com.jks"
certificateKeyPassword="changeit" certificateKeystorePassword="changeit"
certificateKeyAlias="suse123.dfml.com" type="RSA" />
</SSLHostConfig>
</Connector>
{
"realm": "Security",
"auth-server-url": "https://192.168.11.157:9043/auth",
"ssl-required": "external",
"resource": "factorytalk-analytics-dataflowml",
"verify-token-audience": true,
"credentials": {
"secret": "ca315b15-6de4-439e-972a-782dceb6ad0d"
},
"use-resource-role-mappings": true,
"confidential-port": 0
}