-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
Type: DuplicateThis issue is a duplicate of an already-existing issue.This issue is a duplicate of an already-existing issue.
Description
AVOID POSTING ISSUES UNDER THIS CATEGORY.
If Pipenv is not functioning as you would like it to, consider filing either a bug report, or a feature request instead.
Please refer to StackOverflow tag for more information.
Please run $ pipenv --support
, and paste the results here. Don't put backticks (`
) around it! The output already contains Markdown formatting.
If you're on macOS, run the following:
$ pipenv --support | pbcopy
If you're on Windows, run the following:
> pipenv --support | clip
If you're on Linux, run the following:
$ pipenv --support | xclip
Well I can't even run pipenv --support it gives me this error
return f(get_current_context(), *args, **kwargs)
File "/home/leon/.pyenv/versions/3.6.7/lib/python3.6/site-packages/pipenv/cli/command.py", line 142, in cli
get_pipenv_diagnostics()
File "/home/leon/.pyenv/versions/3.6.7/lib/python3.6/site-packages/pipenv/help.py", line 33, in get_pipenv_diagnostics
python_paths = finder.find_all_python_versions()
File "/home/leon/.pyenv/versions/3.6.7/lib/python3.6/site-packages/pipenv/vendor/pythonfinder/pythonfinder.py", line 136, in find_all_python_versions
major=major, minor=minor, patch=patch, pre=pre, dev=dev, arch=arch, name=name
File "/home/leon/.pyenv/versions/3.6.7/lib/python3.6/site-packages/pipenv/vendor/pythonfinder/models/path.py", line 328, in find_all_python_versions
values = list(self.get_pythons(sub_finder))
File "/home/leon/.pyenv/versions/3.6.7/lib/python3.6/site-packages/pipenv/vendor/pythonfinder/models/path.py", line 279, in get_pythons
reverse=True
File "/home/leon/.pyenv/versions/3.6.7/lib/python3.6/site-packages/pipenv/vendor/pythonfinder/models/path.py", line 277, in <genexpr>
(p for p in self._filter_paths(finder) if p.is_python),
File "/home/leon/.pyenv/versions/3.6.7/lib/python3.6/site-packages/pipenv/vendor/pythonfinder/models/path.py", line 264, in <genexpr>
pth for pth in unnest(finder(p) for p in self.path_entries if p is not None)
File "/home/leon/.pyenv/versions/3.6.7/lib/python3.6/site-packages/pipenv/vendor/pythonfinder/utils.py", line 138, in unnest
for el in target:
File "/home/leon/.pyenv/versions/3.6.7/lib/python3.6/site-packages/pipenv/vendor/pythonfinder/models/path.py", line 264, in <genexpr>
pth for pth in unnest(finder(p) for p in self.path_entries if p is not None)
File "/home/leon/.pyenv/versions/3.6.7/lib/python3.6/site-packages/pipenv/vendor/pythonfinder/models/mixins.py", line 76, in find_all_python_versions
path_filter = filter(None, (sub_finder(p) for p in self.children.values()))
File "/home/leon/.pyenv/versions/3.6.7/lib/python3.6/site-packages/pipenv/vendor/cached_property.py", line 35, in __get__
value = obj.__dict__[self.func.__name__] = self.func(obj)
File "/home/leon/.pyenv/versions/3.6.7/lib/python3.6/site-packages/pipenv/vendor/pythonfinder/models/path.py", line 494, in children
for child_key, child_val in self._gen_children():
File "/home/leon/.pyenv/versions/3.6.7/lib/python3.6/site-packages/pipenv/vendor/pythonfinder/models/path.py", line 487, in _gen_children
yield (child.as_posix(), PathEntry.create(path=child, **pass_args))
File "/home/leon/.pyenv/versions/3.6.7/lib/python3.6/site-packages/pipenv/vendor/pythonfinder/models/path.py", line 567, in create
_new = cls(**creation_args)
File "<attrs generated init 1a0d15d2d89843b0eea5f1da4750a4c34f8387c7>", line 16, in __init__
File "/home/leon/.pyenv/versions/3.6.7/lib/python3.6/site-packages/pipenv/vendor/pythonfinder/models/path.py", line 510, in get_py_version
py_version = PythonVersion.from_path(path=self, name=self.name)
File "/home/leon/.pyenv/versions/3.6.7/lib/python3.6/site-packages/pipenv/vendor/pythonfinder/models/python.py", line 418, in from_path
instance_dict = cls.parse(py_version.strip())
File "/home/leon/.pyenv/versions/3.6.7/lib/python3.6/site-packages/pipenv/vendor/pythonfinder/models/python.py", line 366, in parse
raise ValueError("Not a valid python version: %r" % version)
ValueError: Not a valid python version: <LegacyVersion('2.7.15+')>
I'm using pyenv and pipenv and they don't seem to be playing nice, anyone seen an error like this before ?
Metadata
Metadata
Assignees
Labels
Type: DuplicateThis issue is a duplicate of an already-existing issue.This issue is a duplicate of an already-existing issue.