Hello everyone,
I'm trying to install lmfit on a x86_64 GNU/Linux with Python 3.4.3 and I failed with two differents methods: through Anaconda and pip. Maybe because of conflicts between packages and/or permission issue (details are below).
Does anyone have an idea on how I could fix that ?
$ conda install -c conda-forge lmfit => Here ok, no problem
...
$ conda install -c newville lmfit
Fetching package metadata: ......
Solving package specifications: ..
Error: Unsatisfiable package specifications.
Generating hint:
[ ]| | 0%
Hint: the following packages conflict with each other:
- lmfit
- python 3.4*
$ pip install lmfit
You are using pip version 7.0.1, however version 8.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting lmfit
Using cached lmfit-0.9.5-py3-none-any.whl
Requirement
already satisfied (use --upgrade to upgrade): scipy in
/opt/anaconda3-2.2.0-2ipsl/lib/python3.4/site-packages (from lmfit)
Requirement
already satisfied (use --upgrade to upgrade): numpy in
/opt/anaconda3-2.2.0-2ipsl/lib/python3.4/site-packages (from lmfit)
Installing collected packages: lmfit
Exception:
Traceback (most recent call last):
File "/opt/anaconda3/lib/python3.4/site-packages/pip/basecommand.py", line 223, in main
status = self.run(options, args)
File "/opt/anaconda3/lib/python3.4/site-packages/pip/commands/install.py", line 297, in run
root=options.root_path,
File "/opt/anaconda3/lib/python3.4/site-packages/pip/req/req_set.py", line 622, in install
**kwargs
File "/opt/anaconda3/lib/python3.4/site-packages/pip/req/req_install.py", line 808, in install
self.move_wheel_files(self.source_dir, root=root)
File "/opt/anaconda3/lib/python3.4/site-packages/pip/req/req_install.py", line 1003, in move_wheel_files
isolated=self.isolated,
File "/opt/anaconda3/lib/python3.4/site-packages/pip/wheel.py", line 338, in move_wheel_files
clobber(source, lib_dir, True)
File "/opt/anaconda3/lib/python3.4/site-packages/pip/wheel.py", line 309, in clobber
ensure_dir(destdir)
File "/opt/anaconda3/lib/python3.4/site-packages/pip/utils/__init__.py", line 70, in ensure_dir
os.makedirs(path)
File "/opt/anaconda3/lib/python3.4/os.py", line 237, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/opt/anaconda3/lib/python3.4/site-packages/lmfit'
Best regards,
Marc