Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to import rti.connextdds #46

Open
endingchen opened this issue Jul 29, 2022 · 0 comments
Open

Failed to import rti.connextdds #46

endingchen opened this issue Jul 29, 2022 · 0 comments

Comments

@endingchen
Copy link

Hello!

I built the wheel package successfully on Windows 11 and Ubuntu 20.04 both.
On Linux, it works perfectly.
However, when I import the rti.connextdds on Windows, it returns an error:

(py3) C:\Users\ending>python
Python 3.9.12 (tags/v3.9.12:b28265d, Mar 23 2022, 23:52:46) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import rti.connextdds as dds
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: Could not allocate string object!
>>>

Here is my environment on Windows

  • RTI Connext DDS v6.1.1
  • Visual Studio 2022 Community
  • Python 3.9.12
(py3) C:\Users\ending>pip list
Package    Version
---------- -------
pip        22.2
rti        0.1.5
setuptools 63.2.0
wheel      0.37.1
python configure.py ^
--nddshome "C:\Program Files\rti_connext_dds-6.1.1" ^
--jobs 4 ^
--tcp ^
--monitoring ^
--secure ^
--openssl "C:\Program Files\rti_connext_dds-6.1.1\third_party\openssl-1.1.1n\x64Win64VS2017\release\bin" ^
"x64Win64VS2017"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant