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

Solving environment: failed ResolvePackageNotFound when running conda env create --file text2mesh.yml #1

Open
bibyts opened this issue Dec 7, 2021 · 17 comments

Comments

@bibyts
Copy link

bibyts commented Dec 7, 2021

When I run this command from the directory: conda env create --file text2mesh.yml

I get this error below. I have a CUDA GPU machine and it's enabled. I'm using Anaconda. How to fix?

==========================
Collecting package metadata (repodata.json): done
Solving environment: failed

ResolvePackageNotFound:

  • libxcb=1.14
  • dbus=1.13.18
  • libstdcxx-ng=9.3.0
  • gnutls=3.6.15
  • ld_impl_linux-64=2.35.1
  • libgomp=9.3.0
  • nettle=3.7.3
  • gstreamer=1.14.0
  • gst-plugins-base=1.14.0
  • gmp=6.2.1
  • libunistring=0.9.10
  • ncurses=6.2
  • _openmp_mutex=4.5
  • lame=3.100
  • openh264=2.1.0
  • readline=8.1
  • libuuid=1.0.3
  • libtasn1=4.16.0
  • libidn2=2.3.2
  • libgcc-ng=9.3.0
@ojmichel
Copy link

ojmichel commented Dec 7, 2021

What version of CUDA are you using?

@bibyts
Copy link
Author

bibyts commented Dec 7, 2021

CUDA Version: 11.4

This is what I get from system info when running numba -s

CUDA Information
CUDA Device Initialized : True
CUDA Driver Version : 11040
CUDA Runtime Version : 11010

@ojmichel
Copy link

ojmichel commented Dec 7, 2021

A new yml file has been pushed. Can you try that one?

@bibyts
Copy link
Author

bibyts commented Dec 7, 2021

Thanks! text2mesh installed but I'm stuck at figuring out how to run the shell script .sh from python command line in Anaconda.

These instructions: Run examples
Call the below shell scripts to generate example styles.

I googled this and it sounds like I need to somehow create a subprocess to run shell script .sh file?

@bibyts
Copy link
Author

bibyts commented Dec 7, 2021

Trying to run: run_alien_cobble.sh

cobblestone alien

./demo/run_alien_cobble.sh

@ranahanocka
Copy link
Contributor

Try running bash ./demo/run_alien_cobble.sh in a terminal

@bibyts
Copy link
Author

bibyts commented Dec 7, 2021

I did that and got this error message:
./demo/run_alien_cobble.sh: line 1: python: command not found

@ranahanocka
Copy link
Contributor

did you activate conda env first? conda activate text2mesh

@bibyts
Copy link
Author

bibyts commented Dec 8, 2021

Yes, but still getting that error for some reason when I run: bash ./demo/run_alien_cobble.sh

message:
./demo/run_alien_cobble.sh: line 1: python: command not found

@factoryofthesun
Copy link
Contributor

Can you show the output when you call conda list python? Can you also try deactivating and then activating the environment again?

conda deactivate
conda activate text2mesh

@bibyts
Copy link
Author

bibyts commented Dec 8, 2021

(text2mesh) C:\Users\Dan\text2mesh-main>conda list python

packages in environment at C:\Users\Dan\anaconda3\envs\text2mesh:

Name Version Build Channel

ipython 7.30.1 py37h03978a9_0 conda-forge
ipython_genutils 0.2.0 py_1 conda-forge
python 3.7.12 h7840368_100_cpython conda-forge
python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge
python_abi 3.7 2_cp37m conda-forge

@factoryofthesun
Copy link
Contributor

@bibyts
Copy link
Author

bibyts commented Dec 8, 2021

Thanks. I will look into these. I got a Pip subprocess error when I originally ran:
conda env create --file text2mesh.yml

I think either my kaolin library isn't working right or my python installation is messed up. I did update the python system variables for Anaconda3.

Any recs for an environment to try this in other than Anaconda python terminal on Windows?

@factoryofthesun
Copy link
Contributor

Yeah I'm not sure if you've tried just running the Python interpreter through your conda environment but my hunch is that something about your system build is causing problems. I've been able to run the code fine in Git Bash on Windows 10/11 so maybe try that?

@Pratik-Behera
Copy link

guys did you find solution for this? @factoryofthesun @bibyts

@factoryofthesun
Copy link
Contributor

Are you experiencing a similar issue @Pratik-Behera? I haven't heard back from @bibyts.

@Pratik-Behera
Copy link

Yes still experiencing the same issue @bibyts

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

5 participants