Skip to content

launch_ironpython_server failing on CentOS 7.9 #1291

Closed
@ghost

Description

Before submitting the issue

  • I have searched among the existing issues
  • I am using a Python virtual environment

Description of the bug

Trying launch_ironpython_server on CentOS 7.9 with Python 3.6 results in the following errors:

Script to reproduce:
Test_Server.py.txt

Process 21166 started on XXX.YYY.com
Using port 18000
Warning: Remote CPython to IronPython may have some limitations.
Known issues are in the returned list and dictionary.
For these known issues, using the method client.convert_remote_object is recommended.
  File "/path/to/venv/lib64/python3.6/site-packages/numpy/__init__.py", line 
SyntaxError: Non-ASCII character '\xef' in file /path/to/venv/lib64/python3.6/site-packages/numpy/__init__.py on line 292, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
Failing to connect to XXX.YYY.com on port 18000. Check the settings

Steps To Reproduce

  1. Stand up a new virtual environment on CentOS 7.9 with AnsysEM 2022 R2 installed and ANSYSEM_INSTALL_DIR set to /path/to/AnsysEM/v222/Linux64
  2. pip install git+https://github.com/pyansys/pyaedt
  3. Run attached script: python Test_Server.py

Which Operating System are you using?

Linux

Which Python version are you using?

3.7

Installed packages

anyio==3.6.1
appdirs==1.4.4
argon2-cffi==21.3.0
argon2-cffi-bindings==21.2.0
async-generator==1.10
attrs==21.4.0
Babel==2.10.2
backcall==0.2.0
bleach==4.1.0
certifi==2022.5.18.1
cffi==1.15.0
charset-normalizer==2.0.12
contextvars==2.4
cycler==0.11.0
dataclasses==0.8
decorator==5.1.1
defusedxml==0.7.1
entrypoints==0.4
idna==3.3
imageio==2.16.0
immutables==0.18
importlib-metadata==4.8.3
ipykernel==5.5.6
ipython==7.16.3
ipython-genutils==0.2.0
jedi==0.17.2
Jinja2==3.0.3
json5==0.9.8
jsonschema==4.0.0
jupyter-client==7.1.2
jupyter-core==4.9.2
jupyter-server==1.13.1
jupyterlab==3.2.9
jupyterlab-pygments==0.1.2
jupyterlab-server==2.10.3
kiwisolver==1.3.1
MarkupSafe==2.0.1
matplotlib==3.3.4
mistune==0.8.4
nbclassic==0.3.5
nbclient==0.5.9
nbconvert==6.0.7
nbformat==5.1.3
nest-asyncio==1.5.5
notebook==6.4.10
numpy==1.19.5
packaging==21.3
pandocfilters==1.5.0
parso==0.7.1
pexpect==4.8.0
pickleshare==0.7.5
Pillow==8.4.0
plumbum==1.7.2
prometheus-client==0.14.1
prompt-toolkit==3.0.29
psutil==5.9.1
ptyprocess==0.7.0
pyaedt==0.5.dev0
pycparser==2.21
Pygments==2.12.0
pyparsing==3.0.9
pyrsistent==0.18.0
python-dateutil==2.8.2
pytz==2022.1
pyvista==0.33.3
pyzmq==23.1.0
requests==2.27.1
rpyc==5.0.1
scooby==0.5.11
Send2Trash==1.8.0
six==1.16.0
sniffio==1.2.0
terminado==0.13.0
testpath==0.6.0
tornado==6.1
traitlets==4.3.3
typing-extensions==4.1.1
urllib3==1.26.9
vtk==8.1.2
wcwidth==0.2.5
webencodings==0.5.1
websocket-client==1.3.1
zipp==3.6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions