Comments (4)
It's weird that you are importing stuff from build/bdist.macosx-10.11-x86_64/egg/ .
Which folder are you running your python from? If you are in clonned folder you called setup.py install - try changing directory. Also try checking how your $PYTHONPATH looks like - it shouldn't have that directory in the list.
from skflow.
I ran the python in any other folders the same error came. The following is the detail information about the $PYTHONPATH and the traceback when I ran the python in home directory.
TsangBosco:~ tsangbosco$ python
Python 2.7.11 (default, Dec 23 2015, 12:23:20)
[GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/tsangbosco/.pyenv/versions/2.7.11/lib/python2.7/site-packages/numpy/__init__.py", line 180, in <module>
from . import add_newdocs
File "/Users/tsangbosco/.pyenv/versions/2.7.11/lib/python2.7/site-packages/numpy/add_newdocs.py", line 13, in <module>
from numpy.lib import add_newdoc
File "/Users/tsangbosco/.pyenv/versions/2.7.11/lib/python2.7/site-packages/numpy/lib/__init__.py", line 8, in <module>
from .type_check import *
File "/Users/tsangbosco/.pyenv/versions/2.7.11/lib/python2.7/site-packages/numpy/lib/type_check.py", line 11, in <module>
import numpy.core.numeric as _nx
File "/Users/tsangbosco/.pyenv/versions/2.7.11/lib/python2.7/site-packages/numpy/core/__init__.py", line 58, in <module>
from numpy.testing import Tester
File "/Users/tsangbosco/.pyenv/versions/2.7.11/lib/python2.7/site-packages/numpy/testing/__init__.py", line 14, in <module>
from .utils import *
File "/Users/tsangbosco/.pyenv/versions/2.7.11/lib/python2.7/site-packages/numpy/testing/utils.py", line 15, in <module>
from tempfile import mkdtemp
File "/Users/tsangbosco/.pyenv/versions/2.7.11/lib/python2.7/tempfile.py", line 32, in <module>
import io as _io
File "build/bdist.macosx-10.11-x86_64/egg/io/__init__.py", line 16, in <module>
ImportError: No module named skflow.io.pandas_io
>>> exit()
TsangBosco:~ tsangbosco$ echo $PYTHONPATH
/Users/tsangbosco/.pyenv/version/2.7.11
from skflow.
What about sys.path
? I'm just not observing the same issue myself and this line File "build/bdist.macosx-10.11-x86_64/egg/io/__init__.py", line 16, in <module>
seems like an issue where the skflow got installed.
I just did next commands:
mkdir temp
virtualenv env
source env/bin/activate
git clone https://github.com/google/skflow.git
pip install numpy
pip install scipy
pip install sklearn
pip install --upgrade https://storage.googleapis.com/tensorflow/mac/tensorflow-0.6.0-py2-none-any.whl
cd skflow
python setup.py install
and then tried import numpy
in python
and it works correctly.
from skflow.
Closing this due to inactive status. Feel free to reopen it if you encounter the problem again.
from skflow.
Related Issues (20)
- Verbose is not considered during the training. HOT 1
- need more models in skflow.models HOT 2
- seq2seq example doesn't work HOT 1
- IndexError: index 20860 is out of bounds for axis 0 with size 18805 HOT 3
- TypeError inside skflow HOT 1
- text_classification.py giving error HOT 2
- skflow and tensorboard HOT 1
- Conditional RBM and distributed computing HOT 1
- can not run two tensorflow program one by one HOT 1
- Exception in the Custom model example HOT 2
- Scikitflow documentation update requested HOT 1
- getting none values not supported error HOT 3
- neural_translation.py showing error HOT 4
- Exception when restore DNN model HOT 1
- Tensor name "hiddenlayer_2/biases" not found in checkpoint files HOT 1
- checkpoint can't be restored... HOT 1
- DNNClassifier init failed HOT 1
- Why hasn't this repo been archived yet?
- Is this project still working? HOT 1
- .travis.yml: The 'sudo' tag is now deprecated in Travis CI HOT 1
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 skflow.