question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Entrypoint compas_rpc seems to have hardcoded python path when installed from conda

See original GitHub issue

Describe the bug

Entrypoint compas_rpc (from entrypoints in setup.py) gives following output using conda installed compas:

(t2fofin) C:\Users\a\repos>compas_rpc start
Fatal error in launcher: Unable to create process using '"d:\bld\compas_1585547578076\_h_env\python.exe"  "C:\tools\miniconda3\envs\t2fofin\Scripts\compas_rpc.exe" start': The system cannot find the file specified.

To Reproduce Steps to reproduce the behavior:

  1. From anaconda env with compas 0.15.5
  2. compas_rpc start

Expected behavior This works fine in my virtualenv using editable pip installation.

Desktop (please complete the following information):

  • OS: Windows 10
  • Python version 3.8
  • Python package manager conda

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
gonzalocasascommented, Apr 8, 2020

Fixed, it was not a bug in conda-build, it was a problem in our feedstock (recipe) for compas.

1reaction
gonzalocasascommented, Apr 3, 2020

Thanks, I’ll verify what’s going on.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[python] console script entry points not working ... - GitHub
Trying to run the entry point script returns an error. ... points can end up in with some paths hardcoded from the conda-build...
Read more >
How to I create an entry point to a Conda package/application?
I have successfully run conda-build to wrap up my code into a .tar.bz2 file. I created a new conda environment, and tested installing...
Read more >
Troubleshooting — conda 22.11.1.post16+ce4e810c9 ...
Conda reports that a package is installed, but it appears not to be ... For Python packages, you have set the PYTHONPATH or...
Read more >
Add Python packages using the conda package manager
The following steps are an example of how to set up a Python environment and install packages to a local directory using conda....
Read more >
Installation — Numba 0.50.1 documentation
The easiest way to install Numba and get updates is by using conda , a cross-platform package manager and software distribution maintained by...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found