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

Specify a python version #2

Closed
sergiev opened this issue May 16, 2020 · 5 comments · May be fixed by #3
Closed

Specify a python version #2

sergiev opened this issue May 16, 2020 · 5 comments · May be fixed by #3

Comments

@sergiev
Copy link

sergiev commented May 16, 2020

Because now there's a conflict due to installation of the latest python by default.

Specifications:

  - pytorch=1.0 -> python[version='>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0']
  - torchvision=0.2 -> python[version='>=2.7,<2.8.0a0|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0']

Your python: python=3.8

@wangyuxin87
Copy link
Owner

We recommend you to use Anaconda BaiduYun Link(passward:1y3v) or Geogle Drive to manage your libraries.
And the python=3.7 is used in our enviroment.

@sergiev
Copy link
Author

sergiev commented May 18, 2020

@wangyuxin87 seems like there's only python 2.7 in that 658MB shell script
Screenshot from 2020-05-18 15-24-37
Screenshot from 2020-05-18 15-26-36

@wangyuxin87
Copy link
Owner

Yes, only python 2.7 exists in our proposed Anaconda, and you will get python with version>3.7
when you follow our installation steps .

  conda create --name ContourNet
  conda activate ContourNet
  conda install ipython

@sergiev
Copy link
Author

sergiev commented May 18, 2020

Yep, but with python 3.8 everything fails to build due to conflict described in first message.

@wangyuxin87
Copy link
Owner

When you type following instruction, it will automatically fix your mentioned problem.

  conda install pytorch=1.0 torchvision=0.2 cudatoolkit=9.0 -c pytorch

which is shown in following figure:
image

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

Successfully merging a pull request may close this issue.

2 participants