Discussion:
[conda] Miniconda3 fails to install rstudio
Jesse Wang
2018-02-24 14:46:55 UTC
Permalink
Hello,

When I want to install rstudio in Miniconda3 with "conda install rstudio",
it always fails.
I get a error message as below.
########################################
Preparing transaction: done
Verifying transaction: done
Executing transaction: failed
ERROR conda.core.link:_execute(481): An error occurred while installing
package 'defaults::m2w64-ca-certificates-20150426-103'.
UnicodeDecodeError('gb2312', b"'usr\\bin\\mkdir.exe'
\xa4\xa3\xacO\xa4\xba\xb3\xa1\xa9\xce\xa5~\xb3\xa1\xa9R\xa5O\xa1B\xa5i\xb0\xf5\xa6\xe6\xaa\xba\xb5{\xa6\xa1\xa9\xce\xa7\xe5\xa6\xb8\xc0\xc9\xa1C\r\n'usr\\bin\\cp.exe'
\xa4\xa3\xacO\xa4\xba\xb3\xa1\xa9\xce\xa5~\xb3\xa1\xa9R\xa5O\xa1B\xa5i\xb0\xf5\xa6\xe6\xaa\xba\xb5{\xa6\xa1\xa9\xce\xa7\xe5\xa6\xb8\xc0\xc9\xa1C\r\n'usr\\bin\\cp.exe'
\xa4\xa3\xacO\xa4\xba\xb3\xa1\xa9\xce\xa5~\xb3\xa1\xa9R\xa5O\xa1B\xa5i\xb0\xf5\xa6\xe6\xaa\xba\xb5{\xa6\xa1\xa9\xce\xa7\xe5\xa6\xb8\xc0\xc9\xa1C\r\n'usr\\bin\\cp.exe'
\xa4\xa3\xacO\xa4\xba\xb3\xa1\xa9\xce\xa5~\xb3\xa1\xa9R\xa5O\xa1B\xa5i\xb0\xf5\xa6\xe6\xaa\xba\xb5{\xa6\xa1\xa9\xce\xa7\xe5\xa6\xb8\xc0\xc9\xa1C\r\n",
22, 23, 'illegal multibyte sequence')
Attempting to roll back.

Rolling back transaction: done

UnicodeDecodeError('gb2312', b"'usr\\bin\\mkdir.exe'
\xa4\xa3\xacO\xa4\xba\xb3\xa1\xa9\xce\xa5~\xb3\xa1\xa9R\xa5O\xa1B\xa5i\xb0\xf5\xa6\xe6\xaa\xba\xb5{\xa6\xa1\xa9\xce\xa7\xe5\xa6\xb8\xc0\xc9\xa1C\r\n'usr\\bin\\cp.exe'
\xa4\xa3\xacO\xa4\xba\xb3\xa1\xa9\xce\xa5~\xb3\xa1\xa9R\xa5O\xa1B\xa5i\xb0\xf5\xa6\xe6\xaa\xba\xb5{\xa6\xa1\xa9\xce\xa7\xe5\xa6\xb8\xc0\xc9\xa1C\r\n'usr\\bin\\cp.exe'
\xa4\xa3\xacO\xa4\xba\xb3\xa1\xa9\xce\xa5~\xb3\xa1\xa9R\xa5O\xa1B\xa5i\xb0\xf5\xa6\xe6\xaa\xba\xb5{\xa6\xa1\xa9\xce\xa7\xe5\xa6\xb8\xc0\xc9\xa1C\r\n'usr\\bin\\cp.exe'
\xa4\xa3\xacO\xa4\xba\xb3\xa1\xa9\xce\xa5~\xb3\xa1\xa9R\xa5O\xa1B\xa5i\xb0\xf5\xa6\xe6\xaa\xba\xb5{\xa6\xa1\xa9\xce\xa7\xe5\xa6\xb8\xc0\xc9\xa1C\r\n",
22, 23, 'illegal multibyte sequence')
########################################
How should I do to fix this error and install rstudio?

My version and OS:
Miniconda3 4.4.10
Windows 10 Pro 1709 16299.248

Thank you!
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/a2f67eaf-a608-45ac-8ac6-e217bfb18bee%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
Ariel Balter
2018-02-24 16:12:03 UTC
Permalink
Just as a test, could you try installing it into it's on environment?
Also, I'm assuming that you can install other things without error. Right?
conda create --name rstudioenv
source activate rstudioenv
conda install rstudio

If that doesn't work, you could try

conda create --name rstudioenv rstudio

(what is the deal with the code highlighting remove spaces?)
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/2ee05f1c-40f2-465f-acaf-568c617a6189%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
Jesse Wang
2018-02-27 15:43:12 UTC
Permalink
Hi Ariel,

Thanks for your reply.
The solution does not work for me.

After googling, I find a workable solution as below.
==========================
Modify Miniconda3\Lib\site-packages\conda\common\compat.py
in "def ensure_text_type(value):" section
return value.decode('utf-8') -> return value.decode('utf-8','ignore')
return value.decode('utf-8') -> return value.decode(encoding,'ignore')
==========================

Now I have already installed R-studio.

Thank you!


Ariel Balteræ–Œ 2018幎2月25日星期日 UTC+8䞊午12時12分03秒寫道
Just as a test, could you try installing it into it's on environment?
Also, I'm assuming that you can install other things without error. Right?
conda create --name rstudioenv
source activate rstudioenv
conda install rstudio
If that doesn't work, you could try
conda create --name rstudioenv rstudio
(what is the deal with the code highlighting remove spaces?)
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/8f802aea-d206-4610-8b78-75bb47cdfecd%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
Ariel Balter
2018-03-01 23:49:38 UTC
Permalink
Glad it worked!
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/51cfef10-5051-4429-aebb-b5e180fca0fa%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
Hercial Vitalis
2018-03-01 22:53:29 UTC
Permalink
Try this
conda create rstudio
Post by Jesse Wang
Hello,
When I want to install rstudio in Miniconda3 with "conda install rstudio",
it always fails.
I get a error message as below.
########################################
Preparing transaction: done
Verifying transaction: done
Executing transaction: failed
ERROR conda.core.link:_execute(481): An error occurred while installing
package 'defaults::m2w64-ca-certificates-20150426-103'.
UnicodeDecodeError('gb2312', b"'usr\\bin\\mkdir.exe'
\xa4\xa3\xacO\xa4\xba\xb3\xa1\xa9\xce\xa5~\xb3\xa1\xa9R\xa5O\xa1B\xa5i\xb0\xf5\xa6\xe6\xaa\xba\xb5{\xa6\xa1\xa9\xce\xa7\xe5\xa6\xb8\xc0\xc9\xa1C\r\n'usr\\bin\\cp.exe'
\xa4\xa3\xacO\xa4\xba\xb3\xa1\xa9\xce\xa5~\xb3\xa1\xa9R\xa5O\xa1B\xa5i\xb0\xf5\xa6\xe6\xaa\xba\xb5{\xa6\xa1\xa9\xce\xa7\xe5\xa6\xb8\xc0\xc9\xa1C\r\n'usr\\bin\\cp.exe'
\xa4\xa3\xacO\xa4\xba\xb3\xa1\xa9\xce\xa5~\xb3\xa1\xa9R\xa5O\xa1B\xa5i\xb0\xf5\xa6\xe6\xaa\xba\xb5{\xa6\xa1\xa9\xce\xa7\xe5\xa6\xb8\xc0\xc9\xa1C\r\n'usr\\bin\\cp.exe'
\xa4\xa3\xacO\xa4\xba\xb3\xa1\xa9\xce\xa5~\xb3\xa1\xa9R\xa5O\xa1B\xa5i\xb0\xf5\xa6\xe6\xaa\xba\xb5{\xa6\xa1\xa9\xce\xa7\xe5\xa6\xb8\xc0\xc9\xa1C\r\n",
22, 23, 'illegal multibyte sequence')
Attempting to roll back.
Rolling back transaction: done
UnicodeDecodeError('gb2312', b"'usr\\bin\\mkdir.exe'
\xa4\xa3\xacO\xa4\xba\xb3\xa1\xa9\xce\xa5~\xb3\xa1\xa9R\xa5O\xa1B\xa5i\xb0\xf5\xa6\xe6\xaa\xba\xb5{\xa6\xa1\xa9\xce\xa7\xe5\xa6\xb8\xc0\xc9\xa1C\r\n'usr\\bin\\cp.exe'
\xa4\xa3\xacO\xa4\xba\xb3\xa1\xa9\xce\xa5~\xb3\xa1\xa9R\xa5O\xa1B\xa5i\xb0\xf5\xa6\xe6\xaa\xba\xb5{\xa6\xa1\xa9\xce\xa7\xe5\xa6\xb8\xc0\xc9\xa1C\r\n'usr\\bin\\cp.exe'
\xa4\xa3\xacO\xa4\xba\xb3\xa1\xa9\xce\xa5~\xb3\xa1\xa9R\xa5O\xa1B\xa5i\xb0\xf5\xa6\xe6\xaa\xba\xb5{\xa6\xa1\xa9\xce\xa7\xe5\xa6\xb8\xc0\xc9\xa1C\r\n'usr\\bin\\cp.exe'
\xa4\xa3\xacO\xa4\xba\xb3\xa1\xa9\xce\xa5~\xb3\xa1\xa9R\xa5O\xa1B\xa5i\xb0\xf5\xa6\xe6\xaa\xba\xb5{\xa6\xa1\xa9\xce\xa7\xe5\xa6\xb8\xc0\xc9\xa1C\r\n",
22, 23, 'illegal multibyte sequence')
########################################
How should I do to fix this error and install rstudio?
Miniconda3 4.4.10
Windows 10 Pro 1709 16299.248
Thank you!
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/1b95bb96-5797-4b81-8dc1-48d9edfaeeea%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
Ariel Balter
2018-03-01 23:50:49 UTC
Permalink
You might think about posting a bug on the conda github site. Perhaps there
is something they need to fix, and your experience will help others.
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/ef2ced61-30ef-4061-91e2-58f48831cbb8%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
Loading...