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: Could not find a version that satisfies the requirement investiny #63

Open
datatalking opened this issue Oct 21, 2022 · 7 comments
Assignees
Labels
question Further information is requested

Comments

@datatalking
Copy link

Getting an error when I try to install investing pip install investiny that the version isn't compatible, this looks different than most one line errors.

python3.9 is being used from conda as you can see below from my PyCharm IDE and per requirements >=python 3.8 from https://alvarobartt.github.io/investiny/requirements/ I should be ok. Is this related to #38 since I'm on MacOs and usually what causes issues for Linux systems translates to me on Unix.
#38

MacOs BigSur

Screen Shot 2022-10-21 at 7 16 41 AM

@datatalking
Copy link
Author

Dug a little deeper and finding that even though I pip install investiny once worked from the global terminal I'm getting PyCharm telling me investing isn't installed from inside the IDE. The python packages menu does show its an option but will not let me install

Which is confined when I look at the anaconda install error

Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.


PackagesNotFoundError: The following packages are not available from current channels:

  - investiny

Current channels:

  - https://repo.anaconda.com/pkgs/main/osx-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/osx-64
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://conda.anaconda.org/conda-forge/osx-64
  - https://conda.anaconda.org/conda-forge/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

Then also it isn't showing in the anaconda GUI

Screen Shot 2022-10-21 at 7 31 09 AM

Is investiny not working for anaconda installs or is the issue elsewhere?

@datatalking
Copy link
Author

Also tried to install 0.7.2, 0.7.0 on Python 3.10, 3.9 and 3.8 same error.

@alvarobartt alvarobartt self-assigned this Oct 23, 2022
@alvarobartt alvarobartt added the question Further information is requested label Oct 23, 2022
@alvarobartt
Copy link
Owner

So @datatalking I'm also using MacOs (Monterey in my case) and it's working fine so far, but note that the compatibility with Python 3.8+ was included in 0.7.0 so the installation on Python 3.8 of earlier releases won't work! So probably is an issue with either Anaconda, or the environment that you're using, as the error message in the PyCharm IDE seems to tell you that no versions are supported for your Python version, but also says that 0.7.0 is available for >=3.8,<4.0...

Can you please check python --version before actually running the cell with pip install investiny, as you may be using the system's default Python that if I'm not mistaken is either Python 3.6 or 3.7, which are not supported.

@plutoBase
Copy link

Sorry to trespass, but fwiw I am on Python 3.9.13 and am also unable to update Investiny beyond 0.5.0 currently installed via pip.

Any suggestions?

@alvarobartt
Copy link
Owner

@plutoBase what is the error that you see whenever you run pip install investiny==0.7.2?

@plutoBase
Copy link

@plutoBase what is the error that you see whenever you run pip install investiny==0.7.2?

thanks so much for the quick reply, Alvaro!

here's the complete log:
WARNING: Ignoring invalid distribution -umpy (c:\programdata\anaconda3\envs\finwork\lib\site-packages) WARNING: Ignoring invalid distribution -finance (c:\programdata\anaconda3\envs\finwork\lib\site-packages) WARNING: Ignoring invalid distribution - (c:\programdata\anaconda3\envs\finwork\lib\site-packages) WARNING: Ignoring invalid distribution -umpy (c:\programdata\anaconda3\envs\finwork\lib\site-packages) WARNING: Ignoring invalid distribution -finance (c:\programdata\anaconda3\envs\finwork\lib\site-packages) WARNING: Ignoring invalid distribution - (c:\programdata\anaconda3\envs\finwork\lib\site-packages) ERROR: Could not find a version that satisfies the requirement investiny==0.7.2? (from versions: 0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.5.0, 0.6.0, 0.6.1, 0.7.0, 0.7.1, 0.7.2) ERROR: No matching distribution found for investiny==0.7.2? WARNING: Ignoring invalid distribution -umpy (c:\programdata\anaconda3\envs\finwork\lib\site-packages) WARNING: Ignoring invalid distribution -finance (c:\programdata\anaconda3\envs\finwork\lib\site-packages) WARNING: Ignoring invalid distribution - (c:\programdata\anaconda3\envs\finwork\lib\site-packages) WARNING: Ignoring invalid distribution -umpy (c:\programdata\anaconda3\envs\finwork\lib\site-packages) WARNING: Ignoring invalid distribution -finance (c:\programdata\anaconda3\envs\finwork\lib\site-packages) WARNING: Ignoring invalid distribution - (c:\programdata\anaconda3\envs\finwork\lib\site-packages) WARNING: Ignoring invalid distribution -umpy (c:\programdata\anaconda3\envs\finwork\lib\site-packages) WARNING: Ignoring invalid distribution -finance (c:\programdata\anaconda3\envs\finwork\lib\site-packages) WARNING: Ignoring invalid distribution - (c:\programdata\anaconda3\envs\finwork\lib\site-packages)

@plutoBase
Copy link

Just to clean it up a little:
ERROR: Could not find a version that satisfies the requirement investiny==0.7.2? (from versions: 0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.5.0, 0.6.0, 0.6.1, 0.7.0, 0.7.1, 0.7.2) ERROR: No matching distribution found for investiny==0.7.2?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants