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

Installed but cannot import #340

Closed
jingweiz opened this issue Aug 24, 2018 · 4 comments
Closed

Installed but cannot import #340

jingweiz opened this issue Aug 24, 2018 · 4 comments
Labels

Comments

@jingweiz
Copy link

Hey,

  • System configuration: Ubuntu16.04, anaconda3, python3.6
  • Output of pip install vizdoom:
Requirement already satisfied: vizdoom in~/anaconda3/envs/doom-env/lib/python3.6/site-packages (1.1.6)
Requirement already satisfied: numpy in ~/anaconda3/envs/doom-env/lib/python3.6/site-packages (from vizdoom) (1.15.1)
  • $ ls ~/anaconda3/envs/doom-env/lib/python3.6/site-packages/ | grep doom:
vizdoom-1.1.6.dist-info
  • try to import:
$ python
Python 3.6.0 |Continuum Analytics, Inc.| (default, Dec 23 2016, 12:22:00) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import vizdoom
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'vizdoom'

I guess if it is installed successfully then inside ~/anaconda3/envs/doom-env/lib/python3.6/site-packages/ there should be another vizdoom folder besides the vizdoom-1.1.6.dist-info folder?
Any help would be highly appreciated! Thanks in advance!

@Miffyli
Copy link
Collaborator

Miffyli commented Aug 24, 2018

Sadly this is an ongoing issue (see #311 ) and I do not know is this has been fixed yet.

@mwydmuch ?

@JaydenTaylor
Copy link

I had the same issue, I made a new virtual environment and re-installed vizdoom and it worked fine.

@ionvision
Copy link

I had the same issue, I made a new virtual environment and re-installed vizdoom and it worked fine.

I also created a new virtual environment in Anaconda but still failed to import. Could you share a bit more details of the setup procedure? Thanks!

@mwydmuch mwydmuch added the conda label Nov 5, 2023
@mwydmuch
Copy link
Member

mwydmuch commented Nov 5, 2023

The building system has been updated since then, manylinux wheels are now provided, closing the issue.

@mwydmuch mwydmuch closed this as completed Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants