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

ERROR in installing frame field learning package #22

Open
Ankit-Vohra opened this issue Jul 28, 2021 · 6 comments
Open

ERROR in installing frame field learning package #22

Ankit-Vohra opened this issue Jul 28, 2021 · 6 comments

Comments

@Ankit-Vohra
Copy link

I'm running the code on Windows 10 system. I successfully executed bash setup.sh
Post that I ran python setup.py install and got this output:

Installed d:\anaconda3\envs\topo\lib\site-packages\frame_field_learning-0.0.1-py3.6.egg
Processing dependencies for frame-field-learning==0.0.1
Finished processing dependencies for frame-field-learning==0.0.1

But when I run python main.py --run_name "frame_field_learning/runs/mapping_dataset.unet_resnet101_pretrained.field_off.train_val | 2020-09-07 11:54:48" --in_filepath grid_100-100_3698.0.tif
This throws an error
ERROR: The frame_field_learning package is not installed! Execute script setup.sh to install local dependencies such as frame_field_learning in develop mode.

Please reply @Lydorn
Thanks in Advance

@Halle-Astra
Copy link

May a different python env you used when you ran main.py, especially conda env. I setup up it and ran it. I have never seen this error.

@aymanaboghonim
Copy link

did you run sh setup.sh first ??

@kriti115
Copy link

If the error remains, adding all the imports to 'requirements.txt' file and then running the setup and main file should work. I managed to do it this way.

@Luyuxiang-Hi
Copy link

If the error remains, adding all the imports to 'requirements.txt' file and then running the setup and main file should work. I managed to do it this way.

Hello, I tried your method, but I didn't understand what "imports" is. Do you mean that put all the ".py" file names in the "lydorn_utils" folder into "requirements.txt"?

@kriti115
Copy link

kriti115 commented Mar 4, 2022

If the error remains, adding all the imports to 'requirements.txt' file and then running the setup and main file should work. I managed to do it this way.

Hello, I tried your method, but I didn't understand what "imports" is. Do you mean that put all the ".py" file names in the "lydorn_utils" folder into "requirements.txt"?

Hello,

I have attached the editted requirements.txt file that I used. You can try and see if this works for you. Wish you luck.

requirements_editted.txt

@Luyuxiang-Hi
Copy link

If the error remains, adding all the imports to 'requirements.txt' file and then running the setup and main file should work. I managed to do it this way.

Hello, I tried your method, but I didn't understand what "imports" is. Do you mean that put all the ".py" file names in the "lydorn_utils" folder into "requirements.txt"?

Hello,

I have attached the editted requirements.txt file that I used. You can try and see if this works for you. Wish you luck.

requirements_editted.txt

I have sloved this issue by edit "main.py" ---- "import("frame_field_learning.local_utils")'" to "import frame_field_learning.local_utils", but thank you for your kind reply.

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

5 participants