Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SWC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ExaCT
SWC
Commits
e740eec4
Commit
e740eec4
authored
4 years ago
by
Stefano Alberto Russo
Browse files
Options
Downloads
Patches
Plain Diff
Removed Python 2 support, upadated pip and Python dependencies.
parent
11e93ae5
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
DevMetaDesktop/Dockerfile
+0
-1
0 additions, 1 deletion
DevMetaDesktop/Dockerfile
DevMetaDesktop/files/python_deps.txt
+16
-11
16 additions, 11 deletions
DevMetaDesktop/files/python_deps.txt
DevMetaDesktop/files/system_deps.sh
+1
-9
1 addition, 9 deletions
DevMetaDesktop/files/system_deps.sh
with
17 additions
and
21 deletions
DevMetaDesktop/Dockerfile
+
0
−
1
View file @
e740eec4
...
@@ -15,7 +15,6 @@ RUN apt-get update
...
@@ -15,7 +15,6 @@ RUN apt-get update
COPY
files/system_deps.sh /root/
COPY
files/system_deps.sh /root/
COPY
files/python_deps.txt /root/
COPY
files/python_deps.txt /root/
RUN
bash /root/system_deps.sh
RUN
bash /root/system_deps.sh
RUN
pip
install
-r
/root/python_deps.txt
RUN
pip3
install
-r
/root/python_deps.txt
RUN
pip3
install
-r
/root/python_deps.txt
#--------------------------------------
#--------------------------------------
...
...
This diff is collapsed.
Click to expand it.
DevMetaDesktop/files/python_deps.txt
+
16
−
11
View file @
e740eec4
numpy==1.14.0
scipy==1.0.0
Cython==0.27.3
Keras==2.1.3
pydub==0.20.0
pydub==0.20.0
scikit-image==0.14.0
scikit-learn==0.19.1
audioread==2.1.5
audioread==2.1.5
matplotlib==2.1.2
matplotlib==2.1.2
mpld3==0.3
mpld3==0.3
h5py==2.8.0
pandas==0.21.0
Jinja2==2.10
Jinja2==2.10
astropy==2.0.7
tensorflow==1.9.0
theano==1.0.2
theano==1.0.2
jupyter==1.0.0
h5py==2.8.0
Keras==2.1.3
tensorflow==1.14.0
matplotlib==2.1.2
numpy==1.19.5
scikit-image==0.15.0
scikit-learn==0.22
pandas==0.23.4
chardet==3.0.4
convertdate==2.1.2
lunarcalendar==0.0.9
holidays==0.10.3
pystan==2.19.1.1
plotly==4.9.0
requests==2.5.3
notebook==5.7.10
\ No newline at end of file
This diff is collapsed.
Click to expand it.
DevMetaDesktop/files/system_deps.sh
+
1
−
9
View file @
e740eec4
...
@@ -11,17 +11,9 @@ apt-get install curl -y
...
@@ -11,17 +11,9 @@ apt-get install curl -y
# Install get-pip script
# Install get-pip script
curl
-O
https://bootstrap.pypa.io/get-pip.py
curl
-O
https://bootstrap.pypa.io/get-pip.py
# Install Python and pip in this order (first Python 3 and then Python 2), or
# you will end ap with python defaulting to python2 and pip defaulting to pip3
# Otherwise, do somethign like "ln -s /usr/local/bin/pip3 /usr/local/bin/pip"
# Install Python3 and Pip3 (python3-distutils required for pip3)
# Install Python3 and Pip3 (python3-distutils required for pip3)
apt-get
install
python3 python3-distutils
-y
apt-get
install
python3 python3-distutils
-y
python3 get-pip.py
'pip==10.0.1'
python3 get-pip.py
'pip==21.0.1'
# Install Python2 and Pip2
apt-get
install
python
-y
python get-pip.py
'pip==10.0.1'
# Python-tk required by matplotlib/six
# Python-tk required by matplotlib/six
apt-get
install
python-tk python3-tk
-y
apt-get
install
python-tk python3-tk
-y
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment