You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding a path continaining the ':' character in the path manager, does not work as excpected. This type of path appear for instance when nautilus mounts (using fuse) a remote directory through sftp.
What steps will reproduce the problem?
mkdir ~/foo:bar
add this directory with the path manager
open a new (i)python console
In the console run: import sys; print(sys.path)
What is the expected output? What do you see instead?
I would expect to have:
[
...
/home/<user>/foo:bar,
...
]
I get:
...
/home/<user>/foo,
/home/<user>/bar,
...
This is due to the fact that paths in the path manager are synchorinzed through the PYTHONPATH environment variable which does not support (at least in an obvious way) the use of ":" in the paths. There should be a way to do it though since using the working directory input , correcly adds it to sys.path
Versions and main components
Spyder Version: 3.1.2
Python Version: 3.5
Operating system: Linux Ubuntu 16.10
The text was updated successfully, but these errors were encountered:
Description of your problem
Adding a path continaining the ':' character in the path manager, does not work as excpected. This type of path appear for instance when nautilus mounts (using fuse) a remote directory through sftp.
What steps will reproduce the problem?
What is the expected output? What do you see instead?
I would expect to have:
I get:
This is due to the fact that paths in the path manager are synchorinzed through the PYTHONPATH environment variable which does not support (at least in an obvious way) the use of ":" in the paths. There should be a way to do it though since using the working directory input , correcly adds it to
sys.path
Versions and main components
The text was updated successfully, but these errors were encountered: