Comments (5)
I don't have access to a Mac, so I can't test it directly.
It should be fixed in the last version.
$ pip freeze | grep dcm2bids
dcm2bids==1.1.8
Do you have the last version ?
from dcm2bids.
I actually gave up with the Mac version, and switched to a Linux cluster environment. I tried the installation again, but received the following permissions error:
Exception:
Traceback (most recent call last):
File "/N/soft/rhel6/python/2.7.3/lib/python2.7/site-packages/pip-9.0.1-py2.7.egg/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/N/soft/rhel6/python/2.7.3/lib/python2.7/site-packages/pip-9.0.1-py2.7.egg/pip/commands/install.py", line 342, in run
prefix=options.prefix_path,
File "/N/soft/rhel6/python/2.7.3/lib/python2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_set.py", line 784, in install
**kwargs
File "/N/soft/rhel6/python/2.7.3/lib/python2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_install.py", line 851, in install
self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File "/N/soft/rhel6/python/2.7.3/lib/python2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_install.py", line 1064, in move_wheel_files
isolated=self.isolated,
File "/N/soft/rhel6/python/2.7.3/lib/python2.7/site-packages/pip-9.0.1-py2.7.egg/pip/wheel.py", line 345, in move_wheel_files
clobber(source, lib_dir, True)
File "/N/soft/rhel6/python/2.7.3/lib/python2.7/site-packages/pip-9.0.1-py2.7.egg/pip/wheel.py", line 316, in clobber
ensure_dir(destdir)
File "/N/soft/rhel6/python/2.7.3/lib/python2.7/site-packages/pip-9.0.1-py2.7.egg/pip/utils/__init__.py", line 83, in ensure_dir
os.makedirs(path)
File "/N/soft/rhel6/python/2.7.3/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/N/soft/rhel6/python/2.7.3/lib/python2.7/site-packages/winreg'
Since I don't have admin privileges, is there a work-around I can use in this case?
from dcm2bids.
Without admin privileges, you can use -e, --user or --prefix.
pip install --help
to see what's the best fit for your need.
One example: pip install --user dcm2bids
from dcm2bids.
Okay, I installed dcm2bid with
pip install --prefix $HOME/Dcm2Bids dcm2bids
I then tried running the dcm2bids_helper file using this command:
$HOME/Dcm2Bids/bin/dcm2bids_helper -d DICOMdir -o $HOME
but got this error:
Traceback (most recent call last):
File "/N/u/dlevitas/Karst/Dcm2Bids/bin/dcm2bids_helper", line 8, in <module>
from dcm2bids.dcm2niix import Dcm2niix
Do I need to update the python path to include the dcm2bids modules?
from dcm2bids.
Actually, nevermind about that. I added it to my PATH, and now it's running.
Thanks again.
from dcm2bids.
Related Issues (20)
- Should this line be pointing to one of the sidecar files? HOT 2
- Typos in some files of the scaffold raise errors on the validator
- Creating several 3D images instead of a single 4D image. HOT 2
- New features or enh for next release
- post_op HOT 6
- Provide a Docker image that includes pydeface HOT 4
- [BUG] dcmbids binary
- Processing order issue ? ```"IntendedFor" No id found for 'IntendedFor' value 'XX'``` HOT 4
- KeyError: 'datatype' HOT 1
- TypeError in Acquisition.init() when running dcm2bids HOT 1
- `sidecar_changes` do not fetch all matches of the referenced description
- Error: Too many NIFTI images with the name HOT 1
- compKeys default for run numbering doesn't seem like a good one HOT 1
- Subprocess Error Assistance HOT 3
- Allowing for post_op command's output to be printed to stdout HOT 2
- Script removes task information from filenames. HOT 8
- bids validator not working properly HOT 8
- Fix GHA
- Document new (and old) features
- Maybe a tab error 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 dcm2bids.