-
Notifications
You must be signed in to change notification settings - Fork 0
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
problems installing requirements.txt #3
Comments
I managed to run it by downloading the folder then run it directly in Jupyter Notebook: from argparse import Namespace pd.set_option('display.max_columns', None) # Show all columns Set up MagnetoPy pathscurrent_path = os.getcwd() if magnetopy_path not in sys.path: try: Input file pathsstations_file = os.path.join(current_path, "dataset", "field_measurements.csv") Ensure the input files existif not os.path.exists(stations_file): if not os.path.exists(base_station_file): Namespace argumentsoutput_folder = os.path.join(current_path, "resources", "Kurdistan") arguments = Namespace( Run DiurnalVariationtry: |
Hello @leomiquelutti, thank you very much for using MagnetoPy and writing to me. Apologies for the delay in responding. Reviewing the error you mention, it seems to me that it is caused by the version I previously had of matplotlib, I just updated it in the requirements.txt, I went from version 3.9.1 to the most current one (3.10.0). You can do a This should solve your error, if it doesn't work you can write to me here or directly to my email ([email protected]) and we will find a way to solve it. In case this solves your error, could you help me by closing this issue? Thank you very much for your solution @WailerG, it is also an option to import the modules directly into a Jupyter Notebook. Again, apologies for the delay. Greetings from Mexico! 🇲🇽 |
Hi there,
I want to use your solution and I am trying to install the requirements following the instructions.
However I get this error message 👇🏻 I already tried it with python 3.11, 3.12, and 3.13.
![image](https://private-user-images.githubusercontent.com/9113903/392896373-64b5d3bb-21c0-46d1-b394-a6756f68eb2d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NTMyNzIsIm5iZiI6MTczODk1Mjk3MiwicGF0aCI6Ii85MTEzOTAzLzM5Mjg5NjM3My02NGI1ZDNiYi0yMWMwLTQ2ZDEtYjM5NC1hNjc1NmY2OGViMmQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDdUMTgyOTMyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZTg1OWI0Yzc1ZTQ5YjE1NzQxNTQyYmM1NmQ0MjAxODBiMmU3YjM2ZWU5MTliNTljYTZjMTg2ZTQ2NmMyZjhmZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.AldBASce_byrn5K2dL88BvKxGZjZ1XOlW8NHLPS_-no)
Suggestions on how to solve it?
The text was updated successfully, but these errors were encountered: