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

pydart2 cannot be install on Ubuntu 18.04 (python3) #5

Open
larksq opened this issue Oct 17, 2019 · 10 comments
Open

pydart2 cannot be install on Ubuntu 18.04 (python3) #5

larksq opened this issue Oct 17, 2019 · 10 comments

Comments

@larksq
Copy link

larksq commented Oct 17, 2019

Pydart2 cannot be installed with this issue from the year of 2018. Still not solved. Pip install and make install will goes to the same problem.

Since pydart2 is now deprecated.
Is it possible to make some updates so that flappy will not rely on pydart2?

@ffnc1020
Copy link
Collaborator

We realize this problem and we are currently working on removing pydart2 dependency. There should be an update soon.

@huangatlas
Copy link

Hi, @ffnc1020 , has this issue been solved? It seems now that pydart2 is still a dependency of flappy.

@kexin0614
Copy link

it might help if you setup pydart2 from source and switch the c++ standard to c++14 in the setup.py.
git clone https://github.com/sehoonha/pydart2.git
in setup.py line 33
CXX_FLAGS = '-Wall -msse2 -fPIC -std=c++14 -Xlinker -rpath /usr/local/lib '
and run in venv
python3 setup.py install

@kexin0614
Copy link

kexin0614 commented Nov 14, 2019

i met similar problem, but on ubuntu 16.04
solved by the method above

@huangatlas
Copy link

@kexin0614 Thanks for your advice and I will try. One of the errors from my installation through pip3 shows that std::make_unique cannot be found in std namespace. According info online, make_unique is an upcoming C++14 feature and thus might not be available on some computer even if the compiler is C++11 compliant.

@huangatlas
Copy link

This works. Another error occurs:
from . import pydart2_api as papi
ImportError: cannot import name 'pydart2_api'...

@huangatlas
Copy link

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lib:/usr/lib:/usr/local/lib

@Arbalest1027
Copy link
Collaborator

We managed to wrap everything in a docker file. If you guys can install that I can provide the image file later.

@kexin0614
Copy link

@huangatlas i don't know why but it seems that readme.md forgets to pip install click and pyqt5, and after i installed these packages it works...

@Glacier137
Copy link

when can we run it on window...may attract more people

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

6 participants