pymc-devs / pymc-devs/pytensor

BUG: Unable to install pytensor as a package with pip install -e

Open
#947 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
644
Forks
208
Avg merge
2d 14h
Merged PRs (30d)
16

Description

Describe the issue:

I installed pytensor using pip install -e <path_to_my_fork> but i keep running into errors after that and cant even do simple imports. Everything seems to be failing because of
image

Reproducable code example:
import pytensor
print(pytensor.__version__)
Error message:
AttributeError: module 'pytensor' has no attribute '__version__'
PyTensor version information:

Can't check version

Context for the issue:

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported pip install -e <path_to_my_fork> installation, then run the provided import pytensor and version check. No source file or test is named in the issue, so identify the packaging entry point responsible for the editable install and confirm that the installed package exposes __version__ without import errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.