mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
@@ -289,8 +289,6 @@ def find_a_system_python(python):
|
||||
if os.name == 'nt':
|
||||
possibility = '{0}.exe'.format(possibility)
|
||||
|
||||
print(system_which(possibility))
|
||||
|
||||
version = python_version(system_which(possibility))
|
||||
if version:
|
||||
if python in version:
|
||||
|
||||
@@ -26,6 +26,10 @@ requests = requests.session()
|
||||
|
||||
def python_version(path_to_python):
|
||||
print(path_to_python)
|
||||
|
||||
if not path_to_python:
|
||||
return None
|
||||
|
||||
try:
|
||||
TEMPLATE = 'Python {}.{}.{}'
|
||||
print('{0} --version'.format(path_to_python))
|
||||
|
||||
Reference in New Issue
Block a user