Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I am getting error when using " pipenv install" #2634

Closed
fabrahman opened this issue Jul 23, 2018 · 1 comment
Closed

I am getting error when using " pipenv install" #2634

fabrahman opened this issue Jul 23, 2018 · 1 comment

Comments

@fabrahman
Copy link

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:

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:

{'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'}


System environment variables:

  - `REMOTEHOST`
  - `XDG_SESSION_ID`
  - `HOSTNAME`
  - `HOST`
  - `TERM`
  - `SHELL`
  - `SSH_CLIENT`
  - `SSH_TTY`
  - `QT_GRAPHICSSYSTEM_CHECKED`
  - `CUDA_HOME`
  - `GROUP`
  - `USER`
  - `LD_LIBRARY_PATH`
  - `LS_COLORS`
  - `HOSTTYPE`
  - `MAIL`
  - `PATH`
  - `PWD`
  - `LUA_PATH`
  - `LANG`
  - `LUA_CPATH`
  - `MODULEPATH`
  - `LOADEDMODULES`
  - `LM_LICENSE_FILE`
  - `KRB5CCNAME`
  - `SHLVL`
  - `HOME`
  - `OSTYPE`
  - `LS_OPTIONS`
  - `DYLD_LIBRARY_PATH`
  - `VENDOR`
  - `MACHTYPE`
  - `LOGNAME`
  - `SSH_CONNECTION`
  - `MODULESHOME`
  - `LESSOPEN`
  - `XDG_RUNTIME_DIR`
  - `CUDA_ROOT`
  - `_`
  - `OLDPWD`
  - `PYTHONDONTWRITEBYTECODE`
  - `PIP_PYTHON_PATH`

Pipenv–specific environment variables:


Debug–specific environment variables:

  - `PATH`: `/home/hannahbrahman/torch/install/bin:/soe/hannahbrahman/cuda/bin:/home/hannahbrahman/anaconda3/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/dell/srvadmin/bin`
  - `SHELL`: `/bin/csh`
  - `LANG`: `en_US.UTF-8`
  - `PWD`: `/home/hannahbrahman/internship/R-net`


---------------------------

Contents of `Pipfile` ('/home/hannahbrahman/internship/R-net/Pipfile'):

```toml
[[source]]

url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"


[packages]

nltk = "*"
numpy = "*"
tqdm = "*"
spacy = "*"


[dev-packages]



[requires]

python_version = "2.7"

Contents of Pipfile.lock ('/home/hannahbrahman/internship/R-net/Pipfile.lock'):

{
    "_meta": {
        "hash": {
            "sha256": "cafb0878b982e8a50dca62af4fa0de812239aed64da0d59a21f3cbf1ec64f35a"
        },
        "host-environment-markers": {
            "implementation_name": "cpython",
            "implementation_version": "0",
            "os_name": "posix",
            "platform_machine": "x86_64",
            "platform_python_implementation": "CPython",
            "platform_release": "4.10.0-42-generic",
            "platform_system": "Linux",
            "platform_version": "#46-Ubuntu SMP Mon Dec 4 14:38:01 UTC 2017",
            "python_full_version": "2.7.13",
            "python_version": "2.7",
            "sys_platform": "linux2"
        },
        "pipfile-spec": 6,
        "requires": {
            "python_version": "2.7"
        },
        "sources": [
            {
                "name": "pypi",
                "url": "https://pypi.python.org/simple",
                "verify_ssl": true
            }
        ]
    },
    "default": {
        "certifi": {
            "hashes": [
                "sha256:14131608ad2fd56836d33a71ee60fa1c82bc9d2c8d98b7bdbc631fe1b3cd1296",
                "sha256:edbc3f203427eef571f79a7692bb160a2b0f7ccaa31953e99bd17e307cf63f7d"
            ],
            "version": "==2018.1.18"
        },
        "chardet": {
            "hashes": [
                "sha256:fc323ffcaeaed0e0a02bf4d117757b98aed530d9ed4531e3e15460124c106691",
                "sha256:84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae"
            ],
            "version": "==3.0.4"
        },
        "cymem": {
            "hashes": [
                "sha256:b6513b2926c60d641f159e79e6fb16460dfb50ebcce31a5af0370c51837c7efc",
                "sha256:616d06333f46dd03c128d97912d361183fc02249e6420a7b7907b41214c51562",
                "sha256:944af97d4d34a2470b5199f1c31d2dfc79cdec7bd7a41354d839a8ab87fdfaa6",
                "sha256:50292f4dd0d950a8698bae27d71efe59da7ff08e591b735e08b658aae42c4745",
                "sha256:daa6003fcc199752ab703142021cff74774872a932303b240dc0ea177adf295d",
                "sha256:b38056efb99078b06c504adb5f03a8d9e822a5543451737b746028a71c4b1ac3",
                "sha256:4bc1056b52d959fcbb1e0f32ec84fa131754d6be1e36b65782c6ac86419f4bf3",
                "sha256:0dd61d05977839a922c0d797c355b98949210575918b1743b41e38ae9fb2c3a7",
                "sha256:4c5d9ca6ec706792b8d9b1faf6db77b95545c388c768b21d940f197aa7efbb7e",
                "sha256:00bb3645dfb9a020d735ba3d6f822b04656388180588d8b2cebde967ee678bcc",
                "sha256:f06d9b50da0474d7405674d8101c319d89a17d33792d6d429fe3d5c64f0d9df1"
            ],
            "version": "==1.31.2"
        },
        "cytoolz": {
            "hashes": [
                "sha256:476a2ad176de5eaef80499b7b43d4f72ba6d23df33d349088dae315e9b31c552"
            ],
            "version": "==0.8.2"
        },
        "dill": {
            "hashes": [
                "sha256:97fd758f5fe742d42b11ec8318ecfcff8776bccacbfcec05dfd6276f5d450f73"
            ],
            "version": "==0.2.7.1"
        },
        "ftfy": {
            "hashes": [
                "sha256:3c0066db64a98436e751e56414f03f1cdea54f29364c0632c141c36cca6a5d94"
            ],
            "version": "==4.4.3"
        },
        "html5lib": {
            "hashes": [
                "sha256:18f4d63fa56836e3d62e96a44d06fcfe01a9be397a222368ee21403b64c176d2"
            ],
            "version": "==1.0b8"
        },
        "idna": {
            "hashes": [
                "sha256:8c7309c718f94b3a625cb648ace320157ad16ff131ae0af362c9f21b80ef6ec4",
                "sha256:2c6a5de3089009e3da7c5dde64a141dbc8551d5b7f6cf4ed7c2568d0cc520a8f"
            ],
            "version": "==2.6"
        },
        "msgpack-numpy": {
            "hashes": [
                "sha256:6947df61826a2917e38dbe07957a0c70dc82dce93ec38153dae850fdd21a4583",
                "sha256:afc603c7cf8497fb125a8c8c713518a004e9662101f088e3d4fcf7688b08eeb3"
            ],
            "version": "==0.4.1"
        },
        "msgpack-python": {
            "hashes": [
                "sha256:c1f3f8d02206f84258a3b4f99fbc0a4e3c849721c9361196c3bfd5243e4304cd"
            ],
            "version": "==0.5.4"
        },
        "murmurhash": {
            "hashes": [
                "sha256:651137ed3e1169342c9edade454f3beb7fcdf28d4ad1ac232725237eaf442d9a"
            ],
            "version": "==0.28.0"
        },
        "nltk": {
            "hashes": [
                "sha256:2661f9971d983db314bbebd51ba770811a362c6597fd0f303bb1d3beadcb4834",
                "sha256:8a3bad9ff7f67d2828a7915c2fab93e6ca910c2015ef40799e1805fccf2354e5"
            ],
            "version": "==3.2.5"
        },
        "numpy": {
            "hashes": [
                "sha256:e2335d56d2fd9fc4e3a3f2d3148aafec4962682375f429f05c45a64dacf19436",
                "sha256:9b762e78739b6e021124adbea07611682db99cd3fca7f3c3a8b98b8f74ea5699",
                "sha256:7d4c549e41507db4f04ec7cfab5597de8acf7871b16c9cf64cebcb9d39031ca6",
                "sha256:b803306c4c201e7dcda0ce1b9a9c87f61a7c7ce43de2c60c8e56147b76849a1a",
                "sha256:2da8dff91d489fea3e20155d41f4cd680de7d01d9a89fdd0ebb1bee6e72d3800",
                "sha256:6b8c2daacbbffc83b4a2ba83a61aa3ce60c66340b07b962bd27b6c6bb175bee1",
                "sha256:89b9419019c47ec87cf4cfca77d85da4611cc0be636ec87b5290346490b98450",
                "sha256:49880b47d7272f902946dd995f346842c95fe275e2deb3082ef0495f0c718a69",
                "sha256:3d7ddd5bdfb12ec9668edf1aa49a4a3eddb0db4661b57ea431477eb9a2468894",
                "sha256:788e1757f8e409cd805a7cd82993cd9252fa19e334758a4c6eb5a8b334abb084",
                "sha256:377def0873bbb1fbdedb14b3275b10a29b1b55619a3f7f775c4e7f9ce2461b9c",
                "sha256:9501c9ccd081977ca5579a3ec4009d6baff6bacb04bf07214aade3324734195a",
                "sha256:a1f5173df8190ef9c6235d260d70ca70c6fb029683ceb66e244c5cc6e335947a",
                "sha256:12cf4b27039b88e407ad66894d99a957ef60fea0eeb442026af325add2ab264d",
                "sha256:4e2fc841c8c642f7fd44591ef856ca409cedba6aea27928df34004c533839eee",
                "sha256:e5ade7a69dccbd99c4fdbb95b6d091d941e62ffa588b0ed8fb0a2854118fef3f",
                "sha256:6b1011ffc87d7e2b1b7bcc6dc21bdf177163658746ef778dcd21bf0516b9126c",
                "sha256:a8bc80f69570e11967763636db9b24c1e3e3689881d10ae793cec74cf7a627b6",
                "sha256:81b9d8f6450e752bd82e7d9618fa053df8db1725747880e76fb09710b57f78d0",
                "sha256:e8522cad377cc2ef20fe13aae742cc265172910c98e8a0d6014b1a8d564019e2",
                "sha256:a3d5dd437112292c707e54f47141be2f1100221242f07eda7bd8477f3ddc2252",
                "sha256:c8000a6cbc5140629be8c038c9c9cdb3a1c85ff90bd4180ec99f0f0c73050b5e",
                "sha256:fa0944650d5d3fb95869eaacd8eedbd2d83610c85e271bd9d3495ffa9bc4dc9c"
            ],
            "version": "==1.14.1"
        },
        "pathlib": {
            "hashes": [
                "sha256:6940718dfc3eff4258203ad5021090933e5c04707d5ca8cc9e73c94a7894ea9f"
            ],
            "version": "==1.0.1"
        },
        "plac": {
            "hashes": [
                "sha256:854693ad90367e8267112ffbb8955f57d6fdeac3191791dc9ffce80f87fd2370",
                "sha256:ba3f719a018175f0a15a6b04e6cc79c25fd563d348aacd320c3644d2a9baf89b"
            ],
            "version": "==0.9.6"
        },
        "preshed": {
            "hashes": [
                "sha256:a6b3a9e34634600e3e410ec25e0debed4b65a47eb37514a063d189d1c425b4dd"
            ],
            "version": "==1.0.0"
        },
        "regex": {
            "hashes": [
                "sha256:b39867f577bc59b2fec9209facc513c761978e4ac63f4b73b9750a2c1501729e",
                "sha256:f8feab5b517cdc65a61a50549e7dcfa0f61ab872a0034da1f6b8d61775178b6a",
                "sha256:8a9d9db8ef1621ae51ea12acb5e503204b4586e05c6cfd418aecb9466a71bd87",
                "sha256:ad2beea450d551b11b47512ce920127d7c8645e528cc56dc9502c5973e8732f3",
                "sha256:52b590a41b9677314d02d9055edc33992db758b3d5167aa1365229a6a0c26a6d",
                "sha256:656984899644d3fe2e40533724f513a21127f77162a15dd5244af3c965152c63",
                "sha256:b6a7725a069be8f9dd09e1e500e5b57556b301942e21c8c712627f73ec048286",
                "sha256:1af6b820bec5ca82af87447af5a6dcc23b3ddc96b0184fd71666be0c24fb2a4f",
                "sha256:232dbc28a2562d92d713c3c1eb2b9276f3ebcbdb6d3e96ff68d0417a71926784",
                "sha256:b9e9b97696e75e826adac1920b13e7bac3a6a2128c085783abd208d73a278d70",
                "sha256:689c9d17c3ba02f52e8481a5c584c8c11ba27d6cc5f939efdd838ae0d0d1af41",
                "sha256:c3c2fe1e0d90f4c93be5b588480f05defd44f64c65767a657de69c4db4429a39",
                "sha256:3d26ce7e605a501509b68c343fc9d9e09f76c2e9e261df8183027bdc750c97ce",
                "sha256:efa66273b49dbd7a9f6a4d02d1a7d5bf353d568a89f7cd8927812daa9f83bb84",
                "sha256:565f9aac9cd43b2351f7fcbc0d6056f8aebf4f6d049a17982085019ab9acdf28",
                "sha256:db616380b04e29e5709bc3ec0674e827dfed3d18e7d686c09537ab01506127c9",
                "sha256:bf4896ed1ca2017153fc6b341bc8a0da8ca5480f85eebd7bfe58bbafceb4e728",
                "sha256:19c4b0f68dd97b7116e590f47d60d97ab9e76966acc321b1d20dd87c2b64dff2",
                "sha256:d811874ed669165fe1059a54f860db5c6ab5f48100bf4945d915fd2f877b2531"
            ],
            "version": "==2017.4.5"
        },
        "requests": {
            "hashes": [
                "sha256:6a1b267aa90cac58ac3a765d067950e7dbbf75b1da07e895d1f594193a40a38b",
                "sha256:9c443e7324ba5b85070c4a818ade28bfabedf16ea10206da1132edaa6dda237e"
            ],
            "version": "==2.18.4"
        },
        "six": {
            "hashes": [
                "sha256:832dc0e10feb1aa2c68dcc57dbb658f1c7e65b9b61af69048abc87a2db00a0eb",
                "sha256:70e8a77beed4562e7f14fe23a786b54f6296e34344c23bc42f07b15018ff98e9"
            ],
            "version": "==1.11.0"
        },
        "spacy": {
            "hashes": [
                "sha256:4b222ef4b9240d8f9392a1f2390e61302373f7137c826978e67e566be507c17a"
            ],
            "version": "==2.0.8"
        },
        "termcolor": {
            "hashes": [
                "sha256:1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b"
            ],
            "version": "==1.1.0"
        },
        "thinc": {
            "hashes": [
                "sha256:9a1deb850285f76efaf0ae38b605a137a3978826282cc57dcc1e66b779402a76"
            ],
            "version": "==6.10.2"
        },
        "toolz": {
            "hashes": [
                "sha256:929f0a7ea7f61c178bd951bdae93920515d3fbdbafc8e6caf82d752b9b3b31c9"
            ],
            "version": "==0.9.0"
        },
        "tqdm": {
            "hashes": [
                "sha256:4c041f8019f7be65b8028ddde9a836f7ccc51c4637f1ff2ba9b5813d38d19d5a",
                "sha256:df32e6f127dc0ccbc675eadb33f749abbcb8f174c5cb9ec49c0cdb73aa737377"
            ],
            "version": "==4.19.5"
        },
        "ujson": {
            "hashes": [
                "sha256:f66073e5506e91d204ab0c614a148d5aa938bdbf104751be66f8ad7a222f5f86"
            ],
            "version": "==1.35"
        },
        "urllib3": {
            "hashes": [
                "sha256:06330f386d6e4b195fbfc736b297f58c5a892e4440e54d294d7004e3a9bbea1b",
                "sha256:cc44da8e1145637334317feebd728bd869a35285b93cbb4cca2577da7e62db4f"
            ],
            "version": "==1.22"
        },
        "wcwidth": {
            "hashes": [
                "sha256:f4ebe71925af7b40a864553f761ed559b43544f8f71746c2d756c7fe788ade7c",
                "sha256:3df37372226d6e63e1b1e1eda15c594bca98a22d33a23832a90998faa96bc65e"
            ],
            "version": "==0.1.7"
        },
        "wrapt": {
            "hashes": [
                "sha256:d4d560d479f2c21e1b5443bbd15fe7ec4b37fe7e53d335d3b9b0a7b1226fe3c6"
            ],
            "version": "==1.10.11"
        }
    },
    "develop": {}
}
@fabrahman fabrahman changed the title I am getting error when using " piping install" I am getting error when using " pipenv install" Jul 23, 2018
@techalchemy
Copy link
Member

OSError: [Errno 122] Disk quota exceeded: '/soe/hannahbrahman/.local/share/virtualenvs'

You need to free up some disk space

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants