Top "Pythonpath" questions

PYTHONPATH is an environment variable that can be used to augment the default search path for module imports in Python.

python - os.getenv and os.environ don't see environment variables of my bash shell

I am on ubuntu 13.04, bash, python2.7.4 The interpreter doesn't see variables I set. Here is an example: $ echo $A 5 $ python …

python bash environment-variables pythonpath
How does python find a module file if the import statement only contains the filename?

Everywhere I see Python code importing modules using import sys or import mymodule How does the interpreter find the correct …

python python-import python-module pythonpath
Changing PYTHONPATH in shell

I'm a completely new user to Python and shell scripts, and have run into a dead end with this, even …

python pythonpath
Add directory to Python path in PyCharm?

I want to be able to use the paraview.simple library in PyCharm. I already have paraview installed in my …

python pycharm pythonpath
Where to put a configuration file in Python?

In development mode, I have the following directory tree : | my_project/ | setup.py | my_project/ | __init__.py | main.py | conf/ | …

python pythonpath configparser
ERROR: virtualenvwrapper could not find virtualenv in your path

I'm trying to create a virtualenv with virtualenvwrapper, but when I use mkvirtualenv I get the following : ERROR: virtualenvwrapper could …

python virtualenv pythonpath virtualenvwrapper
How do I import a Python script from a sibling directory?

Here is the directory structure: parent_dir/ foo_dir/ foo.py bar_dir/ bar.py How do I import bar.…

python import path pythonpath
How to add something to PYTHONPATH?

I downloaded a package (called pysolr 2.0.15) to my computer to be used with Haystack. The instructions asks me to add …

python django django-haystack pythonpath pysolr
What to set `SPARK_HOME` to?

Installed apache-maven-3.3.3, scala 2.11.6, then ran: $ git clone git://github.com/apache/spark.git -b branch-1.4 $ cd spark $ build/mvn -DskipTests …

python apache-spark pythonpath pyspark apache-zeppelin
how to set different PYTHONPATH variables for python3 and python2 respectively

I want to add a specific library path only to python2. After adding export PYTHONPATH="/path/to/lib/" to my .…

python pythonpath