Opened 4 years ago

Closed 4 years ago

#61065 closed defect (worksforme)

py-virtualenv @20.0.27_0 virtualenv script exits with an error

Reported by: mainka (Jérôme Mainka) Owned by: larryv (Lawrence Velázquez)
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc: reneeotten (Renee Otten)
Port: py-virtualenv

Description (last modified by jmroot (Joshua Root))

Steps to reproduce:

$ sudo port install py37-virtualenv
$ virtualenv-3.7 --help
Traceback (most recent call last):
  File "/opt/local/bin/virtualenv-3.7", line 33, in <module>
    sys.exit(load_entry_point('virtualenv==20.0.27', 'console_scripts', 'virtualenv')())
  File "/opt/local/bin/virtualenv-3.7", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/importlib_metadata/__init__.py", line 107, in load
    return functools.reduce(getattr, attrs, module)
AttributeError: module 'virtualenv' has no attribute 'main'

Notice that python3.7 -mvirtualenv --help works.

This defects seems to appear in version @20.0.25 (commit: [50bb3d174374cc817521a909d89ae430854e98a0/macports-ports]).

Change History (2)

comment:1 Changed 4 years ago by jmroot (Joshua Root)

Cc: reneeotten added
Description: modified (diff)

comment:2 Changed 4 years ago by reneeotten (Renee Otten)

Resolution: worksforme
Status: assignedclosed

current version of py-virtualenv is 20.2.2 and I do not see the problem you describe there. Closing this as "works for me"; please check and if you're still having trouble please re-open.

Note: See TracTickets for help on using tickets.