-
Notifications
You must be signed in to change notification settings - Fork 116
Open
Labels
Description
Up until recently, the editable install worked fine.
Using the latest ixmp version, the editable installation can be executed and installed, but the ixmp module cannot be used from other directories, except the installation directory.
Code sample or context
The code snippet shows the difference of trying to import ixmp in python when it is installed via pip install .
followed by pip install -e .
(base) fricko@hpg914:~$ python -c 'import ixmp; print(ixmp.__file__)'
/h/u045/fricko/miniconda3/lib/python3.9/site-packages/ixmp/__init__.py
(base) fricko@hpg914:~$ cd Repo_hpg/ixmp
(base) fricko@hpg914:~/Repo_hpg/ixmp$ pip install -e .
Obtaining file:///h/u045/fricko/Repo_hpg/ixmp
......
Installing collected packages: ixmp
Attempting uninstall: ixmp
Found existing installation: ixmp 3.6.1.dev28+g0c2d7de
Uninstalling ixmp-3.6.1.dev28+g0c2d7de:
Successfully uninstalled ixmp-3.6.1.dev28+g0c2d7de
Successfully installed ixmp-3.6.1.dev28+g0c2d7de
(base) fricko@hpg914:~/Repo_hpg/ixmp$ cd ../..
(base) fricko@hpg914:~$ python -c 'import ixmp; print(ixmp.__file__)'
None
-->
Expected result
upon installing ixmp via pip install -e .
, it should be possible to import the package in python.
Problem description
None
is returned upon import.
Versions
ixmp: 3.6.1.dev28+g0c2d7de
message_ix: 3.6.1.dev14+g22de076
88e5135 (HEAD -> correct_levelized_cost, origin/correct_levelized_cost) Correct formatting in macro related documentation
message_ix_models: installed
message_data: 2020.6.21.dev1471+g05ff5c50.d20220726
c6d1b99f (HEAD -> issue/366, upstream/issue/366) Update ENGAGE_v4.1.8 workflow to use latest GLOBIOM matrix
click: 8.0.3
dask: 2022.05.0
genno: installed
graphviz: 0.20
jpype: 1.3.0
… JVM path: /usr/lib/jvm/java-17-openjdk-amd64/lib/server/libjvm.so
openpyxl: 3.0.9
pandas: 1.4.2
pint: 0.18
xarray: 2022.3.0
yaml: 6.0
iam_units: installed
jupyter: 1.0.0
matplotlib: 3.5.2
plotnine: 0.8.0
pyam: 1.4.0
GAMS: 32.1.0
python: 3.9.10 | packaged by conda-forge | (main, Feb 1 2022, 21:24:37)
[GCC 9.4.0]
python-bits: 64
OS: Linux
OS-release: 5.4.0-120-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: ('en_US', 'UTF-8')