Comments (1)
Hi All,
I have updated conda to see if that fixes the problem
conda update -n root conda
conda update --all
Now /home/dun280/local/anaconda3/bin has a python 3.6.5 binary
/home/dun280/Dropbox/learning/python-anaconda/placer/placer/Feature extraction
tamar: echo $PATH
/home/dun280/local/anaconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
tamar: which jupyter
/home/dun280/local/anaconda3/bin/jupyter
tamar: which python
/home/dun280/local/anaconda3/bin/python
tamar: python --version
Python 3.6.5
tamar: source activate placer-env
(placer-env) tamar: echo $PATH
/home/dun280/local/anaconda3/envs/placer-env/bin:/home/dun280/local/anaconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
(placer-env) tamar: which jupyter
/home/dun280/local/anaconda3/envs/placer-env/bin/jupyter
(placer-env) tamar: which python
/home/dun280/local/anaconda3/envs/placer-env/bin/python
(placer-env) tamar: python --version
Python 3.6.5
(placer-env) tamar: jupyter kernelspec list
Available kernels:
python3 /home/dun280/local/anaconda3/envs/placer-env/share/jupyter/kernels/python3
(placer-env) tamar: jupyter console
Jupyter console 5.2.0
Python 3.6.5 | packaged by conda-forge | (default, Apr 6 2018, 13:39:56)
Type 'copyright', 'credits' or 'license' for more information
IPython 6.4.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import pandas as pd
In [2]: import fiona, fiona.crs
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-2-c04c0287504e> in <module>()
----> 1 import fiona, fiona.crs
ModuleNotFoundError: No module named 'fiona'
Now jupyter finds a "Python 3.6.5" but it is still the wrong python -- it does not find the modules
installed in the virtual environment. However, if I just start python
(placer-env) tamar: python
Python 3.6.5 | packaged by conda-forge | (default, Apr 6 2018, 13:39:56)
[GCC 4.8.2 20140120 (Red Hat 4.8.2-15)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pandas as pd
>>> import fiona, fiona.crs
>>>
it can find them.
from jupyter_core.
Related Issues (20)
- 5.0 changelog HOT 1
- ModuleNotFoundError: No module named 'jupyter_core' HOT 3
- Current working directory not anymore in config_dir HOT 1
- 6.0: Change Default for JUPYTER_PLATFORM_DIRS to "true" HOT 3
- Deprecation warning for platform dirs affecting downstream CI tests HOT 1
- Feature request: do not prefer env path if it is not writeable HOT 6
- uncaught error in directory ownership check HOT 2
- Jupyter in pyenv can't find subcommand when python is called directly HOT 3
- paths: option to exclude user directories HOT 1
- jupyter_core package requires invalid pywin32 version HOT 1
- There are conflicts between the modules of the dependencies.
- migrated marker may seem not to exist if os.stat not allowed
- FAILED tests/test_troubleshoot.py::test_troubleshoot HOT 1
- Draft7Validator(TyperError: create.<locals>.Validator.__init__() got an unexpected keyword argument 'registry' HOT 23
- Regression: Error when config dir is readonly (Worked before) HOT 2
- 0.5.6 causes "This event loop is already running" Error HOT 2
- `__version__` attribute no longer available HOT 8
- win32api Paths.py
- `jupyter_data_dir` usage outside of JupyterApp
- DeprecationWarning on a fresh install on CI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jupyter_core.