question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pipenv updated to 8.2.3 but run pipenv cli using old

See original GitHub issue

Hi, I like pipenv, It’s a fantastic tool.

I get a Error when run pipenv today.

$pipenv

  File "/Library/Frameworks/Python.framework/Versions/3.6/bin/pipenv", line 11, in <module>
    load_entry_point('pipenv==7.8.8', 'console_scripts', 'pipenv')()
  File "/Users/Pyclear/Library/Python/3.6/lib/python/site-packages/pkg_resources/__init__.py", line 570, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/Users/Pyclear/Library/Python/3.6/lib/python/site-packages/pkg_resources/__init__.py", line 2751, in load_entry_point
    return ep.load()
  File "/Users/Pyclear/Library/Python/3.6/lib/python/site-packages/pkg_resources/__init__.py", line 2405, in load
    return self.resolve()
  File "/Users/Pyclear/Library/Python/3.6/lib/python/site-packages/pkg_resources/__init__.py", line 2411, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pipenv/__init__.py", line 17, in <module>
    from .cli import cli
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pipenv/cli.py", line 86, in <module>
    if ((now.tm_mon == 10) and (now.tm_day == 30)) or ((now.tm_mon == 10) and (now.tm_day == 31)):
AttributeError: 'time.struct_time' object has no attribute 'tm_day'

but I updated yesterday,pipenv now maybe 8.2.3 version. after which pipenv and cd in

$ls
__pycache__                 pipenv                      piptools                    setuptools-36.5.0.dist-info
easy_install.py             pipenv-8.1.4-py3.6.egg-info pkg_resources               six-1.11.0.dist-info
pip_tools-1.10.1.dist-info  pipenv-8.2.3-py3.6.egg-info setuptools                  six.py
 cat pipenv/__version__.py
#     ___     ( )  ___      ___       __
#   //   ) ) / / //   ) ) //___) ) //   ) ) ||  / /
#  //___/ / / / //___/ / //       //   / /  || / /
# //       / / //       ((____   //   / /   ||/ /

__version__ = '8.2.3'

so /Library/Frameworks/Python.framework/Versions/3.6/bin/pipenv it’s old not update

it’s my env: python 3.6.1 OSX 10.13

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
lau-jaycommented, Oct 10, 2017

@LeCoupa I don’t know why have multiple versions of pipenv,but global and local installed . I remove my system all pipenv, and installing a new copy fix this issue.

0reactions
LeCoupacommented, Oct 1, 2017

Thanks a lot, running pip install pipenv --upgrade fixed the issue.

Now pipenv shell is working.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Frequently Encountered Pipenv Problems - Read the Docs
Here are some common questions people have using Pipenv. Please take a look below and see if they resolve your problem. Note. Make...
Read more >
pipenv Changelog - PyUp.io
- Pipenv will now correctly unqoute special characters in wheel URIs. - Fixed a bug with parsing and grouping old-style setup.py extras during...
Read more >
Painlessly developing Python on NixOS with pipenv
For a long time, I've wanted to develop Python code on NixOS, but using Nix to manage dependencies was a major pain.
Read more >
Advanced Usage of Pipenv - Python Packaging Authority
You may install a package such as the example torch from the named index pytorch using the CLI by running the following command:...
Read more >
Windows reports error when trying to install package using ...
Just enter pipenv --version in the command prompt and you should see the desired output. Notes. I know this sounds the mundane, but...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found