Comments (4)
I fixed it on line 10 using
#import simplejson as json
try:
import simplejson as json
except ImportError:
import json as json
from dataset-examples.
Try installing the dependencies using 'pip install -e . 'and then run the python script again.
from dataset-examples.
I'm getting the same issue and knew that the installation had gone wrong. This is going to be long but this is all of the issues I receive when I 'pip install -e .' Everything up to the point below runs smoothly until I hit this point. Any idea what's the issue?
"DEPRECATION: Uninstalling a distutils installed project (six) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
Uninstalling six-1.4.1:
Exception:
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/pip-8.1.0-py2.7.egg/pip/basecommand.py", line 209, in main
status = self.run(options, args)
File "/Library/Python/2.7/site-packages/pip-8.1.0-py2.7.egg/pip/commands/install.py", line 317, in run
prefix=options.prefix_path,
File "/Library/Python/2.7/site-packages/pip-8.1.0-py2.7.egg/pip/req/req_set.py", line 726, in install
requirement.uninstall(auto_confirm=True)
File "/Library/Python/2.7/site-packages/pip-8.1.0-py2.7.egg/pip/req/req_install.py", line 746, in uninstall
paths_to_remove.remove(auto_confirm)
File "/Library/Python/2.7/site-packages/pip-8.1.0-py2.7.egg/pip/req/req_uninstall.py", line 115, in remove
renames(path, new_path)
File "/Library/Python/2.7/site-packages/pip-8.1.0-py2.7.egg/pip/utils/init.py", line 267, in renames
shutil.move(old, new)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 302, in move
copy2(src, real_dst)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 131, in copy2
copystat(src, dst)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 103, in copystat
os.chflags(dst, st.st_flags)
OSError: [Errno 1] Operation not permitted: '/var/folders/9t/l6gc1kcn5872wnhxky33tcmh0000gn/T/pip-FkF1kE-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/six-1.4.1-py2.7.egg-info'"
from dataset-examples.
Anyone have any idea on this?
from dataset-examples.
Related Issues (20)
- More/Fewer total reviews per business than in 'review_count'
- where is the label if review is positive or negative?
- json_to_csv_converter.py has a small issue for the new yelp dataset HOT 1
- json_to_csv_converter.py fixed for Python 3 HOT 7
- What's the meaing of each column heading ?
- question about date availability for business in NYC HOT 2
- Review_count HOT 1
- Get Yelp original json file HOT 1
- Check-in data is not user-related? HOT 1
- missing attribute in category_predictor.py HOT 1
- Is the first entry in the variable “categories” the superordinate category?
- business.json is not converted to business.csv HOT 2
- Broken links in README HOT 2
- Question regarding the time zones in the review.json file HOT 1
- 'NoneType' object is not subscriptable error when yelp_academic_dataset_business.json conversion
- Citation issue
- Including not recommended reviews
- Convert JSON to CSV: Missing module source and missing undefined variable
- Extract review.json file from yelp_academic_dataset.json
- Can I know which photo belongs to which review
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 dataset-examples.