Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
ffm-baseline
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ML
ffm-baseline
Commits
7499c7c7
Commit
7499c7c7
authored
Aug 10, 2018
by
高雅喆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pip install supervisor at nvwa py3 and add a .idea at .gitignore
parent
8ced0dee
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
0 deletions
+39
-0
.gitignore
.gitignore
+1
-0
README.md
README.md
+37
-0
readme.txt
readme.txt
+1
-0
No files found.
.gitignore
View file @
7499c7c7
data/
*.pyc
.DS_Store
.idea
README.md
0 → 100644
View file @
7499c7c7
(1) 在服务器上创建nvwa隔离环境:
ssh -A gaoyazhe@bastion.prod.gengmei
rank-compute01
virtualenv -p /usr/bin/python3 nvwa
source nvwa/bin/activate
(2) 在nvwa中安装xlearn:
#参考链接:http://xlearn-doc.readthedocs.io/en/latest/install.html
cd nvwa
git clone https://github.com/aksnzhy/xlearn.git
cd xlearn
./build.sh
(3) 在nvwa中安装相关工具包:
pip install pymysql
pip install redis
pip install numpy
sudo apt-get install python3-dev
pip install pandas
pip install git+https://github.com/Supervisor/supervisor
问题:
#安装pandas出错:Python.h: No such file or directory
#解决方案:sudo apt-get install python3-dev
#如果安装包失败,让高雅喆用他的账户在服务器上进行安装。因为女娲项目是他在服务器上的"/home/gaoyazhe"路径下创建的,
# 所以别的账户安装包可能会失败。
pip install scipy
pip install scikit-learn
pip uninstall numpy
pip install numpy==1.14.5
问题:
#import sklearn出错:RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility
#解决方案:pip uninstall numpy;pip install numpy==1.14.5
(4) requirements:
pymysql=='0.9.2'
numpy=='1.14.5'
pandas=='0.22.0'
scipy=='1.1.0'
sklearn=='0.19.2'
\ No newline at end of file
readme.txt
View file @
7499c7c7
...
...
@@ -15,6 +15,7 @@ pip install redis
pip install numpy
sudo apt-get install python3-dev
pip install pandas
pip install git+https://github.com/Supervisor/supervisor
问题:
#安装pandas出错:Python.h: No such file or directory
#解决方案:sudo apt-get install python3-dev
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment