Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ubuntu 16.04 使用了pip安装了所有依赖。但是import有问题 #43

Closed
china-shang opened this issue Aug 31, 2017 · 5 comments
Closed

Comments

@china-shang
Copy link

screenshot from 2017-08-31 12-08-34

@SeaHOH
Copy link
Owner

SeaHOH commented Aug 31, 2017

还有 brotlipy 没装

@china-shang
Copy link
Author

建议把依赖一起写进requirement.txt 中,这样可以直接pip insatll -r requirement.txt

@SeaHOH
Copy link
Owner

SeaHOH commented Aug 31, 2017

谢谢建议,其实我不太懂啦,帮我写一个行吗。

  • gevent 1.1.2 及以上
  • pyOpenSSL 16.0.0 及以上
  • dnslib 0.8.3 及以上
  • PySocks 1.5.4 及以上
  • brotlipy 0.5.0 及以上

@china-shang
Copy link
Author

    gevent >= 1.1.2 
    pyOpenSSL >=16.0.0 
    dnslib >= 0.8.3 
    PySocks >= 1.5.4
    brotlipy >= 0.5.0 

把上面的保存为requirement.txt就行了,要安装依赖就可以pip3 install -r requirement.txt

@SeaHOH
Copy link
Owner

SeaHOH commented Aug 31, 2017

安装方面不懂,我连 Python 都不是安装的,自己精简了个便携版,没有设置环境变量和关联。

请问,除了 requirement.txt 还有其它需要做的吗?

SeaHOH added a commit that referenced this issue Sep 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants