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

Fail to create conda environment #4695

Closed
JiaweiZhuang opened this issue Oct 1, 2018 · 8 comments
Closed

Fail to create conda environment #4695

JiaweiZhuang opened this issue Oct 1, 2018 · 8 comments
Labels
Needed: replication Bug replication is required Status: stale Issue will be considered inactive soon Support Support question

Comments

@JiaweiZhuang
Copy link

Details

Expected Result

Builds worked normally 3 days ago.

Actual Result

Since 2 days ago, the builds always failed with CondaValueError: pip returned an error.

This error happens for other projects using conda, for example https://readthedocs.org/projects/xesmf/builds/7872438/

I noticed the recommendation Use pip when possible. Does this error happen because conda uses too much memory?

@stsewd
Copy link
Member

stsewd commented Oct 1, 2018

I noticed the recommendation Use pip when possible. Does this error happen because conda uses too much memory?

I think it can be, I'll test this locally later

@stsewd stsewd added Support Support question Needed: replication Bug replication is required labels Oct 1, 2018
JiaweiZhuang added a commit to geoschem/geos-chem-cloud that referenced this issue Oct 1, 2018
@JiaweiZhuang
Copy link
Author

JiaweiZhuang commented Oct 1, 2018

@stsewd Thanks! I switched to pip and the error is gone. But does this mean that I shouldn't use conda (also for other projects)?

The just-build page has another problem that the "Edit on GitHub" button is broken. That button was working before. Seems to duplicate #4671. Looks like there's already a solution #4696.

@stsewd
Copy link
Member

stsewd commented Oct 1, 2018

If your project can be built using pip, that is preferred over conda, if you really need to use conda and it fails, you can request more time/memory for your project. And yes, #4696 fix that problem, hope we can deploy that soon.

@agjohnson
Copy link
Contributor

Both projects show the same failure:

pip._vendor.pkg_resources.RequirementParseError: Invalid requirement, parse error at "'; extra '"

This doesn't look resource related. Most likely, if not a problem with the formatting of your requirements, is a change in conda somewhere?

@JiaweiZhuang
Copy link
Author

@agjohnson Good catch. I think I've found the issue: conda-forge/testpath-feedstock#7

@stsewd
Copy link
Member

stsewd commented Oct 2, 2018

If this isn't a problem related to rtd, we can close this issue.

@JiaweiZhuang
Copy link
Author

Sounds good to me

@stale
Copy link

stale bot commented Jan 10, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needed: replication Bug replication is required Status: stale Issue will be considered inactive soon Support Support question
Projects
None yet
Development

No branches or pull requests

3 participants