min read Author: klaas

If you cannot find the generate_app script

If you cannot find the generate_app script

It means that your user-site-packages directory is not on the PATH. Pip doesn't modify the system PATH variable. The site-packages directory, where scripts are installed by default, is normally added to PATH by the Python installer during installation. If for whatever reason this is not the case on your system you can add this manually.

Show the package details:

pip show pythononwheels

Example from an Ubuntu 18.04 System:

Name: pythononwheels 
Version: 0.912
Summary: The simple, quick and easy generative web framework for python
Home-page: http://www.pythononwheels.org
Author: khz
Author-email: khz@tzi.org
License: MIT
Location: /home/khz/.local/lib/python3.6/site-packages
Requires: tornado

This means the package is installed in /home/khz/.local/lib/python3.6/site-packages

Make sure that the directory that pip installs binaries is in your path

Some typical examples:

  • For Ubuntu this is: ~/.local/bin
    • export PATH=$PATH:~/.local/bin 
  • For Win/Anaconda this is: C:\Users\\AppData\Local\Continuum\anaconda3\Scripts
    • Add the path above to your %PATH% most probably using control panel
  • This is not PythonOnWheels specific.

Even more info on that:

  • (See the Python documentation for site.USER_BASE for full details.)
archivednostalgia ยท 2012โ€“2019