-
Notifications
You must be signed in to change notification settings - Fork 3
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
Notes on installing on Catalina #21
Comments
@charlietomo thank you for your steps, they were helpful. Unfortunately I still get an error message (see below) after following your steps: "no such file or directory exists". I also get a similar /private/var/folders/... error message like the one you mentioned. Like you I have looked around for alternative applications but have not yet found anything as good as Investoscope. I have kind of given up... 😢 I was hopeful when I stumbled on this updater but it does not seem to work. |
Sorry the instructions didn't result in success. It looks like it may "just" be a Python or permissions issue. What OS are you running? |
Hi @charlietomo I am running 10.15.7. |
Hmm, 10.15.7 is the same as me so it isn't a Big Sur issue. |
Hi @charlietomo - noted regarding Sharesight, I will explore more closely. Thanks again! |
You need to install python3 from home-brew or macports, or from the python website. MacOS only comes with python2. This is why you are running into errors |
Interesting, and apologies I missed this step out. It appears I already have both |
Did changing the reference to python3 to the brew installed version (typically at /usr/local/bin/python3) solve your problem? |
Hi @KhaineBOT thank you for your suggestion. I already had Python 3.8 and 3.9 installed on my Mac via Homebrew. When I list the contents of Can you help guide me on how ensure that the reference to python3 points indeed to the brew installed version? Is it via the .bash_profile? Thank you. |
Hi @charlietomo - me too, when I |
In the script file you should make sure the line is the following: PYTHON="/usr/local/bin/python3" |
Hi @KhaineBOT in |
What is the output of:
I get /usr/local/bin/python3 on my system where I have installed python3 using brew. You will need to find where your instance of python3 is installed and use that, or look into why brew didn't install python correctly |
Hello @KhaineBOT the output of When I simply type It seems like python3 was properly installed by brew? Thank you for your help with this. |
Your screenshot shows that the path you have entered is usr/local/bin/python3. It should be /usr/local/bin/python3 |
Hi @KhaineBOT thank you for catching that. I made the necessary changes and tried again.
|
It is complaining that the file does not exist. This is because you have not referenced the correct path in your step 3: 3: Download Investoscope updater and edit line 6 of investoscope.py to include the correct path to the data folder. This was harder to find than expected. I managed to find mine at /Users/[username]/Library/Containers/com.investoscope.Investoscope3/Data/Library/Application Support/Investoscope 3 You need to put your username in the path, rather than [username]. This should be the name you use to login to macOS (which is the name of your home directory). For me, its: /Users/KhaineBOT/Library/Containers/com.investoscope.Investoscope3/Data/Library/Application Support/Investoscope 3 |
When I checked line 6 of my investoscope.py the following was already present: |
You edited the wrong variable. You need to change the path, not the db name. Try the following: INVESTOSCOPE_PATH = "~/Library/Containers/com.investoscope.Investoscope3/Data/Library/Application Support/Investoscope 3/" |
Thank you @KhaineBOT for pointing that out and apologies for my mistake. Just FYI, in my investoscope.py, INVESTOSCOPE_PATH is on line 5... Anyway, I made the changes following your guidance, saved the file and tried the updater again. Unfortunately this time I received a different error message:
Thank you for your patience and your help. |
You need to install the requests module for python. On the command line run: pip3 install requests |
@KhaineBOT, that did it! Thank you so much! Wow, it's wonderful to have Investoscope working again - I have been waiting for years! Just a final quick question, will Investoscope now update daily / realtime stock prices or do I have to open the updater to update the prices? Once again thank you so much! |
You need to run the updater to update the prices. The way it works is it downloads the prices from yahoo finance and then using AppleScript manually updates the prices in investoscope. |
I see - thank you for clarifying. So I will then keep the updater close at hand. Thanks again for your help, I greatly appreciate it! |
Hi @KhaineBOT, during my recent attempts at updating Investoscope stock quotes via the Investoscope Updater, I get the following messages for each ticker: Although the blue progress bar stays in its initial position, the updater proceeds through all the tickers and provides the same message for each ticker. After a certain amount of time, I presume after all tickers have been checked, it simply quits itself. I have gone through your previous advice and guidance and everything seems in order. The only change I have done since 2021 is that I installed Python via pyenv and so I have changed the following from: Could you please help with this issue? What can I do to fix this. Thank you in advance. |
I get that as well. I haven't looked too much into it, as all of my stock codes still work. I assume it is that yahoo finance does not have any data on the various instruments, or they are for instruments that don't currently work in the updater. For example, I know that indices are broken. |
Hi @KhaineBOT thank you for your helpful reply. Yahoo should have info on those instruments as they are popular tickers in the US market and in the past they were updated by the updater. Do you think this has something to do with my deleting Python that was previously installed via brew to Python via pyenv? Thank you. |
I just setup a new Macbook Pro, running Catalina 10.15.7 and getting Investoscope 3 and Investoscope Update to work was not as straightforward as I had hoped. Leaving some notes here in case it is useful for someone.
investoscope.py
to include the correct path to the data folder. This was harder to find than expected. I managed to find mine at/Users/[username]/Library/Containers/com.investoscope.Investoscope3/Data/Library/Application Support/Investoscope 3
sudo pip3 install requests
(I did this over a little while and can't remember if there was anything else).script
tousr/bin/python3
which reflects the location of Python3 on Catalina.I am getting a couple of errors and my coding skills are not yet up to fixing them:
and
I also see some of these but this may be linked to instruments
I am testing out some alternatives to Investoscope but nothing is as good yet :-(
The text was updated successfully, but these errors were encountered: