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 sas-kernel #12

Closed
Jacyle opened this issue May 16, 2016 · 8 comments
Closed

Comments

@Jacyle
Copy link

Jacyle commented May 16, 2016

The full error is as follows and occurs after 5 connection timeouts:

Retrying (Retry(total=4, connect =None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError<<pip._vendor.requests.packages.urlib3.connection.VerifiedHTTPSConnection object at 0x00000000040412E8>, 'Connection to pypi.python.org timed out. '>': /simple/sas-kernel/

Could not find a version that satisfies the requirement sas-kernel (from versions: )
No matching distribution found for sas-kernel

Don't really know what to do about this, hoping someone can help me resolve the issues. Thanks!

@tomweber-sas
Copy link
Contributor

tomweber-sas commented May 16, 2016

Sorry , typinng on my phone and fat fingered something.
I haven't seen that error before. Can you enter the command you're running? Can you also run the following commands just to be sure pip is the right version that your running.

pip --version
pip list

I just installed and upgraded sas-kernel on my system and didn't have any issues so I'm not sure if it might be a problem with pypi or the version you're running.

We'll figure it out!
Tom

@tomweber-sas
Copy link
Contributor

Also, is this a system you already have (python, pip) or, did you follow one of the install paths in the sas_kernel Readme; (pip, python, jupyter) or anaconda, to install all of this,and if so, which one? Is this your first time trying to download and install sas_kernel? We recently upgraded the saspy package (V1.2 from 1.1.1) and the kernel is still at 1.1.1 (just what to expect to find when it works)
Sorry, don't want to sound like level-1 (is it plugged in?), but I don't know what could cause this, so more details will only help. Even 'which pip' command will be sure the pip you're running is the one you expect.

Thanks,
Tom

@Jacyle
Copy link
Author

Jacyle commented May 17, 2016

So I have anaconda installed with Python 3.5 on a Windows 7 OS.

The pip version is pip 8.0.3 and I am using Anaconda Prompt to execute the
following code:

pip install sas_kernel

I think that covers all your questions, let me know what else you think I
should try.

-Jake

On Mon, May 16, 2016 at 9:13 PM, Tom Weber notifications@github.com wrote:

Also, is this a system you already have (python, pip) or, did you follow
one of the install paths in the sas_kernel Readme; (pip, python, jupyter)
or anaconda, to install all of this,and if so, which one? Is this your
first time trying to download and install sas_kernel? We recently upgraded
the saspy package (V1.2 from 1.1.1) and the kernel is still at 1.1.1 (just
what to expect to find when it works)
Sorry, don't want to sound like level-1 (is it plugged in?), but I don't
know what could cause this, so more details will only help. Even 'which
pip' command will be sure the pip you're running is the one you expect.

Thanks,
Tom


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#12 (comment)

@tomweber-sas
Copy link
Contributor

tomweber-sas commented May 17, 2016

Oh, this isn't supported on windows. This is a linux package only. I suppose that's why it's saying it can't find a valid version.

@Jacyle
Copy link
Author

Jacyle commented May 17, 2016

boooo. Well that was pretty easy to solve haha.

Don't suppose you have any suggestions for how to work with sas datasets in
python using sql commands. I found the sas7bdat module and I can use the
dataframes in pandas to work with the sas dataset, but my work uses a lot
of SQL, so I was hoping to be able to work with sql code within python.
Thought this sas_kernel would have been a good work around.

Thanks for the quick responses by the way, much appreciated.

-Jake

On Tue, May 17, 2016 at 9:37 AM, Tom Weber notifications@github.com wrote:

Oh, this isn't supported on windows. This is a linux package only. I
suppose that's why it's saying it can't find a valid version.

From: Jacyle [mailto:notifications@github.com]
Sent: Tuesday, May 17, 2016 9:35 AM
To: sassoftware/sas_kernel sas_kernel@noreply.github.com
Cc: Tom Weber Tom.Weber@sas.com; State change <
state_change@noreply.github.com>
Subject: Re: [sassoftware/sas_kernel] ERROR: Could not find a version that
satisfies the requirement sas-kernel (#12)

So I have anaconda installed with Python 3.5 on a Windows 7 OS.

The pip version is pip 8.0.3 and I am using Anaconda Prompt to execute the
following code:

pip install sas_kernel

I think that covers all your questions, let me know what else you think I
should try.

-Jake

On Mon, May 16, 2016 at 9:13 PM, Tom Weber <notifications@github.com
mailto:notifications@github.com> wrote:

Also, is this a system you already have (python, pip) or, did you follow
one of the install paths in the sas_kernel Readme; (pip, python,
jupyter)
or anaconda, to install all of this,and if so, which one? Is this your
first time trying to download and install sas_kernel? We recently
upgraded
the saspy package (V1.2 from 1.1.1) and the kernel is still at 1.1.1
(just
what to expect to find when it works)
Sorry, don't want to sound like level-1 (is it plugged in?), but I don't
know what could cause this, so more details will only help. Even 'which
pip' command will be sure the pip you're running is the one you expect.

Thanks,
Tom


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
<
https://github.com/sassoftware/sas_kernel/issues/12#issuecomment-219593911>


You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub<
https://github.com/sassoftware/sas_kernel/issues/12#issuecomment-219718910>


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#12 (comment)

@tomweber-sas
Copy link
Contributor

Yeah, sorry bout that. If you had this on linux, you can use proc sql (in SAS) to do SQL against SAS Data Sets; I use that a ton myself as I find SQL usually is the quickest way to interact with tables for most things.

@tomweber-sas
Copy link
Contributor

Since this issue is resolved; can't run this on windows. I'm going to go ahead and close this. If you have access to Linux SAS, even via ssh (remotely), you could try this out from a linux VM on your windows box. If no Linux SAS, then I don't have anything at this time to try. That's another interface to write.

Thanks,
Tom

@jld23
Copy link
Contributor

jld23 commented Mar 31, 2017

Please see issue #28 or the SASPy documentation (https://sassoftware.github.io/saspy/install.html#configure-saspy) for details of how to run on PC SAS and virtually all other SAS 9.4 versions.

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

3 participants