Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Is the build setup missing the requirements? #25

Open
flikka opened this issue Nov 21, 2022 · 2 comments
Open

Bug: Is the build setup missing the requirements? #25

flikka opened this issue Nov 21, 2022 · 2 comments

Comments

@flikka
Copy link
Collaborator

flikka commented Nov 21, 2022

When cloning the repo, running the "build" command, and pip installing the wheel, I would expect the dependencies to have been installed as a part of the pip install. I wonder if there is something missing in the pyproject file?


[flikka][flikka-HP-ZBook-15-G6][±][main ?:2 ✗][@env][~/ais]
$ pip install dist/ais_analyzer-0.0.1-py3-none-any.whl  --force-reinstall
Processing ./dist/ais_analyzer-0.0.1-py3-none-any.whl
Installing collected packages: ais-analyzer
  Attempting uninstall: ais-analyzer
    Found existing installation: ais-analyzer 0.0.1
    Uninstalling ais-analyzer-0.0.1:
      Successfully uninstalled ais-analyzer-0.0.1
Successfully installed ais-analyzer-0.0.1
[flikka][flikka-HP-ZBook-15-G6][±][main ?:2 ✗][@env][~/ais]
$ ais
Traceback (most recent call last):
  File "/home/flikka/ais/env/bin/ais", line 5, in <module>
    from ais_analyzer import __main__
  File "/home/flikka/ais/env/lib/python3.10/site-packages/ais_analyzer/__main__.py", line 7, in <module>
    from .commands import statistics, portcalls
  File "/home/flikka/ais/env/lib/python3.10/site-packages/ais_analyzer/commands/portcalls.py", line 5, in <module>
    from shapely.geometry import Point, Polygon
ModuleNotFoundError: No module named 'shapely'
[flikka][flikka-HP-ZBook-15-G6][±][main ?:2 ✗][@env][~/ais]
$ 

@Sondren1288
Copy link
Collaborator

Build setup was indeed missing requirements. This should now be fixed.

@Sondren1288
Copy link
Collaborator

Are the issues still persisting?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants