Palt0n opened a new issue #2749: required_python_version not in python_version, NoneType URL: https://github.com/apache/incubator-openwhisk/issues/2749 <!-- Do NOT share passwords, credentials or other confidential information. Before creating a new issue, please check if there is one already open that fits the defect you are reporting. If you open an issue and realize later it is a duplicate of a pre-existing open issue, please close yours and add a comment to the other. Issues can be created for either defects or enhancement requests. If you are a committer than please add the labels "bug" or "feature". If you are not a committer please make clear in the comments which one it is, so that committers can add these labels later. If you are reporting a defect, please edit the issue description to include the information shown below. If you are reporting an enhancement request, please include information on what you are trying to achieve and why that enhancement would help you. For more information about reporting issues, see https://github.com/apache/incubator-openwhisk/blob/master/CONTRIBUTING.md#raising-issues Use the commands below to provide key information from your environment: You do not have to include this information if this is a feature request. --> ## Environment details: Windows 10, Python 3.6.2, Pipenv 7.0.1 ## Steps to reproduce the issue: 1. pip install pipenv 2. I tried pipenv --three (doesn't work because its windows so it's ok) 3. Then did pipenv --python C:\Users\Erwin\AppData\Local\Programs\Python\Python36-32\ (which gives the error msg) ## Provide the expected results and outputs: ``` pipenv successful? ``` ## Provide the actual results and outputs: ``` C:\Users\Erwin\Dropbox\Heroku\python-getting-started>pipenv --python C:\Users\Erwin\AppData\Local\Programs\Python\Python36-32\python.exe Creating a virtualenv for this project? Using C:\Users\Erwin\AppData\Local\Programs\Python\Python36-32\python.exe to create virtualenv? Running virtualenv with interpreter C:\Users\Erwin\AppData\Local\Programs\Python\Python36-32\python.exe Using base prefix 'C:\\Users\\Erwin\\AppData\\Local\\Programs\\Python\\Python36-32' New python executable in C:\Users\Erwin\.virtualenvs\python-getting-started-Ub1G1fBr\Scripts\python.exe Installing setuptools, pip, wheel...done. Virtualenv location: C:\Users\Erwin\.virtualenvs\python-getting-started-Ub1G1fBr Traceback (most recent call last): File "c:\users\erwin\appdata\local\programs\python\python36-32\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "c:\users\erwin\appdata\local\programs\python\python36-32\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Users\Erwin\AppData\Local\Programs\Python\Python36-32\Scripts\pipenv.exe\__main__.py", line 9, in <module> File "c:\users\erwin\appdata\local\programs\python\python36-32\lib\site-packages\pipenv\vendor\click\core.py", line 722, in __call__ return self.main(*args, **kwargs) File "c:\users\erwin\appdata\local\programs\python\python36-32\lib\site-packages\pipenv\vendor\click\core.py", line 697, in main rv = self.invoke(ctx) File "c:\users\erwin\appdata\local\programs\python\python36-32\lib\site-packages\pipenv\vendor\click\core.py", line 1043, in invoke return Command.invoke(self, ctx) File "c:\users\erwin\appdata\local\programs\python\python36-32\lib\site-packages\pipenv\vendor\click\core.py", line 895, in invoke return ctx.invoke(self.callback, **ctx.params) File "c:\users\erwin\appdata\local\programs\python\python36-32\lib\site-packages\pipenv\vendor\click\core.py", line 535, in invoke return callback(*args, **kwargs) File "c:\users\erwin\appdata\local\programs\python\python36-32\lib\site-packages\pipenv\vendor\click\decorators.py", line 17, in new_func return f(get_current_context(), *args, **kwargs) File "c:\users\erwin\appdata\local\programs\python\python36-32\lib\site-packages\pipenv\cli.py", line 1159, in cli ensure_project(three=three, python=python) File "c:\users\erwin\appdata\local\programs\python\python36-32\lib\site-packages\pipenv\cli.py", line 378, in ensure_project if project.required_python_version not in python_version(path_to_python): TypeError: argument of type 'NoneType' is not iterable ``` ## Additional information you deem important: Have python 2.7 also installed, but 'python' in the cli refers to python 3 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
With regards, Apache Git Services
