-
Notifications
You must be signed in to change notification settings - Fork 309
Closed
Labels
bugA problem, flaw, or broken functionality.A problem, flaw, or broken functionality.buildissues building OTIOissues building OTIOhelp wantedWe're looking for help from the community - you're weclome to volunteer!We're looking for help from the community - you're weclome to volunteer!
Description
Can't seem to install locally with pip install -e .
Main error is: ModuleNotFound
Build Problem
git clone https://github.com/pedrolabonia/OpenTimelineIO.git --recursive
Cloning into 'OpenTimelineIO'...
remote: Enumerating objects: 6444, done.
...
...
➜ otio cd OpenTimelineIO
➜ OpenTimelineIO git:(main) python -m venv .venv
➜ OpenTimelineIO git:(main) source .venv/bin/activate
➜ OpenTimelineIO git:(main) (.venv) python -m pip install --upgrade pip
Collecting pip
Using cached pip-22.0.4-py3-none-any.whl (2.1 MB)
Successfully installed pip-22.0.4
➜ OpenTimelineIO git:(main) (.venv) python -m pip install -e .
Obtaining file:///Users/pedrolabonia/dev/otio/OpenTimelineIO
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting pyaaf2~=1.4.0
Using cached pyaaf2-1.4.0-py3-none-any.whl
Installing collected packages: pyaaf2, OpenTimelineIO
Running setup.py develop for OpenTimelineIO
Successfully installed OpenTimelineIO-0.15.0.dev1 pyaaf2-1.4.0
➜ OpenTimelineIO git:(main) (.venv) python
Python 3.9.1 (default, Mar 21 2022, 17:23:00)
[Clang 13.0.0 (clang-1300.0.29.30)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import opentimelineio
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'opentimelineio'
➜ OpenTimelineIO git:(main) (.venv) pip list
Package Version Editable project location
-------------- ----------- -------------------------------------------
OpenTimelineIO 0.15.0.dev1 /Users/pedrolabonia/dev/otio/OpenTimelineIO
pip 22.0.4
pyaaf2 1.4.0
setuptools 49.2.1
To Reproduce
- Mac OS 11.6
- Python 3.9.1
- OTIO ea64d92
- Compiler information:
➜ OpenTimelineIO git:(main) (.venv) clang -v
Apple clang version 13.0.0 (clang-1300.0.29.30)
Target: arm64-apple-darwin20.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Expected Behavior
Expected to be able to install locally with editable mode. I can install it normally via pip install opentimelineio
. I'm trying to figure out what's going on. There's a .egg-link
file in site_packages
which seems to be correctly pointing to the root. Contents of the .egg-link:
/Users/pedrolabonia/dev/otio/OpenTimelineIO
.
Metadata
Metadata
Assignees
Labels
bugA problem, flaw, or broken functionality.A problem, flaw, or broken functionality.buildissues building OTIOissues building OTIOhelp wantedWe're looking for help from the community - you're weclome to volunteer!We're looking for help from the community - you're weclome to volunteer!