... | ... | @@ -11,4 +11,47 @@ C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools |
|
|
|
|
|
Install the Build Tools from the given URL.
|
|
|
|
|
|
If you are still not able to install pyconrad because of jpype errors please follow [these steps](http://jpype.readthedocs.io/en/latest/install.html) to install jpype manually. |
|
|
\ No newline at end of file |
|
|
If you are still not able to install pyconrad because of jpype errors please follow [these steps](http://jpype.readthedocs.io/en/latest/install.html) to install jpype manually.
|
|
|
|
|
|
## Unrecognized `--single-version-externally-managed`
|
|
|
|
|
|
This error seems to occur on Debian-flavoured Linux distributions:
|
|
|
|
|
|
```bash
|
|
|
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-yfucy2at-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-u7ft9cw_-record/install-record.txt --single-version-externally-managed --compile:
|
|
|
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
|
|
|
or: -c --help [cmd1 cmd2 ...]
|
|
|
or: -c --help-commands
|
|
|
or: -c cmd --help
|
|
|
|
|
|
error: option --single-version-externally-managed not recognized
|
|
|
|
|
|
----------------------------------------
|
|
|
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-yfucy2at-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-u7ft9cw_-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-yfucy2at-build/
|
|
|
```
|
|
|
|
|
|
Try to checkout this repository and install pyCONRAD using:
|
|
|
```bash
|
|
|
sudo python3 setup.py install
|
|
|
```
|
|
|
|
|
|
## JPype not correctly installed using Anaconda+Ubuntu
|
|
|
|
|
|
If you get this error using Anaconda:
|
|
|
|
|
|
```bash
|
|
|
Traceback (most recent call last):
|
|
|
File "<stdin>", line 1, in <module>
|
|
|
File "/home/stephan/anaconda3/lib/python3.6/site-packages/pyconrad/__init__.py", line 13, in <module>
|
|
|
from jpype import JDouble,JArray,JInt,JString,JShort,JProxy,JByte,JBoolean,JChar,JLong,JFloat,JClass,JIterator
|
|
|
File "/home/stephan/anaconda3/lib/python3.6/site-packages/jpype/__init__.py", line 17, in <module>
|
|
|
from ._jpackage import *
|
|
|
File "/home/stephan/anaconda3/lib/python3.6/site-packages/jpype/_jpackage.py", line 18, in <module>
|
|
|
import _jpype
|
|
|
ImportError: /home/stephan/anaconda3/lib/python3.6/site-packages/_jpype.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZTVNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE
|
|
|
```
|
|
|
|
|
|
try to install jpype again using:
|
|
|
```bash
|
|
|
conda install -c conda-forge jpype1
|
|
|
``` |
|
|
\ No newline at end of file |