Skip to content

Install broken #2

Description

@BSchilperoort

The installation instructions don't work to install the package. It seems like they work, because when you do

python
>>> import position_encoding

it grabs it from the ./position-encoding folder directly.

However, if you change directories (after installing), you cannot import the package anymore.

To reproduce on linux;

git clone https://github.com/X-lab-3D/position-encoding
cd position-encoding

python -m venv .venv  # create virtual env
source .venv/bin/activate  # activate environment

pip install setuptools
python setup.py install
python
>>> import position_encoding  #imports fine
>>> exit()

cd ..
python
>>> import position_encoding
ModuleNotFoundError: No module named 'position_encoding'

Secondly, python setup.py install has been deprecated and won't be supported anymore from 2025-10-31.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions