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.

what am I doing wrong?

See original GitHub issue
C:\>pipx install pyjokes
  installed package pyjokes 0.5.0, Python 3.7.2
  These binaries are now globally available
    - pyjoke
    - pyjokes
  Note: 'C:\\Users\\Nebu\\.local\\bin' is not on your PATH environment variable. These binaries will not be globally accessible until your PATH is updated. Run `pipx ensurepath` to automatically add it, or manually modify your PATH in your shell's config file (i.e. ~/.bashrc).
done!

C:\>pipx run pyjoke
Assuming binary is 'pyjoke.exe' (Windows only)
Command "python setup.py egg_info" failed with error code 1 in C:\Users\Nebu\AppData\Local\Temp\pip-install-yygzrenk\nltk\
'C:\\Users\\Nebu\\.local\\pipx\\.cache\\8c2f5730a463fd9\\Scripts\\python.exe -m pip install pyjoke -q' failed

C:\>pyjoke
'pyjoke' is not recognized as an internal or external command,
operable program or batch file.

C:\>pip list
Package    Version  Location
---------- -------- --------------------------------
pip        19.0.3
pipx       0.12.3.2 c:\projects\python\_helping\pipx
setuptools 40.8.0
wheel      0.33.1

C:\>pipx list
venvs are in C:\Users\Nebu\.local\pipx\venvs
binaries are exposed on your $PATH at C:\Users\Nebu\.local\bin
   package pyjokes 0.5.0, Python 3.7.2
    - pyjoke
    - pyjokes

C:\>pipx --version
0.12.3.2

C:\>

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
Laurentiu-Andronachecommented, Mar 22, 2019

Thanks, you’re both awesome. The pyjokes dude said he’ll push a new version with a fix when he gets a chance.

1reaction
sahensleycommented, Mar 22, 2019

Sure thing. I get the same results as above on Windows while using both pipx and a standard venv. It’s not a pipx issue but a pyjokes packaging issue.

It looks like the setup.py file is using the legacy scripts keyword instead of entry_points with console_scripts. That’s why .exes aren’t being generated on the Windows install.

The automatic script creation section of the setuptools docs has the details.

Read more comments on GitHub >

github_iconTop Results From Across the Web

I feel stuck in life, what am I doing wrong? - Quora
The only thing you are doing wrong is if you are not putting any effort for coming out. We all get stuck and...
Read more >
Ep #142: Finding the Answer: What Am I Doing Wrong?
I'm sharing how to talk to any shame you're experiencing, and how to define success, failure, and everything in between.
Read more >
What Am I Doing Wrong? - Troubleshoot Your Dating Life for ...
Ever wonder, “What Am I Doing Wrong?” when it comes to dating and love. Find out how you can improve your dating and...
Read more >
What am I doing wrong? : r/socialskills - Reddit
What am I doing wrong ? Hello everybody. First, I just wanted to say 'hi' to ...
Read more >
10 Things You are Doing Wrong in Your Relationship
Although one could never really insist on keeping things as dreamy as it was in the beginning, you must never fail to pay...
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