i'm using windows10 64 bits and i am new to python
i was trying to build an environment of a project on github Deep-STORM
here is the command in the README.md
conda env create -f environment.yml
here is the details when i ran as administrator
Pip subprocess error:
DEPRECATION: Uninstalling a distutils installed project (pyyaml) 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.
Exception:
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\envs\deep-storm\lib\shutil.py", line 387, in _rmtree_unsafe
os.unlink(fullname)
PermissionError: [WinError 5] 拒绝访问。: 'C:\\Users\\16094\\AppData\\Local\\Temp\\pip-h8_dl6dg-uninstall\\programdata\\anaconda3\\envs\\deep-storm\\scripts\\wheel.exe'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\envs\deep-storm\lib\site-packages\pip\basecommand.py", line 215, in main
File "C:\ProgramData\Anaconda3\envs\deep-storm\lib\site-packages\pip\commands\install.py", line 342, in run
File "C:\ProgramData\Anaconda3\envs\deep-storm\lib\site-packages\pip\req\req_set.py", line 795, in install
File "C:\ProgramData\Anaconda3\envs\deep-storm\lib\site-packages\pip\req\req_install.py", line 767, in commit_uninstall
File "C:\ProgramData\Anaconda3\envs\deep-storm\lib\site-packages\pip\req\req_uninstall.py", line 142, in commit
File "C:\ProgramData\Anaconda3\envs\deep-storm\lib\site-packages\pip\_vendor\retrying.py", line 49, in wrapped_f
return Retrying(*dargs, **dkw).call(f, *args, **kw)
File "C:\ProgramData\Anaconda3\envs\deep-storm\lib\site-packages\pip\_vendor\retrying.py", line 212, in call
raise attempt.get()
File "C:\ProgramData\Anaconda3\envs\deep-storm\lib\site-packages\pip\_vendor\retrying.py", line 247, in get
six.reraise(self.value[0], self.value[1], self.value[2])
File "C:\ProgramData\Anaconda3\envs\deep-storm\lib\site-packages\pip\_vendor\six.py", line 686, in reraise
File "C:\ProgramData\Anaconda3\envs\deep-storm\lib\site-packages\pip\_vendor\retrying.py", line 200, in call
attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
File "C:\ProgramData\Anaconda3\envs\deep-storm\lib\site-packages\pip\utils\__init__.py", line 102, in rmtree
File "C:\ProgramData\Anaconda3\envs\deep-storm\lib\shutil.py", line 494, in rmtree
return _rmtree_unsafe(path, onerror)
File "C:\ProgramData\Anaconda3\envs\deep-storm\lib\shutil.py", line 384, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\ProgramData\Anaconda3\envs\deep-storm\lib\shutil.py", line 384, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\ProgramData\Anaconda3\envs\deep-storm\lib\shutil.py", line 384, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\ProgramData\Anaconda3\envs\deep-storm\lib\shutil.py", line 384, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\ProgramData\Anaconda3\envs\deep-storm\lib\shutil.py", line 384, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\ProgramData\Anaconda3\envs\deep-storm\lib\shutil.py", line 389, in _rmtree_unsafe
onerror(os.unlink, fullname, sys.exc_info())
File "C:\ProgramData\Anaconda3\envs\deep-storm\lib\site-packages\pip\utils\__init__.py", line 114, in rmtree_errorhandler
PermissionError: [WinError 5] 拒绝访问。: 'C:\\Users\\16094\\AppData\\Local\\Temp\\pip-h8_dl6dg-uninstall\\programdata\\anaconda3\\envs\\deep-storm\\scripts\\wheel.exe'
You are using pip version 19.3.1, however version 23.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
failed
CondaEnvException: Pip failed
拒绝访问
means access denied
.
here is the environment.yml
name: deep-storm
channels:
- conda-forge
- anaconda
- defaults
dependencies:
- blas=1.0
- bokeh=0.13.0
- ca-certificates=2019.10.16
- certifi=2018.8.24
- click=7.0
- cloudpickle=1.2.2
- cycler=0.10.0
- cytoolz=0.9.0.1
- dask=0.19.2
- dask-core=0.19.2
- decorator=4.4.1
- distributed=1.23.2
- freetype=2.8.1
- h5py=2.7.1
- hdf5=1.10.1
- heapdict=1.0.1
- icc_rt=2019.0.0
- icu=58.2
- imageio=2.4.1
- intel-openmp=2020.0
- jinja2=2.10.3
- jpeg=9b
- kiwisolver=1.0.1
- libpng=1.6.37
- libtiff=4.1.0
- locket=0.2.0
- markupsafe=1.0
- matplotlib=2.1.1
- mkl=2018.0.3
- msgpack-python=0.5.6
- networkx=2.4
- olefile=0.46
- openssl=1.0.2t
- packaging=19.2
- pandas=0.23.4
- partd=1.0.0
- pillow=5.1.0
- pip=9.0.1
- psutil=5.4.7
- pyparsing=2.4.2
- pyqt=5.6.0
- python=3.5.6
- python-dateutil=2.8.1
- pytz=2019.3
- pywavelets=1.0.0
- qt=5.6.2
- scikit-image=0.13.1
- scikit-learn=0.19.1
- sip=4.18.1
- sortedcontainers=2.0.5
- sqlite=3.30.1
- tblib=1.5.0
- tk=8.6.8
- toolz=0.10.0
- tornado=5.1.1
- vc=14.1
- vs2015_runtime=14.16.27012
- wincertstore=0.2
- xz=5.2.4
- yaml=0.1.7
- zict=1.0.0
- zlib=1.2.11
- zstd=1.3.7
- pip:
- argparse==1.4.0
- bleach==1.5.0
- enum34==1.1.6
- html5lib==0.9999999
- keras==2.1.3
- markdown==3.1.1
- numpy==1.17.4
- pip==19.3.1
- protobuf==3.10.0
- pyyaml==5.1.2
- scipy==1.3.2
- setuptools==41.6.0
- six==1.13.0
- tensorflow-gpu==1.4.0
- tensorflow-tensorboard==0.4.0
- werkzeug==0.16.0
- wheel==0.33.6
Moreover, i changed the intel-openmp=2019.5
to intel-openmp=2020.0
because it reported that there is no intel-openmp=2019.5
and i have already added conda into system path(the bottom three) Path
hope to run the program in pycharm