-
Notifications
You must be signed in to change notification settings - Fork 53
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 with Installing exoplanet in Window System #144
Comments
You'll need to run that in the root directory of a checked out version of the the github repo (which it doesn't look like you are). I see that the docs are not very clear about that so I'll try to improve the wording, but also to run the tests, I think you'll need a checked out copy. |
Thank you very much for your help! I'm pretty new to github so I don't know much about it. I worked with jupyter notebooks and I ran the line in the Anaconda Prompt. The first three lines ran well so I thought it was the right place... Would you like to tell me how to get a checked out version of the repo, and, if I still wish to run the test in the Anaconda Prompt, is there any possible way to make it work? |
Ah - I misread your previous comment - sorry! You probably don't actually want to run the tests, you would just like to use exoplanet on Windows right? Try replacing that last line with |
Sorry for the confusion and thank you for your help! Yes, I just want to use exoplanet on my laptop with Windows system. I wish to use it to analyze TESS data of an exoplanet. After installing exoplanet I noticed there is a note about running on Windows so I also ran those lines. However, the last line didn't go well, as well as the next two lines in the Testing section (all were run in Anaconda Prompt). So I thought the test wasn't passed and I couldn't figure out what was wrong. To test if everything worked well, I also copied all the codes in Fitting TESS data in the case studies section and pasted them in my jupyter notebook and ran them. But, when it comes to the third cell (titled The transit model in PyMC3):
there was an Exception occurred:
I'm not sure how to deal with it? Does this anything to do with the installation? P.S., I've checked on my computer and I found exoplanet 0.4.4 has already been installed. |
That issue is one that I've hit before (#92) but I never found a solution. This is caused by some lower level compiler issue that I've never been able to reproduce and diagnose locally. Can you give me more details about your system setup: e.g. which version of windows, how you installed anaconda, etc. and I'll see what I can do! |
Of course! I'm using Windows 10 (64-bit), Anaconda3 2020.07. I initially installed Anaconda in E drive (E:), but later I found there was another Anaconda file in my Jupyter Notebook file in D:. I think this may be because I located the base of Jupyter Notebook there? Please let me know anytime you need more information! |
By the way, if it is due to the Windows system, will that help if I borrow a Mac with iOS and run the codes? |
@Alina6618: This is definitely a Windows-specific issue, but it's one that I'd like to figure out at some point! In the meantime, using a Mac might be easier, but I hope to look into this more soon. |
Hi, Dan! I appreciate your warm help so much! Thank you for your prompt reply all the time. Looking forward to your new progress! |
I am trying to install exoplanet but it tells me in the command prompt that says: |
I followed the instruction in Notes about running on Windows at https://docs.exoplanet.codes/en/stable/user/install/.
The first three lines run well, but the last one: python -m pip install -e .[test] produces this on my computer:
ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: D:\Python\Jupyter Notebook,
and I can't find out what's wrong.
The text was updated successfully, but these errors were encountered: