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

Pip install doesn't work #31

Open
Flavi1P opened this issue Aug 21, 2024 · 1 comment
Open

Pip install doesn't work #31

Flavi1P opened this issue Aug 21, 2024 · 1 comment

Comments

@Flavi1P
Copy link

Flavi1P commented Aug 21, 2024

Hi,
I tried using VirtualFleet using a pip install inside a venv.
Installation goes smoothly but when I try to import the module in a python script I get "No module named VirtualFleet".

Same issue with a fresh new venv.

Do you have any idea of what may be wrong ?

OS: Windows
Python version : 3.12.2
Pip version : 24.2

@quai20
Copy link
Member

quai20 commented Aug 23, 2024

Hi @Flavi1P ,
Yes, VirtualFleet is not completely stable for pip install, sorry about that. You can try to install from this branch :
pip install git+https://github.com/euroargodev/VirtualFleet.git@fix_pipinstall to see if it's better, or you can clone the repo and add it to your path :

import sys
sys.path.insert(0, "path_to_virtualfleetrepo") 
import virtualargofleet as vaf

In the meantime, we'll work on a better solution

Kevin

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