You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using "pipenv install" and I am getting the following error which is confusing for me in a sense that I don't know is it a python2.7 error or python3.6.
The point is, when running the command, it is saying that: Using /usr/bin/python2.7 (2.7.5) to create virtualenv...
but :
Actual result
The traceback error is mentioning some scripts in python3.6:
Pipfile: /home/hannahbrahman/internship/R-net/Pipfile
Using /usr/bin/python2.7 (2.7.5) to create virtualenv...
⠋Traceback (most recent call last):
File "/home/hannahbrahman/anaconda3/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/home/hannahbrahman/anaconda3/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/hannahbrahman/anaconda3/lib/python3.6/site-packages/pipenv/pew/__main__.py", line 13, in <module>
pew.pew.pew()
File "/home/hannahbrahman/anaconda3/lib/python3.6/site-packages/pipenv/patched/pew/pew.py", line 766, in pew
first_run = makedirs_and_symlink_if_needed(get_workon_home())
File "/home/hannahbrahman/anaconda3/lib/python3.6/site-packages/pipenv/patched/pew/pew.py", line 65, in makedirs_and_symlink_if_needed
workon_home.mkdir(parents=True)
File "/home/hannahbrahman/anaconda3/lib/python3.6/pathlib.py", line 1226, in mkdir
self._accessor.mkdir(self, mode)
File "/home/hannahbrahman/anaconda3/lib/python3.6/pathlib.py", line 387, in wrapped
return strfunc(str(pathobj), *args)
OSError: [Errno 122] Disk quota exceeded: '/soe/hannahbrahman/.local/share/virtualenvs'
Virtualenv location:
Traceback (most recent call last):
File "/home/hannahbrahman/anaconda3/bin/pipenv", line 11, in <module>
sys.exit(cli())
File "/home/hannahbrahman/anaconda3/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/home/hannahbrahman/anaconda3/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/home/hannahbrahman/anaconda3/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/hannahbrahman/anaconda3/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/hannahbrahman/anaconda3/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/home/hannahbrahman/anaconda3/lib/python3.6/site-packages/pipenv/cli.py", line 435, in install
selective_upgrade=selective_upgrade,
File "/home/hannahbrahman/anaconda3/lib/python3.6/site-packages/pipenv/core.py", line 1759, in do_install
pypi_mirror=pypi_mirror,
File "/home/hannahbrahman/anaconda3/lib/python3.6/site-packages/pipenv/core.py", line 614, in ensure_project
path_to_python = which('python') or which('py')
File "/home/hannahbrahman/anaconda3/lib/python3.6/site-packages/pipenv/core.py", line 115, in which
p = os.path.join(location, 'bin', command)
File "/home/hannahbrahman/anaconda3/lib/python3.6/posixpath.py", line 78, in join
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType```
Any help would be appreciated. thanks
-------------------------------------------------------------------------------
<details><summary>$ pipenv --support</summary>
Pipenv version: `'2018.7.1'`
Pipenv location: `'/home/hannahbrahman/anaconda3/lib/python3.6/site-packages/pipenv'`
Python location: `'/home/hannahbrahman/anaconda3/bin/python'`
Other Python installations in `PATH`:
- `2.7`: `/usr/bin/python2.7`
- `2.7`: `/usr/bin/python2.7`
- `3.4`: `/usr/bin/python3.4m`
- `3.4`: `/usr/bin/python3.4`
- `3.6`: `/home/hannahbrahman/anaconda3/bin/python3.6m`
- `3.6`: `/home/hannahbrahman/anaconda3/bin/python3.6`
- `3.6.4`: `/home/hannahbrahman/anaconda3/bin/python`
- `2.7.5`: `/usr/bin/python`
- `2.7.5`: `/usr/bin/python2`
- `3.6.4`: `/home/hannahbrahman/anaconda3/bin/python3`
- `3.4.8`: `/usr/bin/python3`
PEP 508 Information:
Issue description
Hello,
I am using "pipenv install" and I am getting the following error which is confusing for me in a sense that I don't know is it a python2.7 error or python3.6.
The point is, when running the command, it is saying that:
Using /usr/bin/python2.7 (2.7.5) to create virtualenv...
but :
Actual result
The traceback error is mentioning some scripts in python3.6:
{'implementation_name': 'cpython',
'implementation_version': '3.6.4',
'os_name': 'posix',
'platform_machine': 'x86_64',
'platform_python_implementation': 'CPython',
'platform_release': '3.10.0-862.3.3.el7.x86_64',
'platform_system': 'Linux',
'platform_version': '#1 SMP Fri Jun 15 04:15:27 UTC 2018',
'python_full_version': '3.6.4',
'python_version': '3.6',
'sys_platform': 'linux'}
Contents of
Pipfile.lock
('/home/hannahbrahman/internship/R-net/Pipfile.lock'):The text was updated successfully, but these errors were encountered: