On 12/21/2014 09:51 PM, Ramprasad G wrote:
Though splinter is installed on my Windows Vista, spyder gives an error
when I import it.

  * When I import in windows command prompt, it successfully imports &
    also shows path to the init file.
  * Have added explicit path in PYTHONPATH Manager of Spyder and Updated
    module list. Yet, did not help.
  * Have checked my PATH environment variable. It contains the path to
    Python, Python/Scripts & Python/Lib/site-packages. PATH contains no
    spaces and PATH is indeed named as PATH & not as Path (probably
    thats why able to import successfully via command prompt)
  * When I try to install splinter again (just to confirm if it exists
    or not), pip says it already exists. When I try to upgrade, pip says
    it is already up-to-date
  * Have read lots & lots of articles on stackoverflow, Google Groups &
    across the web, but no solution helped.
  * Spyder recognizes other packages like os, numpy, etc.

Had run this code successfully on a temporary testing machine. Now
trying to run on my system and its failing with error |ImportError: No
module named 'splinter'|

/Python ver. 3.4; Spyder ver. 3.4/

Hoping for a solution...

So where is splinter actually located?

So it looks like you are running from E:\ and Spyder is on C:\ correct?

In the above when you successfully imported splinter what drive where you on?

What is E:\ a local drive or a network drive?

Complete trackeback:

    runfile('E:/Rampy/DS/Python/Code/AGMARK.py',
    wdir='E:/Rampy/DS/Python/Code') Traceback (most recent call last):

    File "", line 1, in runfile('E:/Rampy/DS/Python/Code/AGMARK.py',
    wdir='E:/Rampy/DS/Python/Code')

    File
    
"C:\Users\ramprasad.g\AppData\Local\Continuum\Anaconda3\lib\site->packages\spyderlib\widgets\externalshell\sitecustomize.py",
    line 580, in runfile execfile(filename, namespace)

    File
    
"C:\Users\ramprasad.g\AppData\Local\Continuum\Anaconda3\lib\site->packages\spyderlib\widgets\externalshell\sitecustomize.py",
    line 48, in execfile exec(compile(open(filename, 'rb').read(),
    filename, 'exec'), namespace)

    File "E:/Rampy/DS/Python/Code/AGMARK.py", line 8, in from splinter
    import Browser

    ImportError: No module named 'splinter'

--
You received this message because you are subscribed to the Google
Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.


--
Adrian Klaver
[email protected]

--
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to