Skip to content

Conda-specific compatibility note in documentation #1862

Open
@acdha

Description

@acdha

I was attempting to help some visiting astronomers start using pipenv and ran into two problems with the instructions:

https://github.com/pypa/pipenv/blob/master/docs/advanced.rst#-pipenv-and-conda

The easy problem was that /path/to/anaconda… will not work if you simply copy and paste it but it's possible to miss that because while it prints “The path /foo/bar/baaz (from --python=/foo/bar/baaz) does not exist” that is buried under a lengthy traceback with the last thing people see being “TypeError: 'NoneType' object is not subscriptable”. Do you think it'd be worth a pull-request which would just end with the first message?

The more time-consuming problem was actually a Conda problem where the virtualenv creation failed with an error message early in the startup about being unable to import _io in the tempfile stdlib module, which was fixed at some point but hadn't been updated on their system. conda update python virtualenv fixed the problem but wasn't the first thing they were jumping to try. Should I contribute a brief note for the docs suggesting this more obviously?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: Documentation 📖This issue relates to documentation of pipenv.good first issueIssues suitable as a newcomer to get familiar with Pipenv!

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions