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

spyderlib.utils.external overrides modules for script execution #1952

Closed
spyder-bot opened this issue Feb 17, 2015 · 4 comments
Closed

spyderlib.utils.external overrides modules for script execution #1952

spyder-bot opened this issue Feb 17, 2015 · 4 comments

Comments

@spyder-bot
Copy link
Collaborator

From contrebasse on 2014-09-02T03:10:28Z

Spyder Version: 2.4.0dev (4077: rc834f104cb5c )
Python Version: 2.7.8
Qt Version : 4.8.6, PyQt4 (API v2) 4.11.1 on Linux
pyflakes >=0.5.0: 0.5.0 (OK)
pep8 >=0.6 : 1.4.6 (OK)
IPython >=0.13 : 2.2.0 (OK)
pygments >=1.6 : 1.6 (OK)
pandas >=0.13.1 : 0.14.1 (OK)
sphinx >=0.6.6 : 1.2.2 (OK)
psutil >=0.3 : 2.1.1 (OK)
jedi >=0.8.0 : 0.8.1-final0 (OK)
matplotlib >=1.0: 1.3.1 (OK)
sympy >=0.7.0 : 0.7.5 (OK)
pylint >=0.25 : 1.3.0 (OK)

What steps will reproduce the problem?

  1. Install path.py from pip
    1. Type in the console or execute a script:
      import path
      print(path.file)

What is the expected output? What do you see instead?

The printed path is [...]/spyderlib/utils/external/path.pyc, while I expect to get the module installed on the system. Spyder should not change the execution environment for scripts at all.

Please provide any additional information below

.
The path.py module in spyder is outdated, that's how I discovered the problem.
The problem is the same when launched via 'spyder' or 'bootstrap.py'

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1952

@spyder-bot
Copy link
Collaborator Author

From ccordoba12 on 2014-11-18T17:07:56Z

Labels: MS-v2.3.3

@spyder-bot
Copy link
Collaborator Author

From ccordoba12 on 2015-01-08T15:18:07Z

Labels: -MS-v2.3.3 MS-v2.3.4

@Nodd
Copy link
Contributor

Nodd commented Mar 13, 2015

Hey, thanks for fixing this !

@ccordoba12
Copy link
Member

You're welcome :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants