Skip to content

pth doesn't get populated properly with easy_install - leading to failure in importing #5

@hallaj

Description

@hallaj

When I try to install this via easy_install, I couldn't import the module via 'from os import path2', not even 'from os.path2 import *'

with pip:

$ virtualenv --no-site-packages pip
$ . pip/bin/activate
$ pip install os.path2
$ python -c 'from os import path2'
$ 

with easy_install:

$ virtualenv --no-site-packages easy_install
$ . easy_install/bin/activate
$ easy_install os.path2
$ python -c 'from os import path2'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: cannot import name path2
$ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions