pip installer seems not to write in the PATH in a Python server -
i tried download graphlab turi wit following tutorial. coded tools , tried compute python script answered me importerror.
(gl-env)ubuntu@ip-172-hey-hey-hey:~/eclipse-stats$ source deactivate discarding /home/ubuntu/anaconda2/envs/gl-env/bin path ubuntu@ip-172-hey-hey-hey:~/eclipse-stats$ unset pythonpath ubuntu@ip-172-hey-hey-hey:~/eclipse-stats$ python main.py 2017-07-27 14:56:00.520425 /home/ubuntu/.local/lib/python2.7/site-packages/sklearn/cross_validation.py:44: deprecationwarning: module deprecated in version 0.18 in favor of model_selection module refactored classes , functions moved. note interface of new cv iterators different of module. module removed in 0.20. "this module removed in 0.20.", deprecationwarning) traceback (most recent call last): file "main.py", line 3, in <module> import prediction file "/home/ubuntu/eclipse-stats/prediction.py", line 1, in <module> graphlab.toolkits.recommender import ranking_factorization_recommender importerror: no module named graphlab.toolkits.recommender actually cames on server when tried download pip numpy, scipy, sklearn... can see in the following conversation (in spanish) between fjsevilla , man of team i'm working with.
two things: (1) check version of python console , see if matches or higher compatibility packages. if @ depreciation message , read through, understand going on little more. (2) careful of importing , how import them because formatting might syntactic error. 1 thing find package, manually download, unzip, run setup.py.
Comments
Post a Comment