Questions tagged [python-packaging]

Packages are namespaces which contain multiple packages and modules themselves.

A package is a directory containing a special file called __init__.py (which indicated that the directory contains a python package) and sub-packages and modules. The package name is determined by the name of the directory.

1369 questions
-2
votes
1 answer

Python-midi has no attribute Pattern

I want to use the python-midi package (from https://github.com/vishnubob/python-midi). Hwever there is an error when I use it. import midi pattern = midi.Pattern() When I run it, I have the following error: pattern = midi.Pattern() AttributeError:…
Juan
  • 184
  • 1
  • 4
  • 16
-3
votes
1 answer

Create pip package that create a script executable from everywhere

I created a python script that i want to execute in my terminal, and i want it to be installable with pip pip install utility utility i already tried to search on internet, but found nothing
user17717556
-3
votes
3 answers

`pip install -e .` does not add folder to path

I’m trying to install locally a personal package that I called circuits. I installed it with pip install -e ., it shows up in the pip list, but I have a ModuleNotFoundError when I try to import it. (venv) pip install -e . Obtaining…
Billbucket
  • 165
  • 2
  • 9
-10
votes
1 answer

Using classes, functions or other objects from an installed package

I successfully installed this package using pip: pip install functional-dependencies Output: Collecting functional-dependencies Downloading functional_dependencies-1.3.0-py2.py3-none-any.whl (33 kB) Installing collected packages:…
Sami
  • 45
  • 7
1 2 3
91
92