https://pantsbuild.org/ logo
#pex
Title
# pex
a

aloof-angle-91616

09/05/2018, 2:54 AM
Copy code
> python3.6
Python 3.6.6 (default, Sep  1 2018, 10:39:12) 
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pkg_resources
>>> pkg_resources.__file__
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'pkg_resources' has no attribute '__file__'
>>> dir(pkg_resources)
['__doc__', '__loader__', '__name__', '__package__', '__path__', '__spec__']
>>> import setuptools
>>> setuptools.__path__
_NamespacePath(['/usr/lib/python3.6/site-packages/setuptools'])
>>> pkg_resources.__path__
_NamespacePath(['/usr/lib/python3.6/site-packages/pkg_resources'])
>>>