-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
No module named 'virtualenv.seed.via_app_data' #1873
Copy link
Copy link
Closed
Labels
Description
Issue
On calling virtualenv test i expect it to create a folder named test with all the virtual environment files in there. The observed behaviour is just the following message with no folder test created:
ModuleNotFoundError: No module named 'virtualenv.seed.via_app_data'
Environment
Provide at least:
- OS: Ubuntu 20.04
pip listof the host python wherevirtualenvis installed:
Package Version
---------------------- -------------
appdirs 1.4.4
apturl 0.5.2
awscli 1.17.14
blinker 1.4
botocore 1.14.14
Brlapi 0.7.0
certifi 2019.11.28
chardet 3.0.4
chrome-gnome-shell 0.0.0
colorama 0.4.3
command-not-found 0.3
cryptography 2.8
cupshelpers 1.0
dbus-python 1.2.16
defer 1.0.6
distlib 0.3.0
distro 1.4.0
distro-info 0.23ubuntu1
docutils 0.16
entrypoints 0.3
filelock 3.0.12
httpie 1.0.3
httplib2 0.14.0
idna 2.8
importlib-metadata 1.5.0
jmespath 0.9.4
keyring 18.0.1
language-selector 0.1
launchpadlib 1.10.13
lazr.restfulclient 0.14.2
lazr.uri 1.0.3
louis 3.12.0
macaroonbakery 1.3.1
more-itertools 4.2.0
netifaces 0.10.4
oauthlib 3.1.0
olefile 0.46
pexpect 4.6.0
Pillow 7.0.0
pip 20.1.1
protobuf 3.6.1
pyasn1 0.4.2
pycairo 1.16.2
pycups 1.9.73
Pygments 2.6.1
PyGObject 3.36.0
PyJWT 1.7.1
pymacaroons 0.13.0
PyNaCl 1.3.0
pyRFC3339 1.1
python-apt 2.0.0
python-dateutil 2.7.3
python-debian 0.1.36ubuntu1
pytz 2019.3
pyxdg 0.26
PyYAML 5.3.1
reportlab 3.5.34
requests 2.22.0
requests-unixsocket 0.2.0
roman 2.0.0
rsa 4.0
s3transfer 0.3.3
SecretStorage 2.3.1
setuptools 45.2.0
simplejson 3.16.0
six 1.14.0
systemd-python 234
ubuntu-advantage-tools 20.3
ubuntu-drivers-common 0.0.0
ufw 0.36
unattended-upgrades 0.1
urllib3 1.25.8
virtualenv 20.0.24
wadllib 1.3.3
wheel 0.34.2
xkit 0.0.0
zipp 1.0.0Output of the virtual environment creation
71 setup logging to NOTSET [DEBUG report:42]
88 find interpreter for spec PythonSpec(path=/usr/bin/python3) [INFO builtin:44]
88 proposed PythonInfo(spec=CPython3.8.2.final.0-64, exe=/usr/bin/python3, platform=linux, version='3.8.2 (default, Apr 27 2020, 15:53:34) \n[GCC 9.3.0]', encoding_fs_io=utf-8-utf-8) [INFO builtin:50]
88 accepted PythonInfo(spec=CPython3.8.2.final.0-64, exe=/usr/bin/python3, platform=linux, version='3.8.2 (default, Apr 27 2020, 15:53:34) \n[GCC 9.3.0]', encoding_fs_io=utf-8-utf-8) [DEBUG builtin:52]
89 filesystem is case-sensitive [DEBUG info:28]
Traceback (most recent call last):
File "/home/florian/.local/bin/virtualenv", line 8, in <module>
sys.exit(run_with_catch())
File "/home/florian/.local/lib/python3.8/site-packages/virtualenv/__main__.py", line 63, in run_with_catch
run(args, options)
File "/home/florian/.local/lib/python3.8/site-packages/virtualenv/__main__.py", line 17, in run
session = cli_run(args, options)
File "/home/florian/.local/lib/python3.8/site-packages/virtualenv/run/__init__.py", line 24, in cli_run
session = session_via_cli(args, options)
File "/home/florian/.local/lib/python3.8/site-packages/virtualenv/run/__init__.py", line 32, in session_via_cli
parser, elements = build_parser(args, options)
File "/home/florian/.local/lib/python3.8/site-packages/virtualenv/run/__init__.py", line 60, in build_parser
SeederSelector(interpreter, parser),
File "/home/florian/.local/lib/python3.8/site-packages/virtualenv/run/plugin/seeders.py", line 8, in __init__
possible = self.options("virtualenv.seed")
File "/home/florian/.local/lib/python3.8/site-packages/virtualenv/run/plugin/base.py", line 39, in options
cls._OPTIONS = cls.entry_points_for(key)
File "/home/florian/.local/lib/python3.8/site-packages/virtualenv/run/plugin/base.py", line 18, in entry_points_for
return OrderedDict((e.name, e.load()) for e in cls.entry_points().get(key, {}))
File "/home/florian/.local/lib/python3.8/site-packages/virtualenv/run/plugin/base.py", line 18, in <genexpr>
return OrderedDict((e.name, e.load()) for e in cls.entry_points().get(key, {}))
File "/usr/lib/python3.8/importlib/metadata.py", line 77, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'virtualenv.seed.via_app_data'Reactions are currently unavailable